@polyester/sdk 0.32.2-devnet-20261103155212 → 0.33.0-devnet-20261104141024
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 +11 -1
- package/dist/core-client.d.ts +1 -1
- package/dist/gen/auth/v1/auth_pb.js +1 -1
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +1 -1
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +17 -0
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +3 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +6 -4
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +228 -12
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js +23 -4
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/index.js +3 -3
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +16 -121
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +5 -23
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +24 -21
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +69 -26
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +26 -9
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +38 -15
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +21 -8
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.js +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.js.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +3 -2
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +4 -3
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +66 -28
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +35 -15
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.d.ts +4 -4
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/changelog/changelog.schemas.d.ts +17 -17
- package/dist/services/fees/fees.d.ts +1 -1
- package/dist/services/fees/fees.js +1 -1
- package/dist/services/fees/fees.js.map +1 -1
- package/dist/services/fees/fees.schemas.d.ts +172 -1
- package/dist/services/fees/fees.schemas.d.ts.map +1 -1
- package/dist/services/fees/fees.schemas.js +38 -1
- package/dist/services/fees/fees.schemas.js.map +1 -1
- package/dist/services/fees/fees.types.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +13 -13
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +148 -148
- package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
- package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +34 -34
- package/dist/services/orders/orders-input.schemas.d.ts +3 -3
- package/dist/services/orders/orders-output.schemas.d.ts +18 -18
- package/dist/services/orders/orders.codecs.js +1 -0
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +3 -3
- package/dist/services/subaccounts/index.d.ts +2 -2
- package/dist/services/subaccounts/subaccounts.d.ts +11 -3
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +14 -4
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +11 -6
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.js +5 -1
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.types.d.ts +2 -2
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +1 -1
- package/dist/services/transfers/transfers.js +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +22 -22
- package/dist/services/triggers/triggers.codecs.js +1 -0
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/wired-services.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private_ws_pb.js","names":[],"sources":["../../../../src/gen/privatews/v1/private_ws_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file privatews/v1/private_ws.proto (package privatews.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { ErrorCode } from \"../../orders/v1/orders_pb.js\";\nimport { file_orders_v1_orders } from \"../../orders/v1/orders_pb.js\";\nimport type { CancelReason, Order } from \"../../orders/v1/orders_read_pb.js\";\nimport { file_orders_v1_orders_read } from \"../../orders/v1/orders_read_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file privatews/v1/private_ws.proto.\n */\nexport const file_privatews_v1_private_ws: GenFile = /*@__PURE__*/\n fileDesc(\"Ch1wcml2YXRld3MvdjEvcHJpdmF0ZV93cy5wcm90bxIMcHJpdmF0ZXdzLnYxIp4CCg1DbGllbnRNZXNzYWdlEiIKBGF1dGgYASABKAsyEi5wcml2YXRld3MudjEuQXV0aEgAEiwKCXN1YnNjcmliZRgCIAEoCzIXLnByaXZhdGV3cy52MS5TdWJzY3JpYmVIABI7ChFzdWJzY3JpYmVfcmVmcmVzaBgDIAEoCzIeLnByaXZhdGV3cy52MS5TdWJzY3JpYmVSZWZyZXNoSAASMAoLdW5zdWJzY3JpYmUYBCABKAsyGS5wcml2YXRld3MudjEuVW5zdWJzY3JpYmVIABIiCgRzeW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QgASgDEhMKC3ByaWNlX3RpY2tzGAUgASgDIjIKBFJvbGUSFAoQUk9MRV9VTlNQRUNJRklFRBAAEgkKBU1BS0VSEAESCQoFVEFLRVIQAiKoAgoOQ29tbWFuZE91dGNvbWUSLwoEa2luZBgBIAEoDjIhLnByaXZhdGV3cy52MS5Db21tYW5kT3V0Y29tZS5LaW5kEhAKCG9yZGVyX2lkGAIgASgGEhQKDG5ld19vcmRlcl9pZBgDIAEoBhIXCg9jbGllbnRfb3JkZXJfaWQYBCABKAkSJAoGcmVhc29uGAUgASgOMhQub3JkZXJzLnYxLkVycm9yQ29kZSJ+CgRLaW5kEhQKEEtJTkRfVU5TUEVDSUZJRUQQABISCg5BTUVORF9SRUpFQ1RFRBABEhMKD0NBTkNFTF9SRUpFQ1RFRBACEhQKEFJFUExBQ0VfUkVKRUNURUQQAxIMCghSRUpFQ1RFRBAEEhMKD0NBTkNFTF9BTExfRE9ORRAFKi4KB0NoYW5uZWwSFwoTQ0hBTk5FTF9VTlNQRUNJRklFRBAAEgoKBk9SREVSUxABKpYBChFVbmF2YWlsYWJsZVJlYXNvbhIiCh5VTkFWQUlMQUJMRV9SRUFTT05fVU5TUEVDSUZJRUQQABIPCgtWSUVXX0JFSElORBABEg0KCU5PVF9SRUFEWRACEgwKCEZBSUxPVkVSEAMSGAoUQk9VTkRBUllfVU5BVkFJTEFCTEUQBBIVChFPUkRFUl9VTkFWQUlMQUJMRRAFQkZaRGdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vcHJpdmF0ZXdzL3YxO3ByaXZhdGV3c3YxYgZwcm90bzM=\", [file_orders_v1_orders, file_orders_v1_orders_read]);\n\n/**\n * ClientMessage is one frame a client sends on the private WebSocket,\n * `GET /v1/ws/private`, which streams the client's own orders.\n *\n * Encoding: the client offers one WebSocket subprotocol.\n * `polyester.v1.proto` (the default when none is offered) sends one binary\n * protobuf message per frame. `polyester.v1.json` sends one text frame of\n * the message's canonical JSON form, with lowerCamelCase field names and\n * 64-bit integers as strings. A frame of the other encoding closes the\n * connection with code 4400.\n *\n * Authentication: the first frame is an Auth with the connect token from\n * `GET /v1/rt/token`, within 5 seconds. Each account subscription carries a\n * subscribe token from\n * `GET /v1/rt/subscribe?channel=private:spot:orders:<account>`, where access\n * to the account is checked. `<account>` is the account's public ID written\n * in base58: its integer value in the Bitcoin alphabet\n * (`123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz`), most\n * significant digit first, with no padding; the same string the REST API\n * shows for the account.\n *\n * @generated from message privatews.v1.ClientMessage\n */\nexport type ClientMessage = Message<\"privatews.v1.ClientMessage\"> & {\n /**\n * Exactly one operation.\n *\n * @generated from oneof privatews.v1.ClientMessage.op\n */\n op: {\n /**\n * Authenticates the connection, or refreshes its token.\n *\n * @generated from field: privatews.v1.Auth auth = 1;\n */\n value: Auth;\n case: \"auth\";\n } | {\n /**\n * Subscribes one account's orders.\n *\n * @generated from field: privatews.v1.Subscribe subscribe = 2;\n */\n value: Subscribe;\n case: \"subscribe\";\n } | {\n /**\n * Renews a subscription's authorization before its token expires.\n *\n * @generated from field: privatews.v1.SubscribeRefresh subscribe_refresh = 3;\n */\n value: SubscribeRefresh;\n case: \"subscribeRefresh\";\n } | {\n /**\n * Ends a subscription.\n *\n * @generated from field: privatews.v1.Unsubscribe unsubscribe = 4;\n */\n value: Unsubscribe;\n case: \"unsubscribe\";\n } | {\n /**\n * Asks a subscription to confirm it reflects every acknowledgement given\n * before the request.\n *\n * @generated from field: privatews.v1.Sync sync = 5;\n */\n value: Sync;\n case: \"sync\";\n } | {\n /**\n * Liveness request, answered with Pong.\n *\n * @generated from field: privatews.v1.Ping ping = 6;\n */\n value: Ping;\n case: \"ping\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message privatews.v1.ClientMessage.\n * Use `create(ClientMessageSchema)` to create a new message.\n */\nexport const ClientMessageSchema: GenMessage<ClientMessage> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 0);\n\n/**\n * Auth carries a realtime connect token.\n *\n * @generated from message privatews.v1.Auth\n */\nexport type Auth = Message<\"privatews.v1.Auth\"> & {\n /**\n * The connect token from `GET /v1/rt/token`, valid for 5 minutes. Send a\n * new one for the same user before it expires to keep the connection open.\n *\n * @generated from field: string token = 1;\n */\n token: string;\n};\n\n/**\n * Describes the message privatews.v1.Auth.\n * Use `create(AuthSchema)` to create a new message.\n */\nexport const AuthSchema: GenMessage<Auth> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 1);\n\n/**\n * Subscribe subscribes one account's orders.\n *\n * @generated from message privatews.v1.Subscribe\n */\nexport type Subscribe = Message<\"privatews.v1.Subscribe\"> & {\n /**\n * Client request ID, echoed in Subscribed or RequestError.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * What to stream; required.\n *\n * @generated from field: privatews.v1.Channel channel = 2;\n */\n channel: Channel;\n\n /**\n * The sub-account's public ID, or the root account's. The subscribe token\n * must be for exactly this account's channel,\n * `private:spot:orders:<account>`, with the ID in base58 as ClientMessage\n * describes.\n *\n * @generated from field: fixed64 account = 3;\n */\n account: bigint;\n\n /**\n * The subscribe token from\n * `GET /v1/rt/subscribe?channel=private:spot:orders:<account>`, valid for\n * 1 minute.\n *\n * @generated from field: string token = 4;\n */\n token: string;\n\n /**\n * Optional resume position: the last cursor the client applied, from\n * SnapshotEnd, Unit or Covered. Empty for a fresh snapshot.\n *\n * @generated from field: string cursor = 5;\n */\n cursor: string;\n};\n\n/**\n * Describes the message privatews.v1.Subscribe.\n * Use `create(SubscribeSchema)` to create a new message.\n */\nexport const SubscribeSchema: GenMessage<Subscribe> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 2);\n\n/**\n * SubscribeRefresh renews a subscription's authorization.\n *\n * @generated from message privatews.v1.SubscribeRefresh\n */\nexport type SubscribeRefresh = Message<\"privatews.v1.SubscribeRefresh\"> & {\n /**\n * Client request ID, echoed in SubscribeRefreshed or RequestError.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The subscription.\n *\n * @generated from field: string sub = 2;\n */\n sub: string;\n\n /**\n * A fresh subscribe token for the same account.\n *\n * @generated from field: string token = 3;\n */\n token: string;\n};\n\n/**\n * Describes the message privatews.v1.SubscribeRefresh.\n * Use `create(SubscribeRefreshSchema)` to create a new message.\n */\nexport const SubscribeRefreshSchema: GenMessage<SubscribeRefresh> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 3);\n\n/**\n * Unsubscribe ends a subscription.\n *\n * @generated from message privatews.v1.Unsubscribe\n */\nexport type Unsubscribe = Message<\"privatews.v1.Unsubscribe\"> & {\n /**\n * Client request ID, echoed in Unsubscribed or RequestError.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The subscription.\n *\n * @generated from field: string sub = 2;\n */\n sub: string;\n};\n\n/**\n * Describes the message privatews.v1.Unsubscribe.\n * Use `create(UnsubscribeSchema)` to create a new message.\n */\nexport const UnsubscribeSchema: GenMessage<Unsubscribe> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 4);\n\n/**\n * Sync asks a subscription to catch up with every acknowledgement given\n * before the request.\n *\n * @generated from message privatews.v1.Sync\n */\nexport type Sync = Message<\"privatews.v1.Sync\"> & {\n /**\n * Client request ID, echoed in Synced or RequestError.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The subscription.\n *\n * @generated from field: string sub = 2;\n */\n sub: string;\n};\n\n/**\n * Describes the message privatews.v1.Sync.\n * Use `create(SyncSchema)` to create a new message.\n */\nexport const SyncSchema: GenMessage<Sync> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 5);\n\n/**\n * Ping is a liveness request.\n *\n * @generated from message privatews.v1.Ping\n */\nexport type Ping = Message<\"privatews.v1.Ping\"> & {\n /**\n * Client request ID, echoed in Pong.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n};\n\n/**\n * Describes the message privatews.v1.Ping.\n * Use `create(PingSchema)` to create a new message.\n */\nexport const PingSchema: GenMessage<Ping> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 6);\n\n/**\n * ServerMessage is one frame the server sends.\n *\n * Sequence: each frame of a subscription's stream (SnapshotBegin,\n * SnapshotPage, SnapshotEnd, Unit, Covered, Ready, Synced, ResyncRequired,\n * Unavailable, Available) carries the subscription's `sub` and a `seq` that\n * starts at 1 and increases by exactly 1 per such frame. On a gap or a\n * repeat, drop the subscription and subscribe again. Subscribed,\n * SubscribeRefreshed, Unsubscribed, SubscribeExpiring, and a RequestError\n * about a subscription carry its `sub` with `seq` 0. Authenticated,\n * TokenExpiring, Heartbeat, Pong, and a RequestError about no subscription\n * carry neither.\n *\n * Compatibility: skip a frame kind you do not know, but still count its\n * `seq`. JSON clients ignore unknown fields and enum names.\n *\n * Close codes: 1001 the server is draining (reconnect, then resubscribe\n * with cursors); 4400 a malformed frame, an unknown operation, or a frame\n * of the other encoding; 4401 the connect token expired without a refresh;\n * 4403 a bad connect token, another user's, or none within 5 seconds; 4408\n * the client did not read its frames fast enough (reconnect, then\n * resubscribe with cursors). Reconnects should back off from 0.5 seconds,\n * doubling to 10 seconds, with jitter.\n *\n * @generated from message privatews.v1.ServerMessage\n */\nexport type ServerMessage = Message<\"privatews.v1.ServerMessage\"> & {\n /**\n * The subscription the frame concerns; empty for a connection-wide frame.\n *\n * @generated from field: string sub = 1;\n */\n sub: string;\n\n /**\n * The frame's position in the subscription's stream; 0 for a frame\n * outside it.\n *\n * @generated from field: uint64 seq = 2;\n */\n seq: bigint;\n\n /**\n * Exactly one frame.\n *\n * @generated from oneof privatews.v1.ServerMessage.frame\n */\n frame: {\n /**\n * An Auth was accepted.\n *\n * @generated from field: privatews.v1.Authenticated authenticated = 10;\n */\n value: Authenticated;\n case: \"authenticated\";\n } | {\n /**\n * The connect token expires in 30 seconds.\n *\n * @generated from field: privatews.v1.TokenExpiring token_expiring = 11;\n */\n value: TokenExpiring;\n case: \"tokenExpiring\";\n } | {\n /**\n * A Subscribe was accepted.\n *\n * @generated from field: privatews.v1.Subscribed subscribed = 12;\n */\n value: Subscribed;\n case: \"subscribed\";\n } | {\n /**\n * A SubscribeRefresh was accepted.\n *\n * @generated from field: privatews.v1.SubscribeRefreshed subscribe_refreshed = 13;\n */\n value: SubscribeRefreshed;\n case: \"subscribeRefreshed\";\n } | {\n /**\n * A subscription ended.\n *\n * @generated from field: privatews.v1.Unsubscribed unsubscribed = 14;\n */\n value: Unsubscribed;\n case: \"unsubscribed\";\n } | {\n /**\n * A subscription's token expires in 15 seconds.\n *\n * @generated from field: privatews.v1.SubscribeExpiring subscribe_expiring = 15;\n */\n value: SubscribeExpiring;\n case: \"subscribeExpiring\";\n } | {\n /**\n * A snapshot begins.\n *\n * @generated from field: privatews.v1.SnapshotBegin snapshot_begin = 16;\n */\n value: SnapshotBegin;\n case: \"snapshotBegin\";\n } | {\n /**\n * A page of a snapshot.\n *\n * @generated from field: privatews.v1.SnapshotPage snapshot_page = 17;\n */\n value: SnapshotPage;\n case: \"snapshotPage\";\n } | {\n /**\n * A snapshot ends; install it.\n *\n * @generated from field: privatews.v1.SnapshotEnd snapshot_end = 18;\n */\n value: SnapshotEnd;\n case: \"snapshotEnd\";\n } | {\n /**\n * One change to the account.\n *\n * @generated from field: privatews.v1.Unit unit = 19;\n */\n value: Unit;\n case: \"unit\";\n } | {\n /**\n * The account moved on with no change.\n *\n * @generated from field: privatews.v1.Covered covered = 20;\n */\n value: Covered;\n case: \"covered\";\n } | {\n /**\n * The subscription reflects every acknowledgement given before it\n * subscribed.\n *\n * @generated from field: privatews.v1.Ready ready = 21;\n */\n value: Ready;\n case: \"ready\";\n } | {\n /**\n * A Sync was satisfied.\n *\n * @generated from field: privatews.v1.Synced synced = 22;\n */\n value: Synced;\n case: \"synced\";\n } | {\n /**\n * The subscription's state is replaced by the snapshot that follows.\n *\n * @generated from field: privatews.v1.ResyncRequired resync_required = 23;\n */\n value: ResyncRequired;\n case: \"resyncRequired\";\n } | {\n /**\n * The account's live view, or some of its orders, is not current for\n * now.\n *\n * @generated from field: privatews.v1.Unavailable unavailable = 24;\n */\n value: Unavailable;\n case: \"unavailable\";\n } | {\n /**\n * The account's live view is current again after Unavailable.\n *\n * @generated from field: privatews.v1.Available available = 25;\n */\n value: Available;\n case: \"available\";\n } | {\n /**\n * A request failed.\n *\n * @generated from field: privatews.v1.RequestError error = 26;\n */\n value: RequestError;\n case: \"error\";\n } | {\n /**\n * Liveness signal, sent every second.\n *\n * @generated from field: privatews.v1.Heartbeat heartbeat = 27;\n */\n value: Heartbeat;\n case: \"heartbeat\";\n } | {\n /**\n * Answer to Ping.\n *\n * @generated from field: privatews.v1.Pong pong = 28;\n */\n value: Pong;\n case: \"pong\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message privatews.v1.ServerMessage.\n * Use `create(ServerMessageSchema)` to create a new message.\n */\nexport const ServerMessageSchema: GenMessage<ServerMessage> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 7);\n\n/**\n * Authenticated confirms an Auth.\n *\n * @generated from message privatews.v1.Authenticated\n */\nexport type Authenticated = Message<\"privatews.v1.Authenticated\"> & {\n /**\n * When the connect token expires, seconds since epoch (UTC).\n *\n * @generated from field: int64 expires_ts_sec = 1;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.Authenticated.\n * Use `create(AuthenticatedSchema)` to create a new message.\n */\nexport const AuthenticatedSchema: GenMessage<Authenticated> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 8);\n\n/**\n * TokenExpiring warns that the connect token expires soon. Without a new\n * Auth by then, the connection closes with code 4401.\n *\n * @generated from message privatews.v1.TokenExpiring\n */\nexport type TokenExpiring = Message<\"privatews.v1.TokenExpiring\"> & {\n /**\n * When the connect token expires, seconds since epoch (UTC).\n *\n * @generated from field: int64 expires_ts_sec = 1;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.TokenExpiring.\n * Use `create(TokenExpiringSchema)` to create a new message.\n */\nexport const TokenExpiringSchema: GenMessage<TokenExpiring> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 9);\n\n/**\n * Subscribed confirms a Subscribe; the frame's `sub` names the new\n * subscription. A snapshot, or the units after the resume cursor, follow.\n *\n * @generated from message privatews.v1.Subscribed\n */\nexport type Subscribed = Message<\"privatews.v1.Subscribed\"> & {\n /**\n * The request ID.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The account's public ID.\n *\n * @generated from field: fixed64 account = 2;\n */\n account: bigint;\n\n /**\n * When the subscribe token expires, seconds since epoch (UTC). Send a\n * SubscribeRefresh before then.\n *\n * @generated from field: int64 expires_ts_sec = 3;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.Subscribed.\n * Use `create(SubscribedSchema)` to create a new message.\n */\nexport const SubscribedSchema: GenMessage<Subscribed> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 10);\n\n/**\n * SubscribeRefreshed confirms a SubscribeRefresh; the frame's `sub` names\n * the subscription. A refused refresh is a RequestError FORBIDDEN with the\n * refresh's `id`, and the subscription keeps its current expiry.\n *\n * @generated from message privatews.v1.SubscribeRefreshed\n */\nexport type SubscribeRefreshed = Message<\"privatews.v1.SubscribeRefreshed\"> & {\n /**\n * The request ID.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * When the new subscribe token expires, seconds since epoch (UTC).\n *\n * @generated from field: int64 expires_ts_sec = 2;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.SubscribeRefreshed.\n * Use `create(SubscribeRefreshedSchema)` to create a new message.\n */\nexport const SubscribeRefreshedSchema: GenMessage<SubscribeRefreshed> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 11);\n\n/**\n * Unsubscribed says a subscription ended. The connection stays open.\n *\n * @generated from message privatews.v1.Unsubscribed\n */\nexport type Unsubscribed = Message<\"privatews.v1.Unsubscribed\"> & {\n /**\n * The request ID, when the client asked.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * Why it ended.\n *\n * @generated from field: privatews.v1.Unsubscribed.Reason reason = 2;\n */\n reason: Unsubscribed_Reason;\n};\n\n/**\n * Describes the message privatews.v1.Unsubscribed.\n * Use `create(UnsubscribedSchema)` to create a new message.\n */\nexport const UnsubscribedSchema: GenMessage<Unsubscribed> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 12);\n\n/**\n * Why a subscription ended.\n *\n * @generated from enum privatews.v1.Unsubscribed.Reason\n */\nexport enum Unsubscribed_Reason {\n /**\n * Not set.\n *\n * @generated from enum value: REASON_UNSPECIFIED = 0;\n */\n REASON_UNSPECIFIED = 0,\n\n /**\n * The client asked with Unsubscribe.\n *\n * @generated from enum value: REQUESTED = 1;\n */\n REQUESTED = 1,\n\n /**\n * Its token expired without a SubscribeRefresh. Subscribe again with a\n * fresh token.\n *\n * @generated from enum value: TOKEN_EXPIRED = 2;\n */\n TOKEN_EXPIRED = 2,\n}\n\n/**\n * Describes the enum privatews.v1.Unsubscribed.Reason.\n */\nexport const Unsubscribed_ReasonSchema: GenEnum<Unsubscribed_Reason> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 12, 0);\n\n/**\n * SubscribeExpiring warns that a subscription's token expires soon.\n *\n * @generated from message privatews.v1.SubscribeExpiring\n */\nexport type SubscribeExpiring = Message<\"privatews.v1.SubscribeExpiring\"> & {\n /**\n * When its token expires, seconds since epoch (UTC).\n *\n * @generated from field: int64 expires_ts_sec = 1;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.SubscribeExpiring.\n * Use `create(SubscribeExpiringSchema)` to create a new message.\n */\nexport const SubscribeExpiringSchema: GenMessage<SubscribeExpiring> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 13);\n\n/**\n * SnapshotBegin starts a snapshot. Stage its pages and install them\n * atomically at SnapshotEnd.\n *\n * @generated from message privatews.v1.SnapshotBegin\n */\nexport type SnapshotBegin = Message<\"privatews.v1.SnapshotBegin\"> & {\n /**\n * The account history's generation. A new value means the account's\n * history restarted.\n *\n * @generated from field: uint64 epoch = 1;\n */\n epoch: bigint;\n};\n\n/**\n * Describes the message privatews.v1.SnapshotBegin.\n * Use `create(SnapshotBeginSchema)` to create a new message.\n */\nexport const SnapshotBeginSchema: GenMessage<SnapshotBegin> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 14);\n\n/**\n * SnapshotPage carries up to 256 of a snapshot's orders, ascending by\n * order ID across pages.\n *\n * @generated from message privatews.v1.SnapshotPage\n */\nexport type SnapshotPage = Message<\"privatews.v1.SnapshotPage\"> & {\n /**\n * Every order the live view holds for the account: open orders, orders\n * accepted but not yet on the book, and recently ended orders still\n * retained. Each is complete, with its attached risk in full.\n *\n * @generated from field: repeated orders.v1.Order orders = 1;\n */\n orders: Order[];\n};\n\n/**\n * Describes the message privatews.v1.SnapshotPage.\n * Use `create(SnapshotPageSchema)` to create a new message.\n */\nexport const SnapshotPageSchema: GenMessage<SnapshotPage> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 15);\n\n/**\n * SnapshotEnd ends a snapshot.\n *\n * @generated from message privatews.v1.SnapshotEnd\n */\nexport type SnapshotEnd = Message<\"privatews.v1.SnapshotEnd\"> & {\n /**\n * Opaque resume cursor at the snapshot's position.\n *\n * @generated from field: string cursor = 1;\n */\n cursor: string;\n\n /**\n * The number of orders in the snapshot's pages.\n *\n * @generated from field: uint32 count = 2;\n */\n count: number;\n\n /**\n * A checksum of the snapshot, for diagnostics.\n *\n * @generated from field: fixed64 digest = 3;\n */\n digest: bigint;\n};\n\n/**\n * Describes the message privatews.v1.SnapshotEnd.\n * Use `create(SnapshotEndSchema)` to create a new message.\n */\nexport const SnapshotEndSchema: GenMessage<SnapshotEnd> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 16);\n\n/**\n * Unit is one change to the account, applied whole.\n *\n * @generated from message privatews.v1.Unit\n */\nexport type Unit = Message<\"privatews.v1.Unit\"> & {\n /**\n * The cursor the client held before this unit.\n *\n * @generated from field: string prev_cursor = 1;\n */\n prevCursor: string;\n\n /**\n * The resume cursor after this unit.\n *\n * @generated from field: string next_cursor = 2;\n */\n nextCursor: string;\n\n /**\n * Each changed order, complete, as it now is, with its attached risk in\n * full (every leg's policy and state). A higher `version` is newer, and an\n * equal `version` is the identical order, also across the Orders API's\n * reads; version 0 is an order accepted but not yet on the book. The reads\n * omit attached risk unless asked for it: an omission on request, never a\n * removal.\n *\n * @generated from field: repeated orders.v1.Order orders = 3;\n */\n orders: Order[];\n\n /**\n * Public IDs of orders that left the live view: ended orders now kept in\n * history, or orders that never got past admission. Not a cancellation.\n * An order that ends in this unit and leaves with it is also in `orders`,\n * with its final revision: apply `orders` first, then these removals.\n *\n * @generated from field: repeated fixed64 removed_order_ids = 4;\n */\n removedOrderIds: bigint[];\n\n /**\n * What caused the change, in order. Never coalesced.\n *\n * @generated from field: repeated privatews.v1.UnitEvent events = 5;\n */\n events: UnitEvent[];\n};\n\n/**\n * Describes the message privatews.v1.Unit.\n * Use `create(UnitSchema)` to create a new message.\n */\nexport const UnitSchema: GenMessage<Unit> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 17);\n\n/**\n * Covered says the account moved on with no change.\n *\n * @generated from message privatews.v1.Covered\n */\nexport type Covered = Message<\"privatews.v1.Covered\"> & {\n /**\n * The resume cursor at the new position.\n *\n * @generated from field: string cursor = 1;\n */\n cursor: string;\n};\n\n/**\n * Describes the message privatews.v1.Covered.\n * Use `create(CoveredSchema)` to create a new message.\n */\nexport const CoveredSchema: GenMessage<Covered> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 18);\n\n/**\n * Ready says the subscription reflects every acknowledgement given before\n * it subscribed, including every order read made before it.\n *\n * @generated from message privatews.v1.Ready\n */\nexport type Ready = Message<\"privatews.v1.Ready\"> & {\n};\n\n/**\n * Describes the message privatews.v1.Ready.\n * Use `create(ReadySchema)` to create a new message.\n */\nexport const ReadySchema: GenMessage<Ready> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 19);\n\n/**\n * Synced answers a Sync.\n *\n * @generated from message privatews.v1.Synced\n */\nexport type Synced = Message<\"privatews.v1.Synced\"> & {\n /**\n * The request ID.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n};\n\n/**\n * Describes the message privatews.v1.Synced.\n * Use `create(SyncedSchema)` to create a new message.\n */\nexport const SyncedSchema: GenMessage<Synced> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 20);\n\n/**\n * ResyncRequired replaces the subscription's state with the snapshot that\n * follows it.\n *\n * @generated from message privatews.v1.ResyncRequired\n */\nexport type ResyncRequired = Message<\"privatews.v1.ResyncRequired\"> & {\n /**\n * Why. The events between the old state and the snapshot are not\n * delivered: amend, cancel and rejection outcomes in between are lost, and\n * fills stay available from trade history.\n *\n * @generated from field: privatews.v1.ResyncRequired.Reason reason = 1;\n */\n reason: ResyncRequired_Reason;\n};\n\n/**\n * Describes the message privatews.v1.ResyncRequired.\n * Use `create(ResyncRequiredSchema)` to create a new message.\n */\nexport const ResyncRequiredSchema: GenMessage<ResyncRequired> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 21);\n\n/**\n * Why the state is replaced.\n *\n * @generated from enum privatews.v1.ResyncRequired.Reason\n */\nexport enum ResyncRequired_Reason {\n /**\n * Not set.\n *\n * @generated from enum value: REASON_UNSPECIFIED = 0;\n */\n REASON_UNSPECIFIED = 0,\n\n /**\n * The resume cursor is not from this connection's server or history.\n *\n * @generated from enum value: CURSOR_UNKNOWN = 1;\n */\n CURSOR_UNKNOWN = 1,\n\n /**\n * The resume cursor is older than the server's replay window (about the\n * last 1,024 changes or 30 seconds).\n *\n * @generated from enum value: CURSOR_EXPIRED = 2;\n */\n CURSOR_EXPIRED = 2,\n\n /**\n * The account's history restarted.\n *\n * @generated from enum value: HISTORY_RESET = 3;\n */\n HISTORY_RESET = 3,\n}\n\n/**\n * Describes the enum privatews.v1.ResyncRequired.Reason.\n */\nexport const ResyncRequired_ReasonSchema: GenEnum<ResyncRequired_Reason> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 21, 0);\n\n/**\n * Unavailable says the account's live view, or some of its orders, is not\n * current for now. Show what it names as stale until Available. A later\n * Unavailable replaces this one's reason and `order_ids`. The subscription\n * stays and always recovers by itself; the client does nothing.\n * Ready and Synced may still arrive meanwhile: they describe the position\n * already delivered, which is unchanged.\n *\n * @generated from message privatews.v1.Unavailable\n */\nexport type Unavailable = Message<\"privatews.v1.Unavailable\"> & {\n /**\n * Why.\n *\n * @generated from field: privatews.v1.UnavailableReason reason = 1;\n */\n reason: UnavailableReason;\n\n /**\n * For ORDER_UNAVAILABLE: the public IDs of the orders whose current state\n * is unknown, ascending. Empty for every other reason, which covers the\n * whole view.\n *\n * @generated from field: repeated fixed64 order_ids = 2;\n */\n orderIds: bigint[];\n};\n\n/**\n * Describes the message privatews.v1.Unavailable.\n * Use `create(UnavailableSchema)` to create a new message.\n */\nexport const UnavailableSchema: GenMessage<Unavailable> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 22);\n\n/**\n * Available says the account's live view is current again after\n * Unavailable: every order it holds shows its current state.\n *\n * @generated from message privatews.v1.Available\n */\nexport type Available = Message<\"privatews.v1.Available\"> & {\n};\n\n/**\n * Describes the message privatews.v1.Available.\n * Use `create(AvailableSchema)` to create a new message.\n */\nexport const AvailableSchema: GenMessage<Available> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 23);\n\n/**\n * RequestError answers a failed request. It does not close the connection.\n *\n * @generated from message privatews.v1.RequestError\n */\nexport type RequestError = Message<\"privatews.v1.RequestError\"> & {\n /**\n * The request ID, when the error answers a request.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The failure.\n *\n * @generated from field: privatews.v1.RequestError.Code code = 2;\n */\n code: RequestError_Code;\n\n /**\n * A human-readable explanation.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message privatews.v1.RequestError.\n * Use `create(RequestErrorSchema)` to create a new message.\n */\nexport const RequestErrorSchema: GenMessage<RequestError> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 24);\n\n/**\n * A request failure.\n *\n * @generated from enum privatews.v1.RequestError.Code\n */\nexport enum RequestError_Code {\n /**\n * Not set.\n *\n * @generated from enum value: CODE_UNSPECIFIED = 0;\n */\n CODE_UNSPECIFIED = 0,\n\n /**\n * The subscribe token does not authorize this account for this\n * connection.\n *\n * @generated from enum value: FORBIDDEN = 1;\n */\n FORBIDDEN = 1,\n\n /**\n * A field is missing or malformed.\n *\n * @generated from enum value: INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * No such subscription.\n *\n * @generated from enum value: SUBSCRIPTION_UNKNOWN = 3;\n */\n SUBSCRIPTION_UNKNOWN = 3,\n\n /**\n * The resume cursor cannot be read.\n *\n * @generated from enum value: CURSOR_INVALID = 4;\n */\n CURSOR_INVALID = 4,\n\n /**\n * The connection already holds 64 subscriptions.\n *\n * @generated from enum value: TOO_MANY_SUBSCRIPTIONS = 5;\n */\n TOO_MANY_SUBSCRIPTIONS = 5,\n\n /**\n * The account's live view did not catch up in time (Sync: 10 seconds).\n *\n * @generated from enum value: BEHIND = 6;\n */\n BEHIND = 6,\n}\n\n/**\n * Describes the enum privatews.v1.RequestError.Code.\n */\nexport const RequestError_CodeSchema: GenEnum<RequestError_Code> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 24, 0);\n\n/**\n * Heartbeat is sent every second. Treat the connection as stale after 3\n * seconds without one.\n *\n * @generated from message privatews.v1.Heartbeat\n */\nexport type Heartbeat = Message<\"privatews.v1.Heartbeat\"> & {\n /**\n * Server time, nanoseconds since epoch (UTC).\n *\n * @generated from field: int64 server_ts_ns = 1;\n */\n serverTsNs: bigint;\n};\n\n/**\n * Describes the message privatews.v1.Heartbeat.\n * Use `create(HeartbeatSchema)` to create a new message.\n */\nexport const HeartbeatSchema: GenMessage<Heartbeat> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 25);\n\n/**\n * Pong answers a Ping.\n *\n * @generated from message privatews.v1.Pong\n */\nexport type Pong = Message<\"privatews.v1.Pong\"> & {\n /**\n * The request ID.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n};\n\n/**\n * Describes the message privatews.v1.Pong.\n * Use `create(PongSchema)` to create a new message.\n */\nexport const PongSchema: GenMessage<Pong> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 26);\n\n/**\n * UnitEvent is what caused a change.\n *\n * @generated from message privatews.v1.UnitEvent\n */\nexport type UnitEvent = Message<\"privatews.v1.UnitEvent\"> & {\n /**\n * Exactly one kind.\n *\n * @generated from oneof privatews.v1.UnitEvent.kind\n */\n kind: {\n /**\n * Something happened to an order.\n *\n * @generated from field: privatews.v1.OrderEvent order = 1;\n */\n value: OrderEvent;\n case: \"order\";\n } | {\n /**\n * A command was answered without changing any order.\n *\n * @generated from field: privatews.v1.CommandOutcome outcome = 2;\n */\n value: CommandOutcome;\n case: \"outcome\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message privatews.v1.UnitEvent.\n * Use `create(UnitEventSchema)` to create a new message.\n */\nexport const UnitEventSchema: GenMessage<UnitEvent> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 27);\n\n/**\n * OrderEvent is something that happened to an order.\n *\n * @generated from message privatews.v1.OrderEvent\n */\nexport type OrderEvent = Message<\"privatews.v1.OrderEvent\"> & {\n /**\n * The order's public ID.\n *\n * @generated from field: fixed64 order_id = 1;\n */\n orderId: bigint;\n\n /**\n * The order's version after the event.\n *\n * @generated from field: uint32 version = 2;\n */\n version: number;\n\n /**\n * What happened.\n *\n * @generated from field: privatews.v1.OrderEvent.Kind kind = 3;\n */\n kind: OrderEvent_Kind;\n\n /**\n * For REJECTED: why the order was refused, as the order's reject_reason and\n * the Orders API's error for the same refusal. Not set otherwise; the JSON\n * encoding then omits it.\n *\n * @generated from field: orders.v1.ErrorCode reject_reason = 7;\n */\n rejectReason: ErrorCode;\n\n /**\n * For CANCELED, and for the REPLACED of the order a replace ended: why the\n * order ended, as the order's cancel_reason. Not set otherwise, including\n * the REPLACED that installs the successor; the JSON encoding then omits it.\n *\n * @generated from field: orders.v1.CancelReason cancel_reason = 8;\n */\n cancelReason: CancelReason;\n\n /**\n * For REPLACED: the successor's public ID; 0 otherwise.\n *\n * @generated from field: fixed64 replacement_order_id = 5;\n */\n replacementOrderId: bigint;\n\n /**\n * For FILLED: the fill.\n *\n * @generated from field: privatews.v1.Fill fill = 6;\n */\n fill?: Fill | undefined;\n};\n\n/**\n * Describes the message privatews.v1.OrderEvent.\n * Use `create(OrderEventSchema)` to create a new message.\n */\nexport const OrderEventSchema: GenMessage<OrderEvent> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 28);\n\n/**\n * What happened.\n *\n * @generated from enum privatews.v1.OrderEvent.Kind\n */\nexport enum OrderEvent_Kind {\n /**\n * Not set.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * The order, or an amend of it, was accepted.\n *\n * @generated from enum value: ACCEPTED = 1;\n */\n ACCEPTED = 1,\n\n /**\n * The order filled, partly or fully.\n *\n * @generated from enum value: FILLED = 2;\n */\n FILLED = 2,\n\n /**\n * The order ended without filling its remainder.\n *\n * @generated from enum value: CANCELED = 3;\n */\n CANCELED = 3,\n\n /**\n * The order was refused.\n *\n * @generated from enum value: REJECTED = 4;\n */\n REJECTED = 4,\n\n /**\n * A replace ended the order, or created it as the successor.\n *\n * @generated from enum value: REPLACED = 5;\n */\n REPLACED = 5,\n\n /**\n * One of the order's attached take-profit, stop-loss or trailing-stop\n * legs changed.\n *\n * @generated from enum value: ATTACHED_RISK = 6;\n */\n ATTACHED_RISK = 6,\n}\n\n/**\n * Describes the enum privatews.v1.OrderEvent.Kind.\n */\nexport const OrderEvent_KindSchema: GenEnum<OrderEvent_Kind> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 28, 0);\n\n/**\n * Fill is one fill of an order.\n *\n * @generated from message privatews.v1.Fill\n */\nexport type Fill = Message<\"privatews.v1.Fill\"> & {\n /**\n * The match's identifier, equal to the trade's match_id in the Orders\n * API's user trades.\n *\n * @generated from field: uint64 match_id = 1;\n */\n matchId: bigint;\n\n /**\n * The fill's ordinal among this order's fills, from 1.\n *\n * @generated from field: uint32 ordinal = 2;\n */\n ordinal: number;\n\n /**\n * Maker or taker.\n *\n * @generated from field: privatews.v1.Fill.Role role = 3;\n */\n role: Fill_Role;\n\n /**\n * Filled quantity, scaled by the pair's base_quantity_scale from\n * GetSpotConfig for the order's symbol_id.\n *\n * @generated from field: int64 qty_scaled = 4;\n */\n qtyScaled: bigint;\n\n /**\n * Fill price, in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 5;\n */\n priceTicks: bigint;\n};\n\n/**\n * Describes the message privatews.v1.Fill.\n * Use `create(FillSchema)` to create a new message.\n */\nexport const FillSchema: GenMessage<Fill> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 29);\n\n/**\n * Whether the order provided or took liquidity.\n *\n * @generated from enum privatews.v1.Fill.Role\n */\nexport enum Fill_Role {\n /**\n * Not set.\n *\n * @generated from enum value: ROLE_UNSPECIFIED = 0;\n */\n ROLE_UNSPECIFIED = 0,\n\n /**\n * The order was resting.\n *\n * @generated from enum value: MAKER = 1;\n */\n MAKER = 1,\n\n /**\n * The order took resting liquidity.\n *\n * @generated from enum value: TAKER = 2;\n */\n TAKER = 2,\n}\n\n/**\n * Describes the enum privatews.v1.Fill.Role.\n */\nexport const Fill_RoleSchema: GenEnum<Fill_Role> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 29, 0);\n\n/**\n * CommandOutcome answers a command that changed no order.\n *\n * @generated from message privatews.v1.CommandOutcome\n */\nexport type CommandOutcome = Message<\"privatews.v1.CommandOutcome\"> & {\n /**\n * The answer.\n *\n * @generated from field: privatews.v1.CommandOutcome.Kind kind = 1;\n */\n kind: CommandOutcome_Kind;\n\n /**\n * The command's order public ID; 0 for a cancel by criteria.\n *\n * @generated from field: fixed64 order_id = 2;\n */\n orderId: bigint;\n\n /**\n * A replace's successor public ID; 0 otherwise.\n *\n * @generated from field: fixed64 new_order_id = 3;\n */\n newOrderId: bigint;\n\n /**\n * The command's client order ID; empty when none.\n *\n * @generated from field: string client_order_id = 4;\n */\n clientOrderId: string;\n\n /**\n * The refusal, as the Orders API names the same refusal in its errors;\n * ERROR_CODE_UNSPECIFIED for CANCEL_ALL_DONE.\n *\n * @generated from field: orders.v1.ErrorCode reason = 5;\n */\n reason: ErrorCode;\n};\n\n/**\n * Describes the message privatews.v1.CommandOutcome.\n * Use `create(CommandOutcomeSchema)` to create a new message.\n */\nexport const CommandOutcomeSchema: GenMessage<CommandOutcome> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 30);\n\n/**\n * The answer.\n *\n * @generated from enum privatews.v1.CommandOutcome.Kind\n */\nexport enum CommandOutcome_Kind {\n /**\n * Not set.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * An amend was refused; the order is unchanged.\n *\n * @generated from enum value: AMEND_REJECTED = 1;\n */\n AMEND_REJECTED = 1,\n\n /**\n * A cancel was refused.\n *\n * @generated from enum value: CANCEL_REJECTED = 2;\n */\n CANCEL_REJECTED = 2,\n\n /**\n * A replace's successor was refused; the original order is unchanged.\n *\n * @generated from enum value: REPLACE_REJECTED = 3;\n */\n REPLACE_REJECTED = 3,\n\n /**\n * An order was refused before it existed, such as a duplicate.\n *\n * @generated from enum value: REJECTED = 4;\n */\n REJECTED = 4,\n\n /**\n * A cancel by criteria completed; its cancels came earlier as order\n * events. It names no request: with several cancels by criteria in\n * flight, a client cannot tell which one completed.\n *\n * @generated from enum value: CANCEL_ALL_DONE = 5;\n */\n CANCEL_ALL_DONE = 5,\n}\n\n/**\n * Describes the enum privatews.v1.CommandOutcome.Kind.\n */\nexport const CommandOutcome_KindSchema: GenEnum<CommandOutcome_Kind> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 30, 0);\n\n/**\n * Channel names what a subscription streams.\n *\n * @generated from enum privatews.v1.Channel\n */\nexport enum Channel {\n /**\n * Not set; refused.\n *\n * @generated from enum value: CHANNEL_UNSPECIFIED = 0;\n */\n CHANNEL_UNSPECIFIED = 0,\n\n /**\n * The account's orders.\n *\n * @generated from enum value: ORDERS = 1;\n */\n ORDERS = 1,\n}\n\n/**\n * Describes the enum privatews.v1.Channel.\n */\nexport const ChannelSchema: GenEnum<Channel> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 0);\n\n/**\n * UnavailableReason names why an account's live view is not current.\n *\n * @generated from enum privatews.v1.UnavailableReason\n */\nexport enum UnavailableReason {\n /**\n * Not set.\n *\n * @generated from enum value: UNAVAILABLE_REASON_UNSPECIFIED = 0;\n */\n UNAVAILABLE_REASON_UNSPECIFIED = 0,\n\n /**\n * The view is catching up with recent activity.\n *\n * @generated from enum value: VIEW_BEHIND = 1;\n */\n VIEW_BEHIND = 1,\n\n /**\n * The account's view is still loading.\n *\n * @generated from enum value: NOT_READY = 2;\n */\n NOT_READY = 2,\n\n /**\n * The service is failing over; the view resumes after it.\n *\n * @generated from enum value: FAILOVER = 3;\n */\n FAILOVER = 3,\n\n /**\n * The read fence could not be established for now.\n *\n * @generated from enum value: BOUNDARY_UNAVAILABLE = 4;\n */\n BOUNDARY_UNAVAILABLE = 4,\n\n /**\n * The current state of the orders that `order_ids` names is temporarily\n * unknown. Their rows, when the snapshot or a unit carried one, show an\n * earlier state; an order may have no row yet. The rest of the account's\n * view is current, and units keep arriving.\n *\n * @generated from enum value: ORDER_UNAVAILABLE = 5;\n */\n ORDER_UNAVAILABLE = 5,\n}\n\n/**\n * Describes the enum privatews.v1.UnavailableReason.\n */\nexport const UnavailableReasonSchema: GenEnum<UnavailableReason> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 1);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,MAAa,+BACX,uBAAS,g9KAAg9K,CAAC,uBAAuB,0BAA0B,CAAC;;;;;AAuF9gL,MAAa,sBACX,0BAAY,8BAA8B,CAAC;;;;;AAqB7C,MAAa,aACX,0BAAY,8BAA8B,CAAC;;;;;AAsD7C,MAAa,kBACX,0BAAY,8BAA8B,CAAC;;;;;AAkC7C,MAAa,yBACX,0BAAY,8BAA8B,CAAC;;;;;AA2B7C,MAAa,oBACX,0BAAY,8BAA8B,CAAC;;;;;AA4B7C,MAAa,aACX,0BAAY,8BAA8B,CAAC;;;;;AAoB7C,MAAa,aACX,0BAAY,8BAA8B,CAAC;;;;;AAkN7C,MAAa,sBACX,0BAAY,8BAA8B,CAAC;;;;;AAoB7C,MAAa,sBACX,0BAAY,8BAA8B,CAAC;;;;;AAqB7C,MAAa,sBACX,0BAAY,8BAA8B,CAAC;;;;;AAoC7C,MAAa,mBACX,0BAAY,8BAA8B,EAAE;;;;;AA6B9C,MAAa,2BACX,0BAAY,8BAA8B,EAAE;;;;;AA2B9C,MAAa,qBACX,0BAAY,8BAA8B,EAAE;;;;;;AAO9C,IAAY,sBAAL,yBAAA,qBAAA;;;;;;CAML,oBAAA,oBAAA,wBAAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,eAAA,KAAA;;;;;;;CAQA,oBAAA,oBAAA,mBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,4BACX,uBAAS,8BAA8B,IAAI,CAAC;;;;;AAoB9C,MAAa,0BACX,0BAAY,8BAA8B,EAAE;;;;;AAsB9C,MAAa,sBACX,0BAAY,8BAA8B,EAAE;;;;;AAuB9C,MAAa,qBACX,0BAAY,8BAA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AAKA,MAAa,gBACX,uBAAS,8BAA8B,CAAC;;;;;;AAO1C,IAAY,oBAAL,yBAAA,mBAAA;;;;;;CAML,kBAAA,kBAAA,oCAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,iBAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,eAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,cAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,0BAAA,KAAA;;;;;;;;;CAUA,kBAAA,kBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0BACX,uBAAS,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"private_ws_pb.js","names":[],"sources":["../../../../src/gen/privatews/v1/private_ws_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file privatews/v1/private_ws.proto (package privatews.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { ErrorCode } from \"../../orders/v1/orders_pb.js\";\nimport { file_orders_v1_orders } from \"../../orders/v1/orders_pb.js\";\nimport type { CancelReason, Order } from \"../../orders/v1/orders_read_pb.js\";\nimport { file_orders_v1_orders_read } from \"../../orders/v1/orders_read_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file privatews/v1/private_ws.proto.\n */\nexport const file_privatews_v1_private_ws: GenFile = /*@__PURE__*/\n fileDesc(\"Ch1wcml2YXRld3MvdjEvcHJpdmF0ZV93cy5wcm90bxIMcHJpdmF0ZXdzLnYxIp4CCg1DbGllbnRNZXNzYWdlEiIKBGF1dGgYASABKAsyEi5wcml2YXRld3MudjEuQXV0aEgAEiwKCXN1YnNjcmliZRgCIAEoCzIXLnByaXZhdGV3cy52MS5TdWJzY3JpYmVIABI7ChFzdWJzY3JpY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YXRjaF9pZBgBIAEoBBIPCgdvcmRpbmFsGAIgASgNEiUKBHJvbGUYAyABKA4yFy5wcml2YXRld3MudjEuRmlsbC5Sb2xlEhIKCnF0eV9zY2FsZWQYBCABKAMSEwoLcHJpY2VfdGlja3MYBSABKAMiMgoEUm9sZRIUChBST0xFX1VOU1BFQ0lGSUVEEAASCQoFTUFLRVIQARIJCgVUQUtFUhACIqgCCg5Db21tYW5kT3V0Y29tZRIvCgRraW5kGAEgASgOMiEucHJpdmF0ZXdzLnYxLkNvbW1hbmRPdXRjb21lLktpbmQSEAoIb3JkZXJfaWQYAiABKAYSFAoMbmV3X29yZGVyX2lkGAMgASgGEhcKD2NsaWVudF9vcmRlcl9pZBgEIAEoCRIkCgZyZWFzb24YBSABKA4yFC5vcmRlcnMudjEuRXJyb3JDb2RlIn4KBEtpbmQSFAoQS0lORF9VTlNQRUNJRklFRBAAEhIKDkFNRU5EX1JFSkVDVEVEEAESEwoPQ0FOQ0VMX1JFSkVDVEVEEAISFAoQUkVQTEFDRV9SRUpFQ1RFRBADEgwKCFJFSkVDVEVEEAQSEwoPQ0FOQ0VMX0FMTF9ET05FEAUqLgoHQ2hhbm5lbBIXChNDSEFOTkVMX1VOU1BFQ0lGSUVEEAASCgoGT1JERVJTEAEqlgEKEVVuYXZhaWxhYmxlUmVhc29uEiIKHlVOQVZBSUxBQkxFX1JFQVNPTl9VTlNQRUNJRklFRBAAEg8KC1ZJRVdfQkVISU5EEAESDQoJTk9UX1JFQURZEAISDAoIRkFJTE9WRVIQAxIYChRCT1VOREFSWV9VTkFWQUlMQUJMRRAEEhUKEU9SREVSX1VOQVZBSUxBQkxFEAVCRlpEZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9wcml2YXRld3MvdjE7cHJpdmF0ZXdzdjFiBnByb3RvMw==\", [file_orders_v1_orders, file_orders_v1_orders_read]);\n\n/**\n * ClientMessage is one frame a client sends on the private WebSocket,\n * `GET /v1/ws/private`, which streams the client's own orders.\n *\n * Encoding: the client offers one WebSocket subprotocol.\n * `polyester.v1.proto` (the default when none is offered) sends one binary\n * protobuf message per frame. `polyester.v1.json` sends one text frame of\n * the message's canonical JSON form, with lowerCamelCase field names and\n * 64-bit integers as strings. A frame of the other encoding closes the\n * connection with code 4400.\n *\n * Authentication: the first frame is an Auth with the connect token from\n * `GET /v1/rt/token`, within 5 seconds. Each account subscription carries a\n * subscribe token from\n * `GET /v1/rt/subscribe?channel=private:spot:orders:<account>`, where access\n * to the account is checked. `<account>` is the account's public ID written\n * in base58: its integer value in the Bitcoin alphabet\n * (`123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz`), most\n * significant digit first, with no padding; the same string the REST API\n * shows for the account.\n *\n * @generated from message privatews.v1.ClientMessage\n */\nexport type ClientMessage = Message<\"privatews.v1.ClientMessage\"> & {\n /**\n * Exactly one operation.\n *\n * @generated from oneof privatews.v1.ClientMessage.op\n */\n op: {\n /**\n * Authenticates the connection, or refreshes its token.\n *\n * @generated from field: privatews.v1.Auth auth = 1;\n */\n value: Auth;\n case: \"auth\";\n } | {\n /**\n * Subscribes one account's orders.\n *\n * @generated from field: privatews.v1.Subscribe subscribe = 2;\n */\n value: Subscribe;\n case: \"subscribe\";\n } | {\n /**\n * Renews a subscription's authorization before its token expires.\n *\n * @generated from field: privatews.v1.SubscribeRefresh subscribe_refresh = 3;\n */\n value: SubscribeRefresh;\n case: \"subscribeRefresh\";\n } | {\n /**\n * Ends a subscription.\n *\n * @generated from field: privatews.v1.Unsubscribe unsubscribe = 4;\n */\n value: Unsubscribe;\n case: \"unsubscribe\";\n } | {\n /**\n * Asks a subscription to confirm it reflects every acknowledgement given\n * before the request.\n *\n * @generated from field: privatews.v1.Sync sync = 5;\n */\n value: Sync;\n case: \"sync\";\n } | {\n /**\n * Liveness request, answered with Pong.\n *\n * @generated from field: privatews.v1.Ping ping = 6;\n */\n value: Ping;\n case: \"ping\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message privatews.v1.ClientMessage.\n * Use `create(ClientMessageSchema)` to create a new message.\n */\nexport const ClientMessageSchema: GenMessage<ClientMessage> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 0);\n\n/**\n * Auth carries a realtime connect token.\n *\n * @generated from message privatews.v1.Auth\n */\nexport type Auth = Message<\"privatews.v1.Auth\"> & {\n /**\n * The connect token from `GET /v1/rt/token`, valid for 5 minutes. Send a\n * new one for the same user before it expires to keep the connection open.\n *\n * @generated from field: string token = 1;\n */\n token: string;\n};\n\n/**\n * Describes the message privatews.v1.Auth.\n * Use `create(AuthSchema)` to create a new message.\n */\nexport const AuthSchema: GenMessage<Auth> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 1);\n\n/**\n * Subscribe subscribes one account's orders.\n *\n * @generated from message privatews.v1.Subscribe\n */\nexport type Subscribe = Message<\"privatews.v1.Subscribe\"> & {\n /**\n * Client request ID, echoed in Subscribed or RequestError.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * What to stream; required.\n *\n * @generated from field: privatews.v1.Channel channel = 2;\n */\n channel: Channel;\n\n /**\n * The sub-account's public ID, or the root account's. The subscribe token\n * must be for exactly this account's channel,\n * `private:spot:orders:<account>`, with the ID in base58 as ClientMessage\n * describes.\n *\n * @generated from field: fixed64 account = 3;\n */\n account: bigint;\n\n /**\n * The subscribe token from\n * `GET /v1/rt/subscribe?channel=private:spot:orders:<account>`, valid for\n * 1 minute.\n *\n * @generated from field: string token = 4;\n */\n token: string;\n\n /**\n * Optional resume position: the last cursor the client applied, from\n * SnapshotEnd, Unit or Covered. Empty for a fresh snapshot.\n *\n * @generated from field: string cursor = 5;\n */\n cursor: string;\n};\n\n/**\n * Describes the message privatews.v1.Subscribe.\n * Use `create(SubscribeSchema)` to create a new message.\n */\nexport const SubscribeSchema: GenMessage<Subscribe> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 2);\n\n/**\n * SubscribeRefresh renews a subscription's authorization.\n *\n * @generated from message privatews.v1.SubscribeRefresh\n */\nexport type SubscribeRefresh = Message<\"privatews.v1.SubscribeRefresh\"> & {\n /**\n * Client request ID, echoed in SubscribeRefreshed or RequestError.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The subscription.\n *\n * @generated from field: string sub = 2;\n */\n sub: string;\n\n /**\n * A fresh subscribe token for the same account.\n *\n * @generated from field: string token = 3;\n */\n token: string;\n};\n\n/**\n * Describes the message privatews.v1.SubscribeRefresh.\n * Use `create(SubscribeRefreshSchema)` to create a new message.\n */\nexport const SubscribeRefreshSchema: GenMessage<SubscribeRefresh> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 3);\n\n/**\n * Unsubscribe ends a subscription.\n *\n * @generated from message privatews.v1.Unsubscribe\n */\nexport type Unsubscribe = Message<\"privatews.v1.Unsubscribe\"> & {\n /**\n * Client request ID, echoed in Unsubscribed or RequestError.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The subscription.\n *\n * @generated from field: string sub = 2;\n */\n sub: string;\n};\n\n/**\n * Describes the message privatews.v1.Unsubscribe.\n * Use `create(UnsubscribeSchema)` to create a new message.\n */\nexport const UnsubscribeSchema: GenMessage<Unsubscribe> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 4);\n\n/**\n * Sync asks a subscription to catch up with every acknowledgement given\n * before the request.\n *\n * @generated from message privatews.v1.Sync\n */\nexport type Sync = Message<\"privatews.v1.Sync\"> & {\n /**\n * Client request ID, echoed in Synced or RequestError.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The subscription.\n *\n * @generated from field: string sub = 2;\n */\n sub: string;\n};\n\n/**\n * Describes the message privatews.v1.Sync.\n * Use `create(SyncSchema)` to create a new message.\n */\nexport const SyncSchema: GenMessage<Sync> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 5);\n\n/**\n * Ping is a liveness request.\n *\n * @generated from message privatews.v1.Ping\n */\nexport type Ping = Message<\"privatews.v1.Ping\"> & {\n /**\n * Client request ID, echoed in Pong.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n};\n\n/**\n * Describes the message privatews.v1.Ping.\n * Use `create(PingSchema)` to create a new message.\n */\nexport const PingSchema: GenMessage<Ping> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 6);\n\n/**\n * ServerMessage is one frame the server sends.\n *\n * Sequence: each frame of a subscription's stream (SnapshotBegin,\n * SnapshotPage, SnapshotEnd, Unit, Covered, Ready, Synced, ResyncRequired,\n * Unavailable, Available) carries the subscription's `sub` and a `seq` that\n * starts at 1 and increases by exactly 1 per such frame. On a gap or a\n * repeat, drop the subscription and subscribe again. Subscribed,\n * SubscribeRefreshed, Unsubscribed, SubscribeExpiring, and a RequestError\n * about a subscription carry its `sub` with `seq` 0. Authenticated,\n * TokenExpiring, Heartbeat, Pong, and a RequestError about no subscription\n * carry neither.\n *\n * Compatibility: skip a frame kind you do not know, but still count its\n * `seq`. JSON clients ignore unknown fields and enum names.\n *\n * Close codes: 1001 the server is draining (reconnect, then resubscribe\n * with cursors); 4400 a malformed frame, an unknown operation, or a frame\n * of the other encoding; 4401 the connect token expired without a refresh;\n * 4403 a bad connect token, another user's, or none within 5 seconds; 4408\n * the client did not read its frames fast enough (reconnect, then\n * resubscribe with cursors). Reconnects should back off from 0.5 seconds,\n * doubling to 10 seconds, with jitter.\n *\n * @generated from message privatews.v1.ServerMessage\n */\nexport type ServerMessage = Message<\"privatews.v1.ServerMessage\"> & {\n /**\n * The subscription the frame concerns; empty for a connection-wide frame.\n *\n * @generated from field: string sub = 1;\n */\n sub: string;\n\n /**\n * The frame's position in the subscription's stream; 0 for a frame\n * outside it.\n *\n * @generated from field: uint64 seq = 2;\n */\n seq: bigint;\n\n /**\n * Exactly one frame.\n *\n * @generated from oneof privatews.v1.ServerMessage.frame\n */\n frame: {\n /**\n * An Auth was accepted.\n *\n * @generated from field: privatews.v1.Authenticated authenticated = 10;\n */\n value: Authenticated;\n case: \"authenticated\";\n } | {\n /**\n * The connect token expires in 30 seconds.\n *\n * @generated from field: privatews.v1.TokenExpiring token_expiring = 11;\n */\n value: TokenExpiring;\n case: \"tokenExpiring\";\n } | {\n /**\n * A Subscribe was accepted.\n *\n * @generated from field: privatews.v1.Subscribed subscribed = 12;\n */\n value: Subscribed;\n case: \"subscribed\";\n } | {\n /**\n * A SubscribeRefresh was accepted.\n *\n * @generated from field: privatews.v1.SubscribeRefreshed subscribe_refreshed = 13;\n */\n value: SubscribeRefreshed;\n case: \"subscribeRefreshed\";\n } | {\n /**\n * A subscription ended.\n *\n * @generated from field: privatews.v1.Unsubscribed unsubscribed = 14;\n */\n value: Unsubscribed;\n case: \"unsubscribed\";\n } | {\n /**\n * A subscription's token expires in 15 seconds.\n *\n * @generated from field: privatews.v1.SubscribeExpiring subscribe_expiring = 15;\n */\n value: SubscribeExpiring;\n case: \"subscribeExpiring\";\n } | {\n /**\n * A snapshot begins.\n *\n * @generated from field: privatews.v1.SnapshotBegin snapshot_begin = 16;\n */\n value: SnapshotBegin;\n case: \"snapshotBegin\";\n } | {\n /**\n * A page of a snapshot.\n *\n * @generated from field: privatews.v1.SnapshotPage snapshot_page = 17;\n */\n value: SnapshotPage;\n case: \"snapshotPage\";\n } | {\n /**\n * A snapshot ends; install it.\n *\n * @generated from field: privatews.v1.SnapshotEnd snapshot_end = 18;\n */\n value: SnapshotEnd;\n case: \"snapshotEnd\";\n } | {\n /**\n * One change to the account.\n *\n * @generated from field: privatews.v1.Unit unit = 19;\n */\n value: Unit;\n case: \"unit\";\n } | {\n /**\n * The account moved on with no change.\n *\n * @generated from field: privatews.v1.Covered covered = 20;\n */\n value: Covered;\n case: \"covered\";\n } | {\n /**\n * The subscription reflects every acknowledgement given before it\n * subscribed.\n *\n * @generated from field: privatews.v1.Ready ready = 21;\n */\n value: Ready;\n case: \"ready\";\n } | {\n /**\n * A Sync was satisfied.\n *\n * @generated from field: privatews.v1.Synced synced = 22;\n */\n value: Synced;\n case: \"synced\";\n } | {\n /**\n * The subscription's state is replaced by the snapshot that follows.\n *\n * @generated from field: privatews.v1.ResyncRequired resync_required = 23;\n */\n value: ResyncRequired;\n case: \"resyncRequired\";\n } | {\n /**\n * The account's live view, or some of its orders, is not current for\n * now.\n *\n * @generated from field: privatews.v1.Unavailable unavailable = 24;\n */\n value: Unavailable;\n case: \"unavailable\";\n } | {\n /**\n * The account's live view is current again after Unavailable.\n *\n * @generated from field: privatews.v1.Available available = 25;\n */\n value: Available;\n case: \"available\";\n } | {\n /**\n * A request failed.\n *\n * @generated from field: privatews.v1.RequestError error = 26;\n */\n value: RequestError;\n case: \"error\";\n } | {\n /**\n * Liveness signal, sent every second.\n *\n * @generated from field: privatews.v1.Heartbeat heartbeat = 27;\n */\n value: Heartbeat;\n case: \"heartbeat\";\n } | {\n /**\n * Answer to Ping.\n *\n * @generated from field: privatews.v1.Pong pong = 28;\n */\n value: Pong;\n case: \"pong\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message privatews.v1.ServerMessage.\n * Use `create(ServerMessageSchema)` to create a new message.\n */\nexport const ServerMessageSchema: GenMessage<ServerMessage> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 7);\n\n/**\n * Authenticated confirms an Auth.\n *\n * @generated from message privatews.v1.Authenticated\n */\nexport type Authenticated = Message<\"privatews.v1.Authenticated\"> & {\n /**\n * When the connect token expires, seconds since epoch (UTC).\n *\n * @generated from field: int64 expires_ts_sec = 1;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.Authenticated.\n * Use `create(AuthenticatedSchema)` to create a new message.\n */\nexport const AuthenticatedSchema: GenMessage<Authenticated> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 8);\n\n/**\n * TokenExpiring warns that the connect token expires soon. Without a new\n * Auth by then, the connection closes with code 4401.\n *\n * @generated from message privatews.v1.TokenExpiring\n */\nexport type TokenExpiring = Message<\"privatews.v1.TokenExpiring\"> & {\n /**\n * When the connect token expires, seconds since epoch (UTC).\n *\n * @generated from field: int64 expires_ts_sec = 1;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.TokenExpiring.\n * Use `create(TokenExpiringSchema)` to create a new message.\n */\nexport const TokenExpiringSchema: GenMessage<TokenExpiring> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 9);\n\n/**\n * Subscribed confirms a Subscribe; the frame's `sub` names the new\n * subscription. A snapshot, or the units after the resume cursor, follow.\n *\n * @generated from message privatews.v1.Subscribed\n */\nexport type Subscribed = Message<\"privatews.v1.Subscribed\"> & {\n /**\n * The request ID.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The account's public ID.\n *\n * @generated from field: fixed64 account = 2;\n */\n account: bigint;\n\n /**\n * When the subscribe token expires, seconds since epoch (UTC). Send a\n * SubscribeRefresh before then.\n *\n * @generated from field: int64 expires_ts_sec = 3;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.Subscribed.\n * Use `create(SubscribedSchema)` to create a new message.\n */\nexport const SubscribedSchema: GenMessage<Subscribed> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 10);\n\n/**\n * SubscribeRefreshed confirms a SubscribeRefresh; the frame's `sub` names\n * the subscription. A refused refresh is a RequestError FORBIDDEN with the\n * refresh's `id`, and the subscription keeps its current expiry.\n *\n * @generated from message privatews.v1.SubscribeRefreshed\n */\nexport type SubscribeRefreshed = Message<\"privatews.v1.SubscribeRefreshed\"> & {\n /**\n * The request ID.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * When the new subscribe token expires, seconds since epoch (UTC).\n *\n * @generated from field: int64 expires_ts_sec = 2;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.SubscribeRefreshed.\n * Use `create(SubscribeRefreshedSchema)` to create a new message.\n */\nexport const SubscribeRefreshedSchema: GenMessage<SubscribeRefreshed> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 11);\n\n/**\n * Unsubscribed says a subscription ended. The connection stays open.\n *\n * @generated from message privatews.v1.Unsubscribed\n */\nexport type Unsubscribed = Message<\"privatews.v1.Unsubscribed\"> & {\n /**\n * The request ID, when the client asked.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * Why it ended.\n *\n * @generated from field: privatews.v1.Unsubscribed.Reason reason = 2;\n */\n reason: Unsubscribed_Reason;\n};\n\n/**\n * Describes the message privatews.v1.Unsubscribed.\n * Use `create(UnsubscribedSchema)` to create a new message.\n */\nexport const UnsubscribedSchema: GenMessage<Unsubscribed> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 12);\n\n/**\n * Why a subscription ended.\n *\n * @generated from enum privatews.v1.Unsubscribed.Reason\n */\nexport enum Unsubscribed_Reason {\n /**\n * Not set.\n *\n * @generated from enum value: REASON_UNSPECIFIED = 0;\n */\n REASON_UNSPECIFIED = 0,\n\n /**\n * The client asked with Unsubscribe.\n *\n * @generated from enum value: REQUESTED = 1;\n */\n REQUESTED = 1,\n\n /**\n * Its token expired without a SubscribeRefresh. Subscribe again with a\n * fresh token.\n *\n * @generated from enum value: TOKEN_EXPIRED = 2;\n */\n TOKEN_EXPIRED = 2,\n}\n\n/**\n * Describes the enum privatews.v1.Unsubscribed.Reason.\n */\nexport const Unsubscribed_ReasonSchema: GenEnum<Unsubscribed_Reason> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 12, 0);\n\n/**\n * SubscribeExpiring warns that a subscription's token expires soon.\n *\n * @generated from message privatews.v1.SubscribeExpiring\n */\nexport type SubscribeExpiring = Message<\"privatews.v1.SubscribeExpiring\"> & {\n /**\n * When its token expires, seconds since epoch (UTC).\n *\n * @generated from field: int64 expires_ts_sec = 1;\n */\n expiresTsSec: bigint;\n};\n\n/**\n * Describes the message privatews.v1.SubscribeExpiring.\n * Use `create(SubscribeExpiringSchema)` to create a new message.\n */\nexport const SubscribeExpiringSchema: GenMessage<SubscribeExpiring> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 13);\n\n/**\n * SnapshotBegin starts a snapshot. Stage its pages and install them\n * atomically at SnapshotEnd.\n *\n * @generated from message privatews.v1.SnapshotBegin\n */\nexport type SnapshotBegin = Message<\"privatews.v1.SnapshotBegin\"> & {\n /**\n * The account history's generation. A new value means the account's\n * history restarted.\n *\n * @generated from field: uint64 epoch = 1;\n */\n epoch: bigint;\n};\n\n/**\n * Describes the message privatews.v1.SnapshotBegin.\n * Use `create(SnapshotBeginSchema)` to create a new message.\n */\nexport const SnapshotBeginSchema: GenMessage<SnapshotBegin> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 14);\n\n/**\n * SnapshotPage carries up to 256 of a snapshot's orders, ascending by\n * order ID across pages.\n *\n * @generated from message privatews.v1.SnapshotPage\n */\nexport type SnapshotPage = Message<\"privatews.v1.SnapshotPage\"> & {\n /**\n * Every order the live view holds for the account: open orders, orders\n * accepted but not yet on the book, and recently ended orders still\n * retained. Each is complete, with its attached risk in full.\n *\n * @generated from field: repeated orders.v1.Order orders = 1;\n */\n orders: Order[];\n};\n\n/**\n * Describes the message privatews.v1.SnapshotPage.\n * Use `create(SnapshotPageSchema)` to create a new message.\n */\nexport const SnapshotPageSchema: GenMessage<SnapshotPage> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 15);\n\n/**\n * SnapshotEnd ends a snapshot.\n *\n * @generated from message privatews.v1.SnapshotEnd\n */\nexport type SnapshotEnd = Message<\"privatews.v1.SnapshotEnd\"> & {\n /**\n * Opaque resume cursor at the snapshot's position.\n *\n * @generated from field: string cursor = 1;\n */\n cursor: string;\n\n /**\n * The number of orders in the snapshot's pages.\n *\n * @generated from field: uint32 count = 2;\n */\n count: number;\n\n /**\n * A checksum of the snapshot, for diagnostics.\n *\n * @generated from field: fixed64 digest = 3;\n */\n digest: bigint;\n};\n\n/**\n * Describes the message privatews.v1.SnapshotEnd.\n * Use `create(SnapshotEndSchema)` to create a new message.\n */\nexport const SnapshotEndSchema: GenMessage<SnapshotEnd> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 16);\n\n/**\n * Unit is one change to the account, applied whole.\n *\n * @generated from message privatews.v1.Unit\n */\nexport type Unit = Message<\"privatews.v1.Unit\"> & {\n /**\n * The cursor the client held before this unit.\n *\n * @generated from field: string prev_cursor = 1;\n */\n prevCursor: string;\n\n /**\n * The resume cursor after this unit.\n *\n * @generated from field: string next_cursor = 2;\n */\n nextCursor: string;\n\n /**\n * Each changed order, complete, as it now is, with its attached risk in\n * full (every leg's policy and state). A higher `version` is newer, and an\n * equal `version` is the identical order, also across the Orders API's\n * reads; version 0 is an order accepted but not yet on the book. The reads\n * omit attached risk unless asked for it: an omission on request, never a\n * removal.\n *\n * @generated from field: repeated orders.v1.Order orders = 3;\n */\n orders: Order[];\n\n /**\n * Public IDs of orders that left the live view: ended orders now kept in\n * history, or orders that never got past admission. Not a cancellation.\n * An order that ends in this unit and leaves with it is also in `orders`,\n * with its final revision: apply `orders` first, then these removals.\n *\n * @generated from field: repeated fixed64 removed_order_ids = 4;\n */\n removedOrderIds: bigint[];\n\n /**\n * What caused the change, in order. Never coalesced.\n *\n * @generated from field: repeated privatews.v1.UnitEvent events = 5;\n */\n events: UnitEvent[];\n};\n\n/**\n * Describes the message privatews.v1.Unit.\n * Use `create(UnitSchema)` to create a new message.\n */\nexport const UnitSchema: GenMessage<Unit> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 17);\n\n/**\n * Covered says the account moved on with no change.\n *\n * @generated from message privatews.v1.Covered\n */\nexport type Covered = Message<\"privatews.v1.Covered\"> & {\n /**\n * The resume cursor at the new position.\n *\n * @generated from field: string cursor = 1;\n */\n cursor: string;\n};\n\n/**\n * Describes the message privatews.v1.Covered.\n * Use `create(CoveredSchema)` to create a new message.\n */\nexport const CoveredSchema: GenMessage<Covered> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 18);\n\n/**\n * Ready says the subscription reflects every acknowledgement given before\n * it subscribed, including every order read made before it.\n *\n * @generated from message privatews.v1.Ready\n */\nexport type Ready = Message<\"privatews.v1.Ready\"> & {\n};\n\n/**\n * Describes the message privatews.v1.Ready.\n * Use `create(ReadySchema)` to create a new message.\n */\nexport const ReadySchema: GenMessage<Ready> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 19);\n\n/**\n * Synced answers a Sync.\n *\n * @generated from message privatews.v1.Synced\n */\nexport type Synced = Message<\"privatews.v1.Synced\"> & {\n /**\n * The request ID.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n};\n\n/**\n * Describes the message privatews.v1.Synced.\n * Use `create(SyncedSchema)` to create a new message.\n */\nexport const SyncedSchema: GenMessage<Synced> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 20);\n\n/**\n * ResyncRequired replaces the subscription's state with the snapshot that\n * follows it.\n *\n * @generated from message privatews.v1.ResyncRequired\n */\nexport type ResyncRequired = Message<\"privatews.v1.ResyncRequired\"> & {\n /**\n * Why. The events between the old state and the snapshot are not\n * delivered: amend, cancel and rejection outcomes in between are lost, and\n * fills stay available from trade history.\n *\n * @generated from field: privatews.v1.ResyncRequired.Reason reason = 1;\n */\n reason: ResyncRequired_Reason;\n};\n\n/**\n * Describes the message privatews.v1.ResyncRequired.\n * Use `create(ResyncRequiredSchema)` to create a new message.\n */\nexport const ResyncRequiredSchema: GenMessage<ResyncRequired> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 21);\n\n/**\n * Why the state is replaced.\n *\n * @generated from enum privatews.v1.ResyncRequired.Reason\n */\nexport enum ResyncRequired_Reason {\n /**\n * Not set.\n *\n * @generated from enum value: REASON_UNSPECIFIED = 0;\n */\n REASON_UNSPECIFIED = 0,\n\n /**\n * The resume cursor is not from this connection's server or history.\n *\n * @generated from enum value: CURSOR_UNKNOWN = 1;\n */\n CURSOR_UNKNOWN = 1,\n\n /**\n * The resume cursor is older than the server's replay window (about the\n * last 1,024 changes or 30 seconds).\n *\n * @generated from enum value: CURSOR_EXPIRED = 2;\n */\n CURSOR_EXPIRED = 2,\n\n /**\n * The account's history restarted.\n *\n * @generated from enum value: HISTORY_RESET = 3;\n */\n HISTORY_RESET = 3,\n}\n\n/**\n * Describes the enum privatews.v1.ResyncRequired.Reason.\n */\nexport const ResyncRequired_ReasonSchema: GenEnum<ResyncRequired_Reason> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 21, 0);\n\n/**\n * Unavailable says the account's live view, or some of its orders, is not\n * current for now. Show what it names as stale until Available. A later\n * Unavailable replaces this one's reason and `order_ids`. The subscription\n * stays and always recovers by itself; the client does nothing.\n * Ready and Synced may still arrive meanwhile: they describe the position\n * already delivered, which is unchanged.\n *\n * @generated from message privatews.v1.Unavailable\n */\nexport type Unavailable = Message<\"privatews.v1.Unavailable\"> & {\n /**\n * Why.\n *\n * @generated from field: privatews.v1.UnavailableReason reason = 1;\n */\n reason: UnavailableReason;\n\n /**\n * For ORDER_UNAVAILABLE: the public IDs of the orders whose current state\n * is unknown, ascending. Empty for every other reason, which covers the\n * whole view.\n *\n * @generated from field: repeated fixed64 order_ids = 2;\n */\n orderIds: bigint[];\n};\n\n/**\n * Describes the message privatews.v1.Unavailable.\n * Use `create(UnavailableSchema)` to create a new message.\n */\nexport const UnavailableSchema: GenMessage<Unavailable> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 22);\n\n/**\n * Available says the account's live view is current again after\n * Unavailable: every order it holds shows its current state.\n *\n * @generated from message privatews.v1.Available\n */\nexport type Available = Message<\"privatews.v1.Available\"> & {\n};\n\n/**\n * Describes the message privatews.v1.Available.\n * Use `create(AvailableSchema)` to create a new message.\n */\nexport const AvailableSchema: GenMessage<Available> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 23);\n\n/**\n * RequestError answers a failed request. It does not close the connection.\n *\n * @generated from message privatews.v1.RequestError\n */\nexport type RequestError = Message<\"privatews.v1.RequestError\"> & {\n /**\n * The request ID, when the error answers a request.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n\n /**\n * The failure.\n *\n * @generated from field: privatews.v1.RequestError.Code code = 2;\n */\n code: RequestError_Code;\n\n /**\n * A human-readable explanation.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message privatews.v1.RequestError.\n * Use `create(RequestErrorSchema)` to create a new message.\n */\nexport const RequestErrorSchema: GenMessage<RequestError> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 24);\n\n/**\n * A request failure.\n *\n * @generated from enum privatews.v1.RequestError.Code\n */\nexport enum RequestError_Code {\n /**\n * Not set.\n *\n * @generated from enum value: CODE_UNSPECIFIED = 0;\n */\n CODE_UNSPECIFIED = 0,\n\n /**\n * The subscribe token does not authorize this account for this\n * connection.\n *\n * @generated from enum value: FORBIDDEN = 1;\n */\n FORBIDDEN = 1,\n\n /**\n * A field is missing or malformed.\n *\n * @generated from enum value: INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * No such subscription.\n *\n * @generated from enum value: SUBSCRIPTION_UNKNOWN = 3;\n */\n SUBSCRIPTION_UNKNOWN = 3,\n\n /**\n * The resume cursor cannot be read.\n *\n * @generated from enum value: CURSOR_INVALID = 4;\n */\n CURSOR_INVALID = 4,\n\n /**\n * The connection already holds 64 subscriptions.\n *\n * @generated from enum value: TOO_MANY_SUBSCRIPTIONS = 5;\n */\n TOO_MANY_SUBSCRIPTIONS = 5,\n\n /**\n * The account's live view did not catch up in time (Sync: 10 seconds).\n *\n * @generated from enum value: BEHIND = 6;\n */\n BEHIND = 6,\n}\n\n/**\n * Describes the enum privatews.v1.RequestError.Code.\n */\nexport const RequestError_CodeSchema: GenEnum<RequestError_Code> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 24, 0);\n\n/**\n * Heartbeat is sent every second. Treat the connection as stale after 3\n * seconds without one.\n *\n * @generated from message privatews.v1.Heartbeat\n */\nexport type Heartbeat = Message<\"privatews.v1.Heartbeat\"> & {\n /**\n * Server time, nanoseconds since epoch (UTC).\n *\n * @generated from field: int64 server_ts_ns = 1;\n */\n serverTsNs: bigint;\n};\n\n/**\n * Describes the message privatews.v1.Heartbeat.\n * Use `create(HeartbeatSchema)` to create a new message.\n */\nexport const HeartbeatSchema: GenMessage<Heartbeat> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 25);\n\n/**\n * Pong answers a Ping.\n *\n * @generated from message privatews.v1.Pong\n */\nexport type Pong = Message<\"privatews.v1.Pong\"> & {\n /**\n * The request ID.\n *\n * @generated from field: string id = 1;\n */\n id: string;\n};\n\n/**\n * Describes the message privatews.v1.Pong.\n * Use `create(PongSchema)` to create a new message.\n */\nexport const PongSchema: GenMessage<Pong> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 26);\n\n/**\n * UnitEvent is what caused a change.\n *\n * @generated from message privatews.v1.UnitEvent\n */\nexport type UnitEvent = Message<\"privatews.v1.UnitEvent\"> & {\n /**\n * Exactly one kind.\n *\n * @generated from oneof privatews.v1.UnitEvent.kind\n */\n kind: {\n /**\n * Something happened to an order.\n *\n * @generated from field: privatews.v1.OrderEvent order = 1;\n */\n value: OrderEvent;\n case: \"order\";\n } | {\n /**\n * A command was answered without changing any order.\n *\n * @generated from field: privatews.v1.CommandOutcome outcome = 2;\n */\n value: CommandOutcome;\n case: \"outcome\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message privatews.v1.UnitEvent.\n * Use `create(UnitEventSchema)` to create a new message.\n */\nexport const UnitEventSchema: GenMessage<UnitEvent> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 27);\n\n/**\n * OrderEvent is something that happened to an order.\n *\n * @generated from message privatews.v1.OrderEvent\n */\nexport type OrderEvent = Message<\"privatews.v1.OrderEvent\"> & {\n /**\n * The order's public ID.\n *\n * @generated from field: fixed64 order_id = 1;\n */\n orderId: bigint;\n\n /**\n * The order's version after the event.\n *\n * @generated from field: uint32 version = 2;\n */\n version: number;\n\n /**\n * What happened.\n *\n * @generated from field: privatews.v1.OrderEvent.Kind kind = 3;\n */\n kind: OrderEvent_Kind;\n\n /**\n * For REJECTED: why the order was refused, as the order's reject_reason and\n * the Orders API's error for the same refusal. Not set otherwise; the JSON\n * encoding then omits it.\n *\n * @generated from field: orders.v1.ErrorCode reject_reason = 7;\n */\n rejectReason: ErrorCode;\n\n /**\n * For CANCELED, and for the REPLACED of the order a replace ended: why the\n * order ended, as the order's cancel_reason. Not set otherwise, including\n * the REPLACED that installs the successor; the JSON encoding then omits it.\n *\n * @generated from field: orders.v1.CancelReason cancel_reason = 8;\n */\n cancelReason: CancelReason;\n\n /**\n * For REPLACED: the successor's public ID; 0 otherwise.\n *\n * @generated from field: fixed64 replacement_order_id = 5;\n */\n replacementOrderId: bigint;\n\n /**\n * For FILLED: the fill.\n *\n * @generated from field: privatews.v1.Fill fill = 6;\n */\n fill?: Fill | undefined;\n};\n\n/**\n * Describes the message privatews.v1.OrderEvent.\n * Use `create(OrderEventSchema)` to create a new message.\n */\nexport const OrderEventSchema: GenMessage<OrderEvent> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 28);\n\n/**\n * What happened.\n *\n * @generated from enum privatews.v1.OrderEvent.Kind\n */\nexport enum OrderEvent_Kind {\n /**\n * Not set.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * The order, or an amend of it, was accepted.\n *\n * @generated from enum value: ACCEPTED = 1;\n */\n ACCEPTED = 1,\n\n /**\n * The order filled, partly or fully.\n *\n * @generated from enum value: FILLED = 2;\n */\n FILLED = 2,\n\n /**\n * The order ended without filling its remainder.\n *\n * @generated from enum value: CANCELED = 3;\n */\n CANCELED = 3,\n\n /**\n * The order was refused.\n *\n * @generated from enum value: REJECTED = 4;\n */\n REJECTED = 4,\n\n /**\n * A replace ended the order, or created it as the successor.\n *\n * @generated from enum value: REPLACED = 5;\n */\n REPLACED = 5,\n\n /**\n * One of the order's attached take-profit, stop-loss or trailing-stop\n * legs changed.\n *\n * @generated from enum value: ATTACHED_RISK = 6;\n */\n ATTACHED_RISK = 6,\n}\n\n/**\n * Describes the enum privatews.v1.OrderEvent.Kind.\n */\nexport const OrderEvent_KindSchema: GenEnum<OrderEvent_Kind> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 28, 0);\n\n/**\n * Fill is one fill of an order.\n *\n * @generated from message privatews.v1.Fill\n */\nexport type Fill = Message<\"privatews.v1.Fill\"> & {\n /**\n * The match's identifier, equal to the trade's match_id in the Orders\n * API's user trades.\n *\n * @generated from field: uint64 match_id = 1;\n */\n matchId: bigint;\n\n /**\n * The fill's ordinal among this order's fills, from 1.\n *\n * @generated from field: uint32 ordinal = 2;\n */\n ordinal: number;\n\n /**\n * Maker or taker.\n *\n * @generated from field: privatews.v1.Fill.Role role = 3;\n */\n role: Fill_Role;\n\n /**\n * Filled quantity, scaled by the pair's base_quantity_scale from\n * GetSpotConfig for the order's symbol_id.\n *\n * @generated from field: int64 qty_scaled = 4;\n */\n qtyScaled: bigint;\n\n /**\n * Fill price, in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 5;\n */\n priceTicks: bigint;\n};\n\n/**\n * Describes the message privatews.v1.Fill.\n * Use `create(FillSchema)` to create a new message.\n */\nexport const FillSchema: GenMessage<Fill> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 29);\n\n/**\n * Whether the order provided or took liquidity.\n *\n * @generated from enum privatews.v1.Fill.Role\n */\nexport enum Fill_Role {\n /**\n * Not set.\n *\n * @generated from enum value: ROLE_UNSPECIFIED = 0;\n */\n ROLE_UNSPECIFIED = 0,\n\n /**\n * The order was resting.\n *\n * @generated from enum value: MAKER = 1;\n */\n MAKER = 1,\n\n /**\n * The order took resting liquidity.\n *\n * @generated from enum value: TAKER = 2;\n */\n TAKER = 2,\n}\n\n/**\n * Describes the enum privatews.v1.Fill.Role.\n */\nexport const Fill_RoleSchema: GenEnum<Fill_Role> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 29, 0);\n\n/**\n * CommandOutcome answers a command that changed no order.\n *\n * @generated from message privatews.v1.CommandOutcome\n */\nexport type CommandOutcome = Message<\"privatews.v1.CommandOutcome\"> & {\n /**\n * The answer.\n *\n * @generated from field: privatews.v1.CommandOutcome.Kind kind = 1;\n */\n kind: CommandOutcome_Kind;\n\n /**\n * The command's order public ID; 0 for a cancel by criteria.\n *\n * @generated from field: fixed64 order_id = 2;\n */\n orderId: bigint;\n\n /**\n * A replace's successor public ID; 0 otherwise.\n *\n * @generated from field: fixed64 new_order_id = 3;\n */\n newOrderId: bigint;\n\n /**\n * The command's client order ID; empty when none.\n *\n * @generated from field: string client_order_id = 4;\n */\n clientOrderId: string;\n\n /**\n * The refusal, as the Orders API names the same refusal in its errors;\n * ERROR_CODE_UNSPECIFIED for CANCEL_ALL_DONE.\n *\n * @generated from field: orders.v1.ErrorCode reason = 5;\n */\n reason: ErrorCode;\n};\n\n/**\n * Describes the message privatews.v1.CommandOutcome.\n * Use `create(CommandOutcomeSchema)` to create a new message.\n */\nexport const CommandOutcomeSchema: GenMessage<CommandOutcome> = /*@__PURE__*/\n messageDesc(file_privatews_v1_private_ws, 30);\n\n/**\n * The answer.\n *\n * @generated from enum privatews.v1.CommandOutcome.Kind\n */\nexport enum CommandOutcome_Kind {\n /**\n * Not set.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * An amend was refused; the order is unchanged.\n *\n * @generated from enum value: AMEND_REJECTED = 1;\n */\n AMEND_REJECTED = 1,\n\n /**\n * A cancel was refused.\n *\n * @generated from enum value: CANCEL_REJECTED = 2;\n */\n CANCEL_REJECTED = 2,\n\n /**\n * A replace's successor was refused; the original order is unchanged.\n *\n * @generated from enum value: REPLACE_REJECTED = 3;\n */\n REPLACE_REJECTED = 3,\n\n /**\n * An order was refused before it existed, such as a duplicate.\n *\n * @generated from enum value: REJECTED = 4;\n */\n REJECTED = 4,\n\n /**\n * A cancel by criteria completed; its cancels came earlier as order\n * events. It names no request: with several cancels by criteria in\n * flight, a client cannot tell which one completed.\n *\n * @generated from enum value: CANCEL_ALL_DONE = 5;\n */\n CANCEL_ALL_DONE = 5,\n}\n\n/**\n * Describes the enum privatews.v1.CommandOutcome.Kind.\n */\nexport const CommandOutcome_KindSchema: GenEnum<CommandOutcome_Kind> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 30, 0);\n\n/**\n * Channel names what a subscription streams.\n *\n * @generated from enum privatews.v1.Channel\n */\nexport enum Channel {\n /**\n * Not set; refused.\n *\n * @generated from enum value: CHANNEL_UNSPECIFIED = 0;\n */\n CHANNEL_UNSPECIFIED = 0,\n\n /**\n * The account's orders.\n *\n * @generated from enum value: ORDERS = 1;\n */\n ORDERS = 1,\n}\n\n/**\n * Describes the enum privatews.v1.Channel.\n */\nexport const ChannelSchema: GenEnum<Channel> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 0);\n\n/**\n * UnavailableReason names why an account's live view is not current.\n *\n * @generated from enum privatews.v1.UnavailableReason\n */\nexport enum UnavailableReason {\n /**\n * Not set.\n *\n * @generated from enum value: UNAVAILABLE_REASON_UNSPECIFIED = 0;\n */\n UNAVAILABLE_REASON_UNSPECIFIED = 0,\n\n /**\n * The view is catching up with recent activity.\n *\n * @generated from enum value: VIEW_BEHIND = 1;\n */\n VIEW_BEHIND = 1,\n\n /**\n * The account's view is still loading.\n *\n * @generated from enum value: NOT_READY = 2;\n */\n NOT_READY = 2,\n\n /**\n * The service is failing over; the view resumes after it.\n *\n * @generated from enum value: FAILOVER = 3;\n */\n FAILOVER = 3,\n\n /**\n * The read fence could not be established for now.\n *\n * @generated from enum value: BOUNDARY_UNAVAILABLE = 4;\n */\n BOUNDARY_UNAVAILABLE = 4,\n\n /**\n * The current state of the orders that `order_ids` names is temporarily\n * unknown. Their rows, when the snapshot or a unit carried one, show an\n * earlier state; an order may have no row yet. The rest of the account's\n * view is current, and units keep arriving.\n *\n * @generated from enum value: ORDER_UNAVAILABLE = 5;\n */\n ORDER_UNAVAILABLE = 5,\n}\n\n/**\n * Describes the enum privatews.v1.UnavailableReason.\n */\nexport const UnavailableReasonSchema: GenEnum<UnavailableReason> = /*@__PURE__*/\n enumDesc(file_privatews_v1_private_ws, 1);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,MAAa,+BACX,uBAAS,w7KAAw7K,CAAC,uBAAuB,0BAA0B,CAAC;;;;;AAuFt/K,MAAa,sBACX,0BAAY,8BAA8B,CAAC;;;;;AAqB7C,MAAa,aACX,0BAAY,8BAA8B,CAAC;;;;;AAsD7C,MAAa,kBACX,0BAAY,8BAA8B,CAAC;;;;;AAkC7C,MAAa,yBACX,0BAAY,8BAA8B,CAAC;;;;;AA2B7C,MAAa,oBACX,0BAAY,8BAA8B,CAAC;;;;;AA4B7C,MAAa,aACX,0BAAY,8BAA8B,CAAC;;;;;AAoB7C,MAAa,aACX,0BAAY,8BAA8B,CAAC;;;;;AAkN7C,MAAa,sBACX,0BAAY,8BAA8B,CAAC;;;;;AAoB7C,MAAa,sBACX,0BAAY,8BAA8B,CAAC;;;;;AAqB7C,MAAa,sBACX,0BAAY,8BAA8B,CAAC;;;;;AAoC7C,MAAa,mBACX,0BAAY,8BAA8B,EAAE;;;;;AA6B9C,MAAa,2BACX,0BAAY,8BAA8B,EAAE;;;;;AA2B9C,MAAa,qBACX,0BAAY,8BAA8B,EAAE;;;;;;AAO9C,IAAY,sBAAL,yBAAA,qBAAA;;;;;;CAML,oBAAA,oBAAA,wBAAA,KAAA;;;;;;CAOA,oBAAA,oBAAA,eAAA,KAAA;;;;;;;CAQA,oBAAA,oBAAA,mBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,4BACX,uBAAS,8BAA8B,IAAI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;;;;;AAO9C,IAAY,UAAL,yBAAA,SAAA;;;;;;CAML,QAAA,QAAA,yBAAA,KAAA;;;;;;CAOA,QAAA,QAAA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,gBACX,uBAAS,8BAA8B,CAAC;;;;;;AAO1C,IAAY,oBAAL,yBAAA,mBAAA;;;;;;CAML,kBAAA,kBAAA,oCAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,iBAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,eAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,cAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,0BAAA,KAAA;;;;;;;;;CAUA,kBAAA,kBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0BACX,uBAAS,8BAA8B,CAAC"}
|
|
@@ -106,8 +106,9 @@ declare const GetRateLimitConfigResponseSchema: GenMessage<GetRateLimitConfigRes
|
|
|
106
106
|
*/
|
|
107
107
|
type GetTradingRateLimitsRequest = Message<"ratelimit.v1.GetTradingRateLimitsRequest"> & {
|
|
108
108
|
/**
|
|
109
|
-
* Optional subaccount
|
|
110
|
-
*
|
|
109
|
+
* Optional public subaccount ID. When omitted, subaccount-scoped API keys
|
|
110
|
+
* use their bound subaccount; other callers use their authenticated root
|
|
111
|
+
* account.
|
|
111
112
|
*
|
|
112
113
|
* @generated from field: optional fixed64 subaccount_id = 1;
|
|
113
114
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ratelimit_pb.d.ts","names":[],"sources":["../../../../src/gen/ratelimit/v1/ratelimit_pb.ts"],"mappings":";;;;;;;;;cAca,6BAA6B;;;;;;;KAS9B,uBAAuB;;;;;;;EAOjC,aAAa;;;;;;EAOb;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA;;;;;;cAOW,4BAA4B,WAAW;;;;;;;KASxC,4BAA4B;;;;;cAO3B,iCAAiC,WAAW;;;;;;;KAS7C,6BAA6B;;;;;;EAMvC;;;;;;EAOA,gBAAgB;;;;;;;;EAShB,OAAO;;;;;;cAOI,kCAAkC,WAAW;;;;;;;KAS9C,8BAA8B
|
|
1
|
+
{"version":3,"file":"ratelimit_pb.d.ts","names":[],"sources":["../../../../src/gen/ratelimit/v1/ratelimit_pb.ts"],"mappings":";;;;;;;;;cAca,6BAA6B;;;;;;;KAS9B,uBAAuB;;;;;;;EAOjC,aAAa;;;;;;EAOb;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA;;;;;;cAOW,4BAA4B,WAAW;;;;;;;KASxC,4BAA4B;;;;;cAO3B,iCAAiC,WAAW;;;;;;;KAS7C,6BAA6B;;;;;;EAMvC;;;;;;EAOA,gBAAgB;;;;;;;;EAShB,OAAO;;;;;;cAOI,kCAAkC,WAAW;;;;;;;KAS9C,8BAA8B;;;;;;;;EAQxC;;;;;;cAOW,mCAAmC,WAAW;;;;;;;KAS/C,+BAA+B;;;;;;;EAOzC;;;;;;EAOA,gBAAgB;;;;;;;EAQhB,OAAO;;;;;;;;EASP,aAAa;;;;;;cAOF,oCAAoC,WAAW;;;;;;aAQhD;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,6BAA6B,QAAQ;;;;;;;cASrC,kBAAkB;;;;;;;;EAQ7B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ratelimit_pb.js","names":[],"sources":["../../../../src/gen/ratelimit/v1/ratelimit_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file ratelimit/v1/ratelimit.proto (package ratelimit.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file ratelimit/v1/ratelimit.proto.\n */\nexport const file_ratelimit_v1_ratelimit: GenFile = /*@__PURE__*/\n fileDesc(\"ChxyYXRlbGltaXQvdjEvcmF0ZWxpbWl0LnByb3RvEgxyYXRlbGltaXQudjEirAEKFFRyYWRpbmdSYXRlTGltaXRSdWxlEjsKDHBvbGljeV9jbGFzcxgBIAEoDjIjLnJhdGVsaW1pdC52MS5UcmFkaW5nUmF0ZUxpbWl0Q2xhc3NCABISCgh2aXBfdGllchgCIAEoDUIAEhYKDHF1b3RhX3dlaWdodBgDIAEoBEIAEhMKCXBlcmlvZF9tcxgEIAEoBEIAEhYKDGJ1cnN0X3dlaWdodBgFIAEoBEIAIhsKGUdldFJhdGVMaW1pdENvbmZpZ1JlcXVlc3QioQEKGkdldFJhdGVMaW1pdENvbmZpZ1Jlc3BvbnNlEhgKDnBvbGljeV92ZXJzaW9uGAEgASgEQgASNAoOZWZmZWN0aXZlX2Zyb20YAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgASMwoFcnVsZXMYAyADKAsyIi5yYXRlbGltaXQudjEuVHJhZGluZ1JhdGVMaW1pdFJ1bGVCACJNChtHZXRUcmFkaW5nUmF0ZUxpbWl0c1JlcXVlc3QSHAoNc3ViYWNjb3VudF9pZBgBIAEoBkIASACIAQFCEAoOX3N1YmFjY291bnRfaWQi4AEKHEdldFRyYWRpbmdSYXRlTGltaXRzUmVzcG9uc2USGAoOcG9saWN5X3ZlcnNpb24YASABKARCABI0Cg5lZmZlY3RpdmVfZnJvbRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCABIzCgVydWxlcxgDIAMoCzIiLnJhdGVsaW1pdC52MS5UcmFkaW5nUmF0ZUxpbWl0UnVsZUIAEjsKDWFwaV9rZXlfcnVsZXMYBCADKAsyIi5yYXRlbGltaXQudjEuVHJhZGluZ1JhdGVMaW1pdFJ1bGVCACqKAQoVVHJhZGluZ1JhdGVMaW1pdENsYXNzEigKJFRSQURJTkdfUkFURV9MSU1JVF9DTEFTU19VTlNQRUNJRklFRBAAEiIKHlRSQURJTkdfUkFURV9MSU1JVF9DTEFTU19QTEFDRRABEiMKH1RSQURJTkdfUkFURV9MSU1JVF9DTEFTU19DQU5DRUwQAjLzAQoQUmF0ZUxpbWl0U2VydmljZRJsChJHZXRSYXRlTGltaXRDb25maWcSJy5yYXRlbGltaXQudjEuR2V0UmF0ZUxpbWl0Q29uZmlnUmVxdWVzdBooLnJhdGVsaW1pdC52MS5HZXRSYXRlTGltaXRDb25maWdSZXNwb25zZSIDkAIBEm8KFEdldFRyYWRpbmdSYXRlTGltaXRzEikucmF0ZWxpbWl0LnYxLkdldFRyYWRpbmdSYXRlTGltaXRzUmVxdWVzdBoqLnJhdGVsaW1pdC52MS5HZXRUcmFkaW5nUmF0ZUxpbWl0c1Jlc3BvbnNlIgAaAEJGWkRnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL3JhdGVsaW1pdC92MTtyYXRlbGltaXR2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * TradingRateLimitRule describes one weighted placement or cancellation quota\n * for one VIP tier.\n *\n * @generated from message ratelimit.v1.TradingRateLimitRule\n */\nexport type TradingRateLimitRule = Message<\"ratelimit.v1.TradingRateLimitRule\"> & {\n /**\n * Trading operation family governed by this rule. Public responses contain\n * TRADING_RATE_LIMIT_CLASS_PLACE or TRADING_RATE_LIMIT_CLASS_CANCEL.\n *\n * @generated from field: ratelimit.v1.TradingRateLimitClass policy_class = 1;\n */\n policyClass: TradingRateLimitClass;\n\n /**\n * VIP tier for this rule, in the inclusive range 0 through 10.\n *\n * @generated from field: uint32 vip_tier = 2;\n */\n vipTier: number;\n\n /**\n * Weighted request capacity available during each policy period. One\n * operation consumes the weight assigned to that operation.\n *\n * @generated from field: uint64 quota_weight = 3;\n */\n quotaWeight: bigint;\n\n /**\n * Policy period duration in milliseconds.\n *\n * @generated from field: uint64 period_ms = 4;\n */\n periodMs: bigint;\n\n /**\n * Maximum weighted capacity that may be consumed in a burst.\n *\n * @generated from field: uint64 burst_weight = 5;\n */\n burstWeight: bigint;\n};\n\n/**\n * Describes the message ratelimit.v1.TradingRateLimitRule.\n * Use `create(TradingRateLimitRuleSchema)` to create a new message.\n */\nexport const TradingRateLimitRuleSchema: GenMessage<TradingRateLimitRule> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 0);\n\n/**\n * GetRateLimitConfigRequest requests the complete active public trading\n * rate-limit catalog.\n *\n * @generated from message ratelimit.v1.GetRateLimitConfigRequest\n */\nexport type GetRateLimitConfigRequest = Message<\"ratelimit.v1.GetRateLimitConfigRequest\"> & {\n};\n\n/**\n * Describes the message ratelimit.v1.GetRateLimitConfigRequest.\n * Use `create(GetRateLimitConfigRequestSchema)` to create a new message.\n */\nexport const GetRateLimitConfigRequestSchema: GenMessage<GetRateLimitConfigRequest> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 1);\n\n/**\n * GetRateLimitConfigResponse contains all placement and cancellation rules for\n * one complete policy version.\n *\n * @generated from message ratelimit.v1.GetRateLimitConfigResponse\n */\nexport type GetRateLimitConfigResponse = Message<\"ratelimit.v1.GetRateLimitConfigResponse\"> & {\n /**\n * Positive identifier of the returned rate-limit policy version.\n *\n * @generated from field: uint64 policy_version = 1;\n */\n policyVersion: bigint;\n\n /**\n * UTC time at which this policy version became effective.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 2;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Complete placement and cancellation catalog. Rules are ordered by policy\n * class, then by tier ascending. The list contains one rule per class for\n * each VIP0 through VIP10 tier and is not paginated.\n *\n * @generated from field: repeated ratelimit.v1.TradingRateLimitRule rules = 3;\n */\n rules: TradingRateLimitRule[];\n};\n\n/**\n * Describes the message ratelimit.v1.GetRateLimitConfigResponse.\n * Use `create(GetRateLimitConfigResponseSchema)` to create a new message.\n */\nexport const GetRateLimitConfigResponseSchema: GenMessage<GetRateLimitConfigResponse> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 2);\n\n/**\n * GetTradingRateLimitsRequest requests the effective trading limits for one\n * account target.\n *\n * @generated from message ratelimit.v1.GetTradingRateLimitsRequest\n */\nexport type GetTradingRateLimitsRequest = Message<\"ratelimit.v1.GetTradingRateLimitsRequest\"> & {\n /**\n * Optional subaccount public identifier. When omitted, the authenticated\n * caller's root account is used.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message ratelimit.v1.GetTradingRateLimitsRequest.\n * Use `create(GetTradingRateLimitsRequestSchema)` to create a new message.\n */\nexport const GetTradingRateLimitsRequestSchema: GenMessage<GetTradingRateLimitsRequest> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 3);\n\n/**\n * GetTradingRateLimitsResponse contains every placement and cancellation\n * policy enforced for the selected account target and caller.\n *\n * @generated from message ratelimit.v1.GetTradingRateLimitsResponse\n */\nexport type GetTradingRateLimitsResponse = Message<\"ratelimit.v1.GetTradingRateLimitsResponse\"> & {\n /**\n * Positive identifier of the rate-limit policy version used for the\n * returned rules.\n *\n * @generated from field: uint64 policy_version = 1;\n */\n policyVersion: bigint;\n\n /**\n * UTC time at which this policy version became effective.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 2;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Account-scoped placement and cancellation rules for the selected account,\n * ordered with placement first and cancellation second.\n *\n * @generated from field: repeated ratelimit.v1.TradingRateLimitRule rules = 3;\n */\n rules: TradingRateLimitRule[];\n\n /**\n * API-key-scoped placement and cancellation rules, ordered with placement\n * first and cancellation second. Present only when the caller authenticated\n * with an API key. Both this scope and the account scope are enforced.\n *\n * @generated from field: repeated ratelimit.v1.TradingRateLimitRule api_key_rules = 4;\n */\n apiKeyRules: TradingRateLimitRule[];\n};\n\n/**\n * Describes the message ratelimit.v1.GetTradingRateLimitsResponse.\n * Use `create(GetTradingRateLimitsResponseSchema)` to create a new message.\n */\nexport const GetTradingRateLimitsResponseSchema: GenMessage<GetTradingRateLimitsResponse> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 4);\n\n/**\n * TradingRateLimitClass identifies a public trading operation family.\n *\n * @generated from enum ratelimit.v1.TradingRateLimitClass\n */\nexport enum TradingRateLimitClass {\n /**\n * No trading operation family was provided.\n *\n * @generated from enum value: TRADING_RATE_LIMIT_CLASS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * New-order placement and order modification.\n *\n * @generated from enum value: TRADING_RATE_LIMIT_CLASS_PLACE = 1;\n */\n PLACE = 1,\n\n /**\n * Order and trigger cancellation.\n *\n * @generated from enum value: TRADING_RATE_LIMIT_CLASS_CANCEL = 2;\n */\n CANCEL = 2,\n}\n\n/**\n * Describes the enum ratelimit.v1.TradingRateLimitClass.\n */\nexport const TradingRateLimitClassSchema: GenEnum<TradingRateLimitClass> = /*@__PURE__*/\n enumDesc(file_ratelimit_v1_ratelimit, 0);\n\n/**\n * RateLimitService serves public trading quota reference data and authenticated\n * effective trading limits.\n *\n * @generated from service ratelimit.v1.RateLimitService\n */\nexport const RateLimitService: GenService<{\n /**\n * Get the complete active placement and cancellation quota catalog for\n * VIP0 through VIP10.\n * This public, caller-independent catalog supports cacheable ConnectRPC GET.\n *\n * @generated from rpc ratelimit.v1.RateLimitService.GetRateLimitConfig\n */\n getRateLimitConfig: {\n methodKind: \"unary\";\n input: typeof GetRateLimitConfigRequestSchema;\n output: typeof GetRateLimitConfigResponseSchema;\n },\n /**\n * Get the effective placement and cancellation limits for the authenticated\n * caller's root account or selected subaccount.\n *\n * @generated from rpc ratelimit.v1.RateLimitService.GetTradingRateLimits\n */\n getTradingRateLimits: {\n methodKind: \"unary\";\n input: typeof GetTradingRateLimitsRequestSchema;\n output: typeof GetTradingRateLimitsResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_ratelimit_v1_ratelimit, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,gjDAAgjD,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAmDvnD,MAAa,6BACX,0BAAY,6BAA6B,CAAC;;;;;AAe5C,MAAa,kCACX,0BAAY,6BAA6B,CAAC;;;;;AAqC5C,MAAa,mCACX,0BAAY,6BAA6B,CAAC;;;;;AAsB5C,MAAa,oCACX,0BAAY,6BAA6B,CAAC;;;;;AA8C5C,MAAa,qCACX,0BAAY,6BAA6B,CAAC;;;;;;AAO5C,IAAY,wBAAL,yBAAA,uBAAA;;;;;;CAML,sBAAA,sBAAA,iBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,WAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,6BAA6B,CAAC;;;;;;;AAQzC,MAAa,mBAyBX,0BAAY,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"ratelimit_pb.js","names":[],"sources":["../../../../src/gen/ratelimit/v1/ratelimit_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file ratelimit/v1/ratelimit.proto (package ratelimit.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file ratelimit/v1/ratelimit.proto.\n */\nexport const file_ratelimit_v1_ratelimit: GenFile = /*@__PURE__*/\n fileDesc(\"ChxyYXRlbGltaXQvdjEvcmF0ZWxpbWl0LnByb3RvEgxyYXRlbGltaXQudjEirAEKFFRyYWRpbmdSYXRlTGltaXRSdWxlEjsKDHBvbGljeV9jbGFzcxgBIAEoDjIjLnJhdGVsaW1pdC52MS5UcmFkaW5nUmF0ZUxpbWl0Q2xhc3NCABISCgh2aXBfdGllchgCIAEoDUIAEhYKDHF1b3RhX3dlaWdodBgDIAEoBEIAEhMKCXBlcmlvZF9tcxgEIAEoBEIAEhYKDGJ1cnN0X3dlaWdodBgFIAEoBEIAIhsKGUdldFJhdGVMaW1pdENvbmZpZ1JlcXVlc3QioQEKGkdldFJhdGVMaW1pdENvbmZpZ1Jlc3BvbnNlEhgKDnBvbGljeV92ZXJzaW9uGAEgASgEQgASNAoOZWZmZWN0aXZlX2Zyb20YAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgASMwoFcnVsZXMYAyADKAsyIi5yYXRlbGltaXQudjEuVHJhZGluZ1JhdGVMaW1pdFJ1bGVCACJNChtHZXRUcmFkaW5nUmF0ZUxpbWl0c1JlcXVlc3QSHAoNc3ViYWNjb3VudF9pZBgBIAEoBkIASACIAQFCEAoOX3N1YmFjY291bnRfaWQi4AEKHEdldFRyYWRpbmdSYXRlTGltaXRzUmVzcG9uc2USGAoOcG9saWN5X3ZlcnNpb24YASABKARCABI0Cg5lZmZlY3RpdmVfZnJvbRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCABIzCgVydWxlcxgDIAMoCzIiLnJhdGVsaW1pdC52MS5UcmFkaW5nUmF0ZUxpbWl0UnVsZUIAEjsKDWFwaV9rZXlfcnVsZXMYBCADKAsyIi5yYXRlbGltaXQudjEuVHJhZGluZ1JhdGVMaW1pdFJ1bGVCACqKAQoVVHJhZGluZ1JhdGVMaW1pdENsYXNzEigKJFRSQURJTkdfUkFURV9MSU1JVF9DTEFTU19VTlNQRUNJRklFRBAAEiIKHlRSQURJTkdfUkFURV9MSU1JVF9DTEFTU19QTEFDRRABEiMKH1RSQURJTkdfUkFURV9MSU1JVF9DTEFTU19DQU5DRUwQAjLzAQoQUmF0ZUxpbWl0U2VydmljZRJsChJHZXRSYXRlTGltaXRDb25maWcSJy5yYXRlbGltaXQudjEuR2V0UmF0ZUxpbWl0Q29uZmlnUmVxdWVzdBooLnJhdGVsaW1pdC52MS5HZXRSYXRlTGltaXRDb25maWdSZXNwb25zZSIDkAIBEm8KFEdldFRyYWRpbmdSYXRlTGltaXRzEikucmF0ZWxpbWl0LnYxLkdldFRyYWRpbmdSYXRlTGltaXRzUmVxdWVzdBoqLnJhdGVsaW1pdC52MS5HZXRUcmFkaW5nUmF0ZUxpbWl0c1Jlc3BvbnNlIgAaAEJGWkRnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL3JhdGVsaW1pdC92MTtyYXRlbGltaXR2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * TradingRateLimitRule describes one weighted placement or cancellation quota\n * for one VIP tier.\n *\n * @generated from message ratelimit.v1.TradingRateLimitRule\n */\nexport type TradingRateLimitRule = Message<\"ratelimit.v1.TradingRateLimitRule\"> & {\n /**\n * Trading operation family governed by this rule. Public responses contain\n * TRADING_RATE_LIMIT_CLASS_PLACE or TRADING_RATE_LIMIT_CLASS_CANCEL.\n *\n * @generated from field: ratelimit.v1.TradingRateLimitClass policy_class = 1;\n */\n policyClass: TradingRateLimitClass;\n\n /**\n * VIP tier for this rule, in the inclusive range 0 through 10.\n *\n * @generated from field: uint32 vip_tier = 2;\n */\n vipTier: number;\n\n /**\n * Weighted request capacity available during each policy period. One\n * operation consumes the weight assigned to that operation.\n *\n * @generated from field: uint64 quota_weight = 3;\n */\n quotaWeight: bigint;\n\n /**\n * Policy period duration in milliseconds.\n *\n * @generated from field: uint64 period_ms = 4;\n */\n periodMs: bigint;\n\n /**\n * Maximum weighted capacity that may be consumed in a burst.\n *\n * @generated from field: uint64 burst_weight = 5;\n */\n burstWeight: bigint;\n};\n\n/**\n * Describes the message ratelimit.v1.TradingRateLimitRule.\n * Use `create(TradingRateLimitRuleSchema)` to create a new message.\n */\nexport const TradingRateLimitRuleSchema: GenMessage<TradingRateLimitRule> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 0);\n\n/**\n * GetRateLimitConfigRequest requests the complete active public trading\n * rate-limit catalog.\n *\n * @generated from message ratelimit.v1.GetRateLimitConfigRequest\n */\nexport type GetRateLimitConfigRequest = Message<\"ratelimit.v1.GetRateLimitConfigRequest\"> & {\n};\n\n/**\n * Describes the message ratelimit.v1.GetRateLimitConfigRequest.\n * Use `create(GetRateLimitConfigRequestSchema)` to create a new message.\n */\nexport const GetRateLimitConfigRequestSchema: GenMessage<GetRateLimitConfigRequest> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 1);\n\n/**\n * GetRateLimitConfigResponse contains all placement and cancellation rules for\n * one complete policy version.\n *\n * @generated from message ratelimit.v1.GetRateLimitConfigResponse\n */\nexport type GetRateLimitConfigResponse = Message<\"ratelimit.v1.GetRateLimitConfigResponse\"> & {\n /**\n * Positive identifier of the returned rate-limit policy version.\n *\n * @generated from field: uint64 policy_version = 1;\n */\n policyVersion: bigint;\n\n /**\n * UTC time at which this policy version became effective.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 2;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Complete placement and cancellation catalog. Rules are ordered by policy\n * class, then by tier ascending. The list contains one rule per class for\n * each VIP0 through VIP10 tier and is not paginated.\n *\n * @generated from field: repeated ratelimit.v1.TradingRateLimitRule rules = 3;\n */\n rules: TradingRateLimitRule[];\n};\n\n/**\n * Describes the message ratelimit.v1.GetRateLimitConfigResponse.\n * Use `create(GetRateLimitConfigResponseSchema)` to create a new message.\n */\nexport const GetRateLimitConfigResponseSchema: GenMessage<GetRateLimitConfigResponse> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 2);\n\n/**\n * GetTradingRateLimitsRequest requests the effective trading limits for one\n * account target.\n *\n * @generated from message ratelimit.v1.GetTradingRateLimitsRequest\n */\nexport type GetTradingRateLimitsRequest = Message<\"ratelimit.v1.GetTradingRateLimitsRequest\"> & {\n /**\n * Optional public subaccount ID. When omitted, subaccount-scoped API keys\n * use their bound subaccount; other callers use their authenticated root\n * account.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message ratelimit.v1.GetTradingRateLimitsRequest.\n * Use `create(GetTradingRateLimitsRequestSchema)` to create a new message.\n */\nexport const GetTradingRateLimitsRequestSchema: GenMessage<GetTradingRateLimitsRequest> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 3);\n\n/**\n * GetTradingRateLimitsResponse contains every placement and cancellation\n * policy enforced for the selected account target and caller.\n *\n * @generated from message ratelimit.v1.GetTradingRateLimitsResponse\n */\nexport type GetTradingRateLimitsResponse = Message<\"ratelimit.v1.GetTradingRateLimitsResponse\"> & {\n /**\n * Positive identifier of the rate-limit policy version used for the\n * returned rules.\n *\n * @generated from field: uint64 policy_version = 1;\n */\n policyVersion: bigint;\n\n /**\n * UTC time at which this policy version became effective.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 2;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Account-scoped placement and cancellation rules for the selected account,\n * ordered with placement first and cancellation second.\n *\n * @generated from field: repeated ratelimit.v1.TradingRateLimitRule rules = 3;\n */\n rules: TradingRateLimitRule[];\n\n /**\n * API-key-scoped placement and cancellation rules, ordered with placement\n * first and cancellation second. Present only when the caller authenticated\n * with an API key. Both this scope and the account scope are enforced.\n *\n * @generated from field: repeated ratelimit.v1.TradingRateLimitRule api_key_rules = 4;\n */\n apiKeyRules: TradingRateLimitRule[];\n};\n\n/**\n * Describes the message ratelimit.v1.GetTradingRateLimitsResponse.\n * Use `create(GetTradingRateLimitsResponseSchema)` to create a new message.\n */\nexport const GetTradingRateLimitsResponseSchema: GenMessage<GetTradingRateLimitsResponse> = /*@__PURE__*/\n messageDesc(file_ratelimit_v1_ratelimit, 4);\n\n/**\n * TradingRateLimitClass identifies a public trading operation family.\n *\n * @generated from enum ratelimit.v1.TradingRateLimitClass\n */\nexport enum TradingRateLimitClass {\n /**\n * No trading operation family was provided.\n *\n * @generated from enum value: TRADING_RATE_LIMIT_CLASS_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * New-order placement and order modification.\n *\n * @generated from enum value: TRADING_RATE_LIMIT_CLASS_PLACE = 1;\n */\n PLACE = 1,\n\n /**\n * Order and trigger cancellation.\n *\n * @generated from enum value: TRADING_RATE_LIMIT_CLASS_CANCEL = 2;\n */\n CANCEL = 2,\n}\n\n/**\n * Describes the enum ratelimit.v1.TradingRateLimitClass.\n */\nexport const TradingRateLimitClassSchema: GenEnum<TradingRateLimitClass> = /*@__PURE__*/\n enumDesc(file_ratelimit_v1_ratelimit, 0);\n\n/**\n * RateLimitService serves public trading quota reference data and authenticated\n * effective trading limits.\n *\n * @generated from service ratelimit.v1.RateLimitService\n */\nexport const RateLimitService: GenService<{\n /**\n * Get the complete active placement and cancellation quota catalog for\n * VIP0 through VIP10.\n * This public, caller-independent catalog supports cacheable ConnectRPC GET.\n *\n * @generated from rpc ratelimit.v1.RateLimitService.GetRateLimitConfig\n */\n getRateLimitConfig: {\n methodKind: \"unary\";\n input: typeof GetRateLimitConfigRequestSchema;\n output: typeof GetRateLimitConfigResponseSchema;\n },\n /**\n * Get the effective placement and cancellation limits for the authenticated\n * caller's root account or selected subaccount.\n *\n * @generated from rpc ratelimit.v1.RateLimitService.GetTradingRateLimits\n */\n getTradingRateLimits: {\n methodKind: \"unary\";\n input: typeof GetTradingRateLimitsRequestSchema;\n output: typeof GetTradingRateLimitsResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_ratelimit_v1_ratelimit, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,gjDAAgjD,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAmDvnD,MAAa,6BACX,0BAAY,6BAA6B,CAAC;;;;;AAe5C,MAAa,kCACX,0BAAY,6BAA6B,CAAC;;;;;AAqC5C,MAAa,mCACX,0BAAY,6BAA6B,CAAC;;;;;AAuB5C,MAAa,oCACX,0BAAY,6BAA6B,CAAC;;;;;AA8C5C,MAAa,qCACX,0BAAY,6BAA6B,CAAC;;;;;;AAO5C,IAAY,wBAAL,yBAAA,uBAAA;;;;;;CAML,sBAAA,sBAAA,iBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,WAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,YAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,6BAA6B,CAAC;;;;;;;AAQzC,MAAa,mBAyBX,0BAAY,6BAA6B,CAAC"}
|
|
@@ -52,7 +52,7 @@ var quickswap_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
52
52
|
/**
|
|
53
53
|
* Describes the file swap/quickswap/v1/quickswap.proto.
|
|
54
54
|
*/
|
|
55
|
-
const file_swap_quickswap_v1_quickswap = /*@__PURE__*/ fileDesc("CiFzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXAucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIjcKC1Rva2VuQW1vdW50EhQKCmJhc2VfdW5pdHMYASABKAlCABISCghkZWNpbWFscxgCIAEoDUIAInEKClByb3RlY3Rpb24SHAoQbWF4X3NsaXBwYWdlX2JwcxgBIAEoDUIASAASOgoObWluX2Ftb3VudF9vdXQYAiABKAsy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CTEUqEkFGRklMSUFURVNfSU5WQUxJRDLMAgoQUXVpY2tTd2FwU2VydmljZRJnCg5RdW90ZVF1aWNrU3dhcBIoLnN3YXAucXVpY2tzd2FwLnYxLlF1b3RlUXVpY2tTd2FwUmVxdWVzdBopLnN3YXAucXVpY2tzd2FwLnYxLlF1b3RlUXVpY2tTd2FwUmVzcG9uc2UiABJqCg9DcmVhdGVRdWlja1N3YXASKS5zd2FwLnF1aWNrc3dhcC52MS5DcmVhdGVRdWlja1N3YXBSZXF1ZXN0Giouc3dhcC5xdWlja3N3YXAudjEuQ3JlYXRlUXVpY2tTd2FwUmVzcG9uc2UiABJhCgxHZXRRdWlja1N3YXASJi5zd2FwLnF1aWNrc3dhcC52MS5HZXRRdWlja1N3YXBSZXF1ZXN0Gicuc3dhcC5xdWlja3N3YXAudjEuR2V0UXVpY2tTd2FwUmVzcG9uc2UiABoAQktaSWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vc3dhcC9xdWlja3N3YXAvdjE7cXVpY2tzd2FwdjFiBnByb3RvMw==", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
55
|
+
const file_swap_quickswap_v1_quickswap = /*@__PURE__*/ fileDesc("CiFzd2FwL3F1aWNrc3dhcC92MS9xdWlja3N3YXAucHJvdG8SEXN3YXAucXVpY2tzd2FwLnYxIjcKC1Rva2VuQW1vdW50EhQKCmJhc2VfdW5pdHMYASABKAlCABISCghkZWNpbWFscxgCIAEoDUIAInEKClByb3RlY3Rpb24SHAoQbWF4X3NsaXBwYWdlX2JwcxgBIAEoDUIASAASOgoObWluX2Ftb3VudF9vdXQYAiABKAsyHi5zd2FwLnF1aWNrc3dhcC52MS5Ub2tlbkFtb3VudEIASABCCQoFYm91bmQSACIRCg9NYXJrZXRFeGVjdXRpb24iRQoNVHdhcEV4ZWN1dGlvbhIVCgtkdXJhdGlvbl9tcxgBIAEoBEIAEhsKEXNsaWNlX2ludGVydmFsX21zGAIgAS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VBAaEgwKCExBU1RfS0VZEBsSFAoQTUVNQkVSX05PVF9GT1VORBAcEhIKDkFMUkVBRFlfTUVNQkVSEB0SEwoPT1dORVJfSU1NVVRBQkxFEB4SFAoQSU5WSVRFX05PVF9GT1VORBAfEhAKDEZFRVNfSU5WQUxJRBAgEhQKEFNUQVRTX0lOQ09NUExFVEUQIRIUChBBRERSRVNTX0NPTkZMSUNUECIyzAIKEFF1aWNrU3dhcFNlcnZpY2USZwoOUXVvdGVRdWlja1N3YXASKC5zd2FwLnF1aWNrc3dhcC52MS5RdW90ZVF1aWNrU3dhcFJlcXVlc3QaKS5zd2FwLnF1aWNrc3dhcC52MS5RdW90ZVF1aWNrU3dhcFJlc3BvbnNlIgASagoPQ3JlYXRlUXVpY2tTd2FwEikuc3dhcC5xdWlja3N3YXAudjEuQ3JlYXRlUXVpY2tTd2FwUmVxdWVzdBoqLnN3YXAucXVpY2tzd2FwLnYxLkNyZWF0ZVF1aWNrU3dhcFJlc3BvbnNlIgASYQoMR2V0UXVpY2tTd2FwEiYuc3dhcC5xdWlja3N3YXAudjEuR2V0UXVpY2tTd2FwUmVxdWVzdBonLnN3YXAucXVpY2tzd2FwLnYxLkdldFF1aWNrU3dhcFJlc3BvbnNlIgAaAEJLWklnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL3N3YXAvcXVpY2tzd2FwL3YxO3F1aWNrc3dhcHYxYgZwcm90bzM=", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
56
56
|
/**
|
|
57
57
|
* Describes the message swap.quickswap.v1.TokenAmount.
|
|
58
58
|
* Use `create(TokenAmountSchema)` to create a new message.
|