@polyester/sdk 0.36.0-devnet-20261116002603 → 0.36.0-devnet-20261116150503

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.
Files changed (107) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/gen/auth/v1/auth_pb.d.ts +1 -1
  3. package/dist/gen/auth/v1/auth_pb.js +1 -1
  4. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  5. package/dist/gen/auth/v1/subaccounts_pb.d.ts +1 -1
  6. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  7. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +3 -2
  8. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  9. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +3 -2
  10. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  11. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +2 -1
  12. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
  13. package/dist/gen/ledger/read/v1/ledger_read_pb.js +2 -1
  14. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  15. package/dist/gen/marketdata/v1/heatmap_pb.d.ts +0 -3
  16. package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
  17. package/dist/gen/marketdata/v1/heatmap_pb.js +0 -3
  18. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  19. package/dist/gen/orderbook/v1/orderbook_pb.d.ts +28 -79
  20. package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
  21. package/dist/gen/orderbook/v1/orderbook_pb.js +3 -77
  22. package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
  23. package/dist/gen/orders/v1/orders_pb.d.ts +126 -71
  24. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  25. package/dist/gen/orders/v1/orders_pb.js +37 -19
  26. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  27. package/dist/gen/orders/v1/orders_read_pb.d.ts +30 -12
  28. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  29. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  30. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +87 -60
  31. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  32. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +1 -1
  33. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  34. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +14 -11
  35. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  36. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +8 -4
  37. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  38. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +45 -42
  39. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -1
  40. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +10 -10
  41. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -1
  42. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +2 -1
  43. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  44. package/dist/gen/transfer/v1/internal_transfer_pb.js +2 -1
  45. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  46. package/dist/gen/triggers/v1/triggers_pb.d.ts +65 -49
  47. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  48. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  49. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  50. package/dist/services/assistant/assistant-events.schemas.d.ts +75 -75
  51. package/dist/services/assistant/assistant.schemas.d.ts +1 -1
  52. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +16 -16
  53. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
  54. package/dist/services/balances/balances.schemas.js +1 -1
  55. package/dist/services/candles/candles.schemas.d.ts +10 -10
  56. package/dist/services/changelog/changelog.schemas.d.ts +38 -38
  57. package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
  58. package/dist/services/claims/claims.schemas.d.ts +2 -2
  59. package/dist/services/claims/claims.schemas.js +1 -1
  60. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +6 -6
  61. package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
  62. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  63. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
  64. package/dist/services/internal-transfers/internal-transfers.schemas.js +1 -1
  65. package/dist/services/lifecycle/lifecycle.schemas.d.ts +12 -12
  66. package/dist/services/lifecycle/lifecycle.schemas.js +1 -1
  67. package/dist/services/orderbook/orderbook.codecs.js +2 -42
  68. package/dist/services/orderbook/orderbook.codecs.js.map +1 -1
  69. package/dist/services/orderbook/orderbook.d.ts +3 -1
  70. package/dist/services/orderbook/orderbook.d.ts.map +1 -1
  71. package/dist/services/orderbook/orderbook.js +18 -11
  72. package/dist/services/orderbook/orderbook.js.map +1 -1
  73. package/dist/services/orderbook/orderbook.schemas.d.ts +12 -11
  74. package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
  75. package/dist/services/orderbook/orderbook.schemas.js +10 -12
  76. package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
  77. package/dist/services/orders/order-errors.schemas.d.ts +2 -2
  78. package/dist/services/orders/orders-batch.schemas.d.ts +40 -40
  79. package/dist/services/orders/orders-input.schemas.d.ts +6 -6
  80. package/dist/services/orders/orders-output.schemas.d.ts +11 -11
  81. package/dist/services/orders/orders-output.schemas.js +1 -1
  82. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +2 -2
  83. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
  84. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +2 -3
  85. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
  86. package/dist/services/price-alerts/price-alerts.schemas.d.ts +10 -10
  87. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  88. package/dist/services/statement-exports/statement-exports.schemas.d.ts +12 -12
  89. package/dist/services/subaccounts/subaccounts.schemas.d.ts +12 -12
  90. package/dist/services/system/system.schemas.d.ts +13 -13
  91. package/dist/services/trades/trades.schemas.d.ts +2 -2
  92. package/dist/services/trades/trades.schemas.js +1 -1
  93. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
  94. package/dist/services/transfers/transfers.schemas.js +1 -1
  95. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  96. package/dist/services/triggers/triggers-output.schemas.d.ts +50 -50
  97. package/dist/shared/decimal-surface.d.ts.map +1 -1
  98. package/dist/shared/decimal-surface.js +4 -1
  99. package/dist/shared/decimal-surface.js.map +1 -1
  100. package/dist/shared/error-details/withdraw.js +1 -1
  101. package/dist/shared/schemas.js +2 -2
  102. package/dist/shared/schemas.js.map +1 -1
  103. package/dist/utils/numbers.js +1 -10
  104. package/dist/utils/numbers.js.map +1 -1
  105. package/dist/utils/u128.js +1 -1
  106. package/dist/utils/u128.js.map +1 -1
  107. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"heatmap_pb.js","names":[],"sources":["../../../../src/gen/marketdata/v1/heatmap_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file marketdata/v1/heatmap.proto (package marketdata.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 marketdata/v1/heatmap.proto.\n */\nexport const file_marketdata_v1_heatmap: GenFile = /*@__PURE__*/\n fileDesc(\"ChttYXJrZXRkYXRhL3YxL2hlYXRtYXAucHJvdG8SDW1hcmtldGRhdGEudjEicgoQSGVhdG1hcFRpbWVSYW5nZRIuCgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIsCghlbmRfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXA6ACKuAgoaR2V0T3JkZXJib29rSGVhdG1hcFJlcXVlc3QSEwoJc3ltYm9sX2lkGAEgASgNQgASMgoIaW50ZXJ2YWwYAiABKA4yHi5tYXJrZXRkYXRhLnYxLkhlYXRtYXBJbnRlcnZhbEIAEiwKBWRlcHRoGAMgASgOMhsubWFya2V0ZGF0YS52MS5IZWF0bWFwRGVwdGhCABIzCgp0aW1lX3JhbmdlGAQgASgLMh8ubWFya2V0ZGF0YS52MS5IZWF0bWFwVGltZVJhbmdlEhQKCnBhZ2VfdG9rZW4YBSABKAlCABIPCgVsaW1pdBgGIAEoDUIAEjsKDXF1YW50aXR5X21vZGUYByABKA4yIi5tYXJrZXRkYXRhLnYxLkhlYXRtYXBRdWFudGl0eU1vZGVCADoAIjoKDUhlYXRtYXBMZXZlbHMSEwoLcHJpY2VfdGlja3MYASADKAMSEgoKcXR5X3NjYWxlZBgCIAMoAzoAIj8KEkhlYXRtYXBEZWx0YUxldmVscxITCgtwcmljZV90aWNrcxgBIAMoAxISCgpxdHlfc2NhbGVkGAIgAygDOgAizgEKD0hlYXRtYXBLZXlmcmFtZRIOCgZ0c19zZWMYASABKAQSFgoOYmVzdF9iaWRfdGlja3MYAiABKAMSFgoOYmVzdF9hc2tfdGlja3MYAyABKAMSEQoJbWlkX3RpY2tzGAQgASgDEioKBGJpZHMYBSABKAsyHC5tYXJrZXRkYXRhLnYxLkhlYXRtYXBMZXZlbHMSKgoEYXNrcxgGIAEoCzIcLm1hcmtldGRhdGEudjEuSGVhdG1hcExldmVscxIQCghib29rX3NlcRgHIAEoBCLPAQoSSGVhdG1hcERlbHRhQnVja2V0Eg4KBnRzX3NlYxgBIAEoBBIvCgRiaWRzGAIgASgLMiEubWFya2V0ZGF0YS52MS5IZWF0bWFwRGVsdGFMZXZlbHMSLwoEYXNrcxgDIAEoCzIhLm1hcmtldGRhdGEudjEuSGVhdG1hcERlbHRhTGV2ZWxzEhkKEXVwZGF0ZXNfaW5fYnVja2V0GAQgASgNEhYKDmJvb2tfc2VxX3N0YXJ0GAUgASgEEhQKDGJvb2tfc2VxX2VuZBgGIAEoBCKBAwoRSGVhdG1hcExpdmVCdWNrZXQSEQoJc3ltYm9sX2lkGAEgASgNEjIKCGludGVydmFsGAIgASgOMh4ubWFya2V0ZGF0YS52MS5IZWF0bWFwSW50ZXJ2YWxCABIOCgZ0c19zZWMYAyABKAQSEAoIaXNfZmluYWwYBCABKAgSLwoEYmlkcxgFIAEoCzIhLm1hcmtldGRhdGEudjEuSGVhdG1hcERlbHRhTGV2ZWxzEi8KBGFza3MYBiABKAsyIS5tYXJrZXRkYXRhLnYxLkhlYXRtYXBEZWx0YUxldmVscxIZChF1cGRhdGVzX2luX2J1Y2tldBgHIAEoDRIWCg5ib29rX3NlcV9zdGFydBgIIAEoBBIUCgxib29rX3NlcV9lbmQYCSABKAQSOwoNcXVhbnRpdHlfbW9kZRgKIAEoDjIiLm1hcmtldGRhdGEudjEuSGVhdG1hcFF1YW50aXR5TW9kZUIAEhsKE2VmZmVjdGl2ZV9iaW5fdGlja3MYCyABKAQifQoRSGVhdG1hcERlbHRhQ2hhaW4SNQoNYmFzZV9rZXlmcmFtZRgBIAEoCzIeLm1hcmtldGRhdGEudjEuSGVhdG1hcEtleWZyYW1lEjEKBmRlbHRhcxgCIAMoCzIhLm1hcmtldGRhdGEudjEuSGVhdG1hcERlbHRhQnVja2V0Ir0DChtHZXRPcmRlcmJvb2tIZWF0bWFwUmVzcG9uc2USEQoJc3ltYm9sX2lkGAEgASgNEjAKCGludGVydmFsGAIgASgOMh4ubWFya2V0ZGF0YS52MS5IZWF0bWFwSW50ZXJ2YWwSKgoFZGVwdGgYAyABKA4yGy5tYXJrZXRkYXRhLnYxLkhlYXRtYXBEZXB0aBIvCgVjaGFpbhgEIAEoCzIgLm1hcmtldGRhdGEudjEuSGVhdG1hcERlbHRhQ2hhaW4SHQoVbGFzdF9wZXJzaXN0ZWRfdHNfc2VjGAUgASgEEh4KFmxpdmVfZnJvbV9ib29rX3NlcV9lbmQYBiABKAQSFwoPaGFzX2xpdmVfYW5jaG9yGAcgASgIEhkKD25leHRfcGFnZV90b2tlbhgIIAEoCUIAEhcKD3NlcnZlcl90aW1lX3NlYxgKIAEoBBI5Cg1xdWFudGl0eV9tb2RlGAsgASgOMiIubWFya2V0ZGF0YS52MS5IZWF0bWFwUXVhbnRpdHlNb2RlEjUKC2xpdmVfYnVja2V0GAwgASgLMiAubWFya2V0ZGF0YS52MS5IZWF0bWFwTGl2ZUJ1Y2tldCpvCg9IZWF0bWFwSW50ZXJ2YWwSGAoUSU5URVJWQUxfVU5TUEVDSUZJRUQQABIPCgtJTlRFUlZBTF8xUxABEg8KC0lOVEVSVkFMXzFNEAISDwoLSU5URVJWQUxfNU0QAxIPCgtJTlRFUlZBTF8xSBAEKqYBCgxIZWF0bWFwRGVwdGgSFQoRREVQVEhfVU5TUEVDSUZJRUQQABILCgdERVBUSF8xEAESCwoHREVQVEhfNRACEgwKCERFUFRIXzEwEAMSDAoIREVQVEhfMjAQBBIMCghERVBUSF81MBAFEg0KCURFUFRIXzEwMBAGEg0KCURFUFRIXzIwMBAHEg0KCURFUFRIXzUwMBAIEg4KCkRFUFRIXzEwMDAQCSpEChNIZWF0bWFwUXVhbnRpdHlNb2RlEhgKFFFUWV9NT0RFX1VOU1BFQ0lGSUVEEAASCQoFQ0xPU0UQARIICgRQRUFLEAIyggEKDkhlYXRtYXBTZXJ2aWNlEm4KE0dldE9yZGVyYm9va0hlYXRtYXASKS5tYXJrZXRkYXRhLnYxLkdldE9yZGVyYm9va0hlYXRtYXBSZXF1ZXN0GioubWFya2V0ZGF0YS52MS5HZXRPcmRlcmJvb2tIZWF0bWFwUmVzcG9uc2UiABoAQkhaRmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vbWFya2V0ZGF0YS92MTttYXJrZXRkYXRhdjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * HeatmapTimeRange selects historical buckets by [start_time, end_time] (UTC).\n * At least one bound is required.\n *\n * @generated from message marketdata.v1.HeatmapTimeRange\n */\nexport type HeatmapTimeRange = Message<\"marketdata.v1.HeatmapTimeRange\"> & {\n /**\n * Inclusive lower bound in UTC. Omit to leave the lower bound open.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Inclusive upper bound in UTC. Omit to leave the upper bound open.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp | undefined;\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapTimeRange.\n * Use `create(HeatmapTimeRangeSchema)` to create a new message.\n */\nexport const HeatmapTimeRangeSchema: GenMessage<HeatmapTimeRange> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 0);\n\n/**\n * GetOrderbookHeatmapRequest fetches historical heatmap buckets.\n *\n * @generated from message marketdata.v1.GetOrderbookHeatmapRequest\n */\nexport type GetOrderbookHeatmapRequest = Message<\"marketdata.v1.GetOrderbookHeatmapRequest\"> & {\n /**\n * Numeric spot market identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Heatmap bucket interval.\n *\n * @generated from field: marketdata.v1.HeatmapInterval interval = 2;\n */\n interval: HeatmapInterval;\n\n /**\n * Top-N levels per side included in each bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDepth depth = 3;\n */\n depth: HeatmapDepth;\n\n /**\n * Absolute time range for the first page. Reuse the same request filters and\n * pass page_token from the prior response to continue older buckets.\n *\n * @generated from field: marketdata.v1.HeatmapTimeRange time_range = 4;\n */\n timeRange?: HeatmapTimeRange | undefined;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to symbol, interval, depth, quantity mode, and the original time\n * range.\n *\n * @generated from field: string page_token = 5;\n */\n pageToken: string;\n\n /**\n * Maximum number of delta buckets returned (min 1, max 20000).\n * This limit counts only `chain.deltas`; `chain.base_keyframe` is not counted.\n *\n * @generated from field: uint32 limit = 6;\n */\n limit: number;\n\n /**\n * Quantity mode used for qty_scaled in snapshot/delta levels:\n * - CLOSE: end-of-bucket quantity\n * - PEAK: intra-bucket peak quantity\n *\n * @generated from field: marketdata.v1.HeatmapQuantityMode quantity_mode = 7;\n */\n quantityMode: HeatmapQuantityMode;\n};\n\n/**\n * Describes the message marketdata.v1.GetOrderbookHeatmapRequest.\n * Use `create(GetOrderbookHeatmapRequestSchema)` to create a new message.\n */\nexport const GetOrderbookHeatmapRequestSchema: GenMessage<GetOrderbookHeatmapRequest> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 1);\n\n/**\n * HeatmapLevels represents one side of the orderbook for snapshots.\n * Arrays are aligned by index and prices are sorted ascending for both sides:\n * - price_ticks[i] <-> qty_scaled[i]\n *\n * @generated from message marketdata.v1.HeatmapLevels\n */\nexport type HeatmapLevels = Message<\"marketdata.v1.HeatmapLevels\"> & {\n /**\n * Price levels in quote units scaled by 1e9.\n *\n * @generated from field: repeated int64 price_ticks = 1;\n */\n priceTicks: bigint[];\n\n /**\n * Quantity at each price level according to quantity_mode, scaled by the\n * pair's base_quantity_scale from GetSpotConfig.\n *\n * @generated from field: repeated int64 qty_scaled = 2;\n */\n qtyScaled: bigint[];\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapLevels.\n * Use `create(HeatmapLevelsSchema)` to create a new message.\n */\nexport const HeatmapLevelsSchema: GenMessage<HeatmapLevels> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 2);\n\n/**\n * HeatmapDeltaLevels represents sparse per-bucket level changes for one side.\n * Arrays are aligned by index and prices are sorted ascending for both sides:\n * - price_ticks[i] <-> qty_scaled[i]\n * Delete semantics: qty_scaled[i] = 0 means delete level at price_ticks[i].\n *\n * @generated from message marketdata.v1.HeatmapDeltaLevels\n */\nexport type HeatmapDeltaLevels = Message<\"marketdata.v1.HeatmapDeltaLevels\"> & {\n /**\n * Price levels in quote units scaled by 1e9.\n *\n * @generated from field: repeated int64 price_ticks = 1;\n */\n priceTicks: bigint[];\n\n /**\n * Quantity at each price level, scaled by the pair's base_quantity_scale from\n * GetSpotConfig. A zero value deletes the level at the matching price_ticks\n * index.\n *\n * @generated from field: repeated int64 qty_scaled = 2;\n */\n qtyScaled: bigint[];\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapDeltaLevels.\n * Use `create(HeatmapDeltaLevelsSchema)` to create a new message.\n */\nexport const HeatmapDeltaLevelsSchema: GenMessage<HeatmapDeltaLevels> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 3);\n\n/**\n * HeatmapKeyframe is a full-book snapshot anchor.\n * Best bid, best ask and mid preserve the raw prices where available. For older\n * historical buckets without recorded raw prices, they use the reconstructed\n * price bins instead.\n *\n * @generated from message marketdata.v1.HeatmapKeyframe\n */\nexport type HeatmapKeyframe = Message<\"marketdata.v1.HeatmapKeyframe\"> & {\n /**\n * Snapshot timestamp (seconds since epoch, UTC).\n *\n * @generated from field: uint64 ts_sec = 1;\n */\n tsSec: bigint;\n\n /**\n * Best bid price in quote units scaled by 1e9.\n *\n * @generated from field: int64 best_bid_ticks = 2;\n */\n bestBidTicks: bigint;\n\n /**\n * Best ask price in quote units scaled by 1e9.\n *\n * @generated from field: int64 best_ask_ticks = 3;\n */\n bestAskTicks: bigint;\n\n /**\n * Mid price in quote units scaled by 1e9.\n *\n * @generated from field: int64 mid_ticks = 4;\n */\n midTicks: bigint;\n\n /**\n * Complete bid-side levels at the snapshot.\n *\n * @generated from field: marketdata.v1.HeatmapLevels bids = 5;\n */\n bids?: HeatmapLevels | undefined;\n\n /**\n * Complete ask-side levels at the snapshot.\n *\n * @generated from field: marketdata.v1.HeatmapLevels asks = 6;\n */\n asks?: HeatmapLevels | undefined;\n\n /**\n * Monotonic order book sequence at the snapshot.\n *\n * @generated from field: uint64 book_seq = 7;\n */\n bookSeq: bigint;\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapKeyframe.\n * Use `create(HeatmapKeyframeSchema)` to create a new message.\n */\nexport const HeatmapKeyframeSchema: GenMessage<HeatmapKeyframe> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 4);\n\n/**\n * HeatmapDeltaBucket is one sparse update bucket containing both sides.\n *\n * @generated from message marketdata.v1.HeatmapDeltaBucket\n */\nexport type HeatmapDeltaBucket = Message<\"marketdata.v1.HeatmapDeltaBucket\"> & {\n /**\n * Bucket start timestamp (seconds since epoch, UTC), aligned to `interval`.\n *\n * @generated from field: uint64 ts_sec = 1;\n */\n tsSec: bigint;\n\n /**\n * Sparse bid-side level changes in this bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaLevels bids = 2;\n */\n bids?: HeatmapDeltaLevels | undefined;\n\n /**\n * Sparse ask-side level changes in this bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaLevels asks = 3;\n */\n asks?: HeatmapDeltaLevels | undefined;\n\n /**\n * Number of upstream L2 updates aggregated into this interval bucket.\n *\n * @generated from field: uint32 updates_in_bucket = 4;\n */\n updatesInBucket: number;\n\n /**\n * Earliest monotonic order book sequence represented by this bucket.\n *\n * @generated from field: uint64 book_seq_start = 5;\n */\n bookSeqStart: bigint;\n\n /**\n * Latest monotonic order book sequence represented by this bucket.\n *\n * @generated from field: uint64 book_seq_end = 6;\n */\n bookSeqEnd: bigint;\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapDeltaBucket.\n * Use `create(HeatmapDeltaBucketSchema)` to create a new message.\n */\nexport const HeatmapDeltaBucketSchema: GenMessage<HeatmapDeltaBucket> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 5);\n\n/**\n * HeatmapLiveBucket is the canonical live payload for real-time heatmap updates.\n * It represents the latest state of one bucket (open or finalized).\n *\n * @generated from message marketdata.v1.HeatmapLiveBucket\n */\nexport type HeatmapLiveBucket = Message<\"marketdata.v1.HeatmapLiveBucket\"> & {\n /**\n * Numeric spot market identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Bucket interval for this payload.\n *\n * @generated from field: marketdata.v1.HeatmapInterval interval = 2;\n */\n interval: HeatmapInterval;\n\n /**\n * Bucket start timestamp (seconds since epoch, UTC), aligned to `interval`.\n *\n * @generated from field: uint64 ts_sec = 3;\n */\n tsSec: bigint;\n\n /**\n * True when this bucket is finalized; false for provisional updates to an\n * open bucket.\n *\n * @generated from field: bool is_final = 4;\n */\n isFinal: boolean;\n\n /**\n * Sparse bid-side level changes represented by this bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaLevels bids = 5;\n */\n bids?: HeatmapDeltaLevels | undefined;\n\n /**\n * Sparse ask-side level changes represented by this bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaLevels asks = 6;\n */\n asks?: HeatmapDeltaLevels | undefined;\n\n /**\n * Number of upstream L2 updates aggregated into this interval bucket.\n *\n * @generated from field: uint32 updates_in_bucket = 7;\n */\n updatesInBucket: number;\n\n /**\n * Earliest monotonic order book sequence represented by this bucket.\n *\n * @generated from field: uint64 book_seq_start = 8;\n */\n bookSeqStart: bigint;\n\n /**\n * Latest monotonic order book sequence represented by this bucket.\n *\n * @generated from field: uint64 book_seq_end = 9;\n */\n bookSeqEnd: bigint;\n\n /**\n * Quantity semantics for qty_scaled in bids and asks.\n *\n * @generated from field: marketdata.v1.HeatmapQuantityMode quantity_mode = 10;\n */\n quantityMode: HeatmapQuantityMode;\n\n /**\n * Effective bin stride for this symbol as a price delta in 1e-9 quote-unit\n * ticks.\n *\n * @generated from field: uint64 effective_bin_ticks = 11;\n */\n effectiveBinTicks: bigint;\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapLiveBucket.\n * Use `create(HeatmapLiveBucketSchema)` to create a new message.\n */\nexport const HeatmapLiveBucketSchema: GenMessage<HeatmapLiveBucket> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 6);\n\n/**\n * HeatmapDeltaChain is the historical payload for all intervals.\n * Reconstruct by applying deltas over base_keyframe.\n * Deltas are ordered oldest-first by ts_sec.\n *\n * @generated from message marketdata.v1.HeatmapDeltaChain\n */\nexport type HeatmapDeltaChain = Message<\"marketdata.v1.HeatmapDeltaChain\"> & {\n /**\n * Full-book snapshot from which to apply the returned deltas.\n *\n * @generated from field: marketdata.v1.HeatmapKeyframe base_keyframe = 1;\n */\n baseKeyframe?: HeatmapKeyframe | undefined;\n\n /**\n * Sparse update buckets ordered oldest-first by timestamp.\n *\n * @generated from field: repeated marketdata.v1.HeatmapDeltaBucket deltas = 2;\n */\n deltas: HeatmapDeltaBucket[];\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapDeltaChain.\n * Use `create(HeatmapDeltaChainSchema)` to create a new message.\n */\nexport const HeatmapDeltaChainSchema: GenMessage<HeatmapDeltaChain> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 7);\n\n/**\n * GetOrderbookHeatmapResponse returns a historical replay chain plus optional\n * live bucket state for explicit realtime stitching.\n *\n * @generated from message marketdata.v1.GetOrderbookHeatmapResponse\n */\nexport type GetOrderbookHeatmapResponse = Message<\"marketdata.v1.GetOrderbookHeatmapResponse\"> & {\n /**\n * Numeric spot market identifier returned for the requested market.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Bucket interval used for the returned chain.\n *\n * @generated from field: marketdata.v1.HeatmapInterval interval = 2;\n */\n interval: HeatmapInterval;\n\n /**\n * Top-N depth requested per side.\n *\n * @generated from field: marketdata.v1.HeatmapDepth depth = 3;\n */\n depth: HeatmapDepth;\n\n /**\n * Always returned as snapshot + sparse deltas for the requested interval.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaChain chain = 4;\n */\n chain?: HeatmapDeltaChain | undefined;\n\n /**\n * Latest finalized historical bucket timestamp in seconds since epoch (UTC).\n *\n * @generated from field: uint64 last_persisted_ts_sec = 5;\n */\n lastPersistedTsSec: bigint;\n\n /**\n * Book sequence anchor for realtime continuation; apply live updates where book_seq_end is greater than this value.\n *\n * @generated from field: uint64 live_from_book_seq_end = 6;\n */\n liveFromBookSeqEnd: bigint;\n\n /**\n * True when live_from_book_seq_end is available and can be used as a realtime continuation anchor.\n *\n * @generated from field: bool has_live_anchor = 7;\n */\n hasLiveAnchor: boolean;\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 8;\n */\n nextPageToken: string;\n\n /**\n * Server response time in seconds since epoch (UTC).\n *\n * @generated from field: uint64 server_time_sec = 10;\n */\n serverTimeSec: bigint;\n\n /**\n * Quantity mode used for all qty_scaled values in the response.\n *\n * @generated from field: marketdata.v1.HeatmapQuantityMode quantity_mode = 11;\n */\n quantityMode: HeatmapQuantityMode;\n\n /**\n * Optional latest live bucket for the requested interval and depth.\n * Present only when it is newer than the historical anchor and its quantity semantics match quantity_mode.\n *\n * @generated from field: marketdata.v1.HeatmapLiveBucket live_bucket = 12;\n */\n liveBucket?: HeatmapLiveBucket | undefined;\n};\n\n/**\n * Describes the message marketdata.v1.GetOrderbookHeatmapResponse.\n * Use `create(GetOrderbookHeatmapResponseSchema)` to create a new message.\n */\nexport const GetOrderbookHeatmapResponseSchema: GenMessage<GetOrderbookHeatmapResponse> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 8);\n\n/**\n * HeatmapInterval controls bucket resolution for historical orderbook heatmap.\n *\n * @generated from enum marketdata.v1.HeatmapInterval\n */\nexport enum HeatmapInterval {\n /**\n * @generated from enum value: INTERVAL_UNSPECIFIED = 0;\n */\n INTERVAL_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: INTERVAL_1S = 1;\n */\n INTERVAL_1S = 1,\n\n /**\n * @generated from enum value: INTERVAL_1M = 2;\n */\n INTERVAL_1M = 2,\n\n /**\n * @generated from enum value: INTERVAL_5M = 3;\n */\n INTERVAL_5M = 3,\n\n /**\n * @generated from enum value: INTERVAL_1H = 4;\n */\n INTERVAL_1H = 4,\n}\n\n/**\n * Describes the enum marketdata.v1.HeatmapInterval.\n */\nexport const HeatmapIntervalSchema: GenEnum<HeatmapInterval> = /*@__PURE__*/\n enumDesc(file_marketdata_v1_heatmap, 0);\n\n/**\n * HeatmapDepth controls top-N levels included per side in each heatmap bucket.\n *\n * Values intentionally mirror orderbook.v1.Depth for FE ergonomics, while\n * keeping this contract decoupled from orderbook service protos.\n *\n * @generated from enum marketdata.v1.HeatmapDepth\n */\nexport enum HeatmapDepth {\n /**\n * @generated from enum value: DEPTH_UNSPECIFIED = 0;\n */\n DEPTH_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: DEPTH_1 = 1;\n */\n DEPTH_1 = 1,\n\n /**\n * @generated from enum value: DEPTH_5 = 2;\n */\n DEPTH_5 = 2,\n\n /**\n * @generated from enum value: DEPTH_10 = 3;\n */\n DEPTH_10 = 3,\n\n /**\n * @generated from enum value: DEPTH_20 = 4;\n */\n DEPTH_20 = 4,\n\n /**\n * @generated from enum value: DEPTH_50 = 5;\n */\n DEPTH_50 = 5,\n\n /**\n * @generated from enum value: DEPTH_100 = 6;\n */\n DEPTH_100 = 6,\n\n /**\n * @generated from enum value: DEPTH_200 = 7;\n */\n DEPTH_200 = 7,\n\n /**\n * @generated from enum value: DEPTH_500 = 8;\n */\n DEPTH_500 = 8,\n\n /**\n * @generated from enum value: DEPTH_1000 = 9;\n */\n DEPTH_1000 = 9,\n}\n\n/**\n * Describes the enum marketdata.v1.HeatmapDepth.\n */\nexport const HeatmapDepthSchema: GenEnum<HeatmapDepth> = /*@__PURE__*/\n enumDesc(file_marketdata_v1_heatmap, 1);\n\n/**\n * HeatmapQuantityMode controls what qty_scaled means in returned levels.\n *\n * @generated from enum marketdata.v1.HeatmapQuantityMode\n */\nexport enum HeatmapQuantityMode {\n /**\n * @generated from enum value: QTY_MODE_UNSPECIFIED = 0;\n */\n QTY_MODE_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: CLOSE = 1;\n */\n CLOSE = 1,\n\n /**\n * @generated from enum value: PEAK = 2;\n */\n PEAK = 2,\n}\n\n/**\n * Describes the enum marketdata.v1.HeatmapQuantityMode.\n */\nexport const HeatmapQuantityModeSchema: GenEnum<HeatmapQuantityMode> = /*@__PURE__*/\n enumDesc(file_marketdata_v1_heatmap, 2);\n\n/**\n * HeatmapService serves historical orderbook heatmap chains.\n *\n * @generated from service marketdata.v1.HeatmapService\n */\nexport const HeatmapService: GenService<{\n /**\n * Retrieve historical orderbook heatmap data for a spot symbol.\n * - All intervals (1s/1m/5m/1h) return snapshot + sparse delta chain.\n * - Response may also include the latest live bucket state when available.\n * Response always includes realtime stitching anchors.\n * Replayable history starts at the oldest available snapshot. Earlier update\n * buckets are omitted, and pagination ends with an empty next_page_token.\n * A window entirely before replayable history returns an empty chain.\n *\n * @generated from rpc marketdata.v1.HeatmapService.GetOrderbookHeatmap\n */\n getOrderbookHeatmap: {\n methodKind: \"unary\";\n input: typeof GetOrderbookHeatmapRequestSchema;\n output: typeof GetOrderbookHeatmapResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_marketdata_v1_heatmap, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,6BACX,uBAAS,g0GAAg0G,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA4Bv4G,MAAa,yBACX,0BAAY,4BAA4B,CAAC;;;;;AAoE3C,MAAa,mCACX,0BAAY,4BAA4B,CAAC;;;;;AA8B3C,MAAa,sBACX,0BAAY,4BAA4B,CAAC;;;;;AAgC3C,MAAa,2BACX,0BAAY,4BAA4B,CAAC;;;;;AAiE3C,MAAa,wBACX,0BAAY,4BAA4B,CAAC;;;;;AAuD3C,MAAa,2BACX,0BAAY,4BAA4B,CAAC;;;;;AA6F3C,MAAa,0BACX,0BAAY,4BAA4B,CAAC;;;;;AA6B3C,MAAa,0BACX,0BAAY,4BAA4B,CAAC;;;;;AA4F3C,MAAa,oCACX,0BAAY,4BAA4B,CAAC;;;;;;AAO3C,IAAY,kBAAL,yBAAA,iBAAA;;;;CAIL,gBAAA,gBAAA,0BAAA,KAAA;;;;CAKA,gBAAA,gBAAA,iBAAA,KAAA;;;;CAKA,gBAAA,gBAAA,iBAAA,KAAA;;;;CAKA,gBAAA,gBAAA,iBAAA,KAAA;;;;CAKA,gBAAA,gBAAA,iBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,wBACX,uBAAS,4BAA4B,CAAC;;;;;;;;;AAUxC,IAAY,eAAL,yBAAA,cAAA;;;;CAIL,aAAA,aAAA,uBAAA,KAAA;;;;CAKA,aAAA,aAAA,aAAA,KAAA;;;;CAKA,aAAA,aAAA,aAAA,KAAA;;;;CAKA,aAAA,aAAA,cAAA,KAAA;;;;CAKA,aAAA,aAAA,cAAA,KAAA;;;;CAKA,aAAA,aAAA,cAAA,KAAA;;;;CAKA,aAAA,aAAA,eAAA,KAAA;;;;CAKA,aAAA,aAAA,eAAA,KAAA;;;;CAKA,aAAA,aAAA,eAAA,KAAA;;;;CAKA,aAAA,aAAA,gBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,qBACX,uBAAS,4BAA4B,CAAC;;;;;;AAOxC,IAAY,sBAAL,yBAAA,qBAAA;;;;CAIL,oBAAA,oBAAA,0BAAA,KAAA;;;;CAKA,oBAAA,oBAAA,WAAA,KAAA;;;;CAKA,oBAAA,oBAAA,UAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,4BACX,uBAAS,4BAA4B,CAAC;;;;;;AAOxC,MAAa,iBAkBX,0BAAY,4BAA4B,CAAC"}
1
+ {"version":3,"file":"heatmap_pb.js","names":[],"sources":["../../../../src/gen/marketdata/v1/heatmap_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file marketdata/v1/heatmap.proto (package marketdata.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 marketdata/v1/heatmap.proto.\n */\nexport const file_marketdata_v1_heatmap: GenFile = /*@__PURE__*/\n fileDesc(\"ChttYXJrZXRkYXRhL3YxL2hlYXRtYXAucHJvdG8SDW1hcmtldGRhdGEudjEicgoQSGVhdG1hcFRpbWVSYW5nZRIuCgpzdGFydF90aW1lGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIsCghlbmRfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXA6ACKuAgoaR2V0T3JkZXJib29rSGVhdG1hcFJlcXVlc3QSEwoJc3ltYm9sX2lkGAEgASgNQgASMgoIaW50ZXJ2YWwYAiABKA4yHi5tYXJrZXRkYXRhLnYxLkhlYXRtYXBJbnRlcnZhbEIAEiwKBWRlcHRoGAMgASgOMhsubWFya2V0ZGF0YS52MS5IZWF0bWFwRGVwdGhCABIzCgp0aW1lX3JhbmdlGAQgASgLMh8ubWFya2V0ZGF0YS52MS5IZWF0bWFwVGltZVJhbmdlEhQKCnBhZ2VfdG9rZW4YBSABKAlCABIPCgVsaW1pdBgGIAEoDUIAEjsKDXF1YW50aXR5X21vZGUYByABKA4yIi5tYXJrZXRkYXRhLnYxLkhlYXRtYXBRdWFudGl0eU1vZGVCADoAIjoKDUhlYXRtYXBMZXZlbHMSEwoLcHJpY2VfdGlja3MYASADKAMSEgoKcXR5X3NjYWxlZBgCIAMoAzoAIj8KEkhlYXRtYXBEZWx0YUxldmVscxITCgtwcmljZV90aWNrcxgBIAMoAxISCgpxdHlfc2NhbGVkGAIgAygDOgAizgEKD0hlYXRtYXBLZXlmcmFtZRIOCgZ0c19zZWMYASABKAQSFgoOYmVzdF9iaWRfdGlja3MYAiABKAMSFgoOYmVzdF9hc2tfdGlja3MYAyABKAMSEQoJbWlkX3RpY2tzGAQgASgDEioKBGJpZHMYBSABKAsyHC5tYXJrZXRkYXRhLnYxLkhlYXRtYXBMZXZlbHMSKgoEYXNrcxgGIAEoCzIcLm1hcmtldGRhdGEudjEuSGVhdG1hcExldmVscxIQCghib29rX3NlcRgHIAEoBCLPAQoSSGVhdG1hcERlbHRhQnVja2V0Eg4KBnRzX3NlYxgBIAEoBBIvCgRiaWRzGAIgASgLMiEubWFya2V0ZGF0YS52MS5IZWF0bWFwRGVsdGFMZXZlbHMSLwoEYXNrcxgDIAEoCzIhLm1hcmtldGRhdGEudjEuSGVhdG1hcERlbHRhTGV2ZWxzEhkKEXVwZGF0ZXNfaW5fYnVja2V0GAQgASgNEhYKDmJvb2tfc2VxX3N0YXJ0GAUgASgEEhQKDGJvb2tfc2VxX2VuZBgGIAEoBCKBAwoRSGVhdG1hcExpdmVCdWNrZXQSEQoJc3ltYm9sX2lkGAEgASgNEjIKCGludGVydmFsGAIgASgOMh4ubWFya2V0ZGF0YS52MS5IZWF0bWFwSW50ZXJ2YWxCABIOCgZ0c19zZWMYAyABKAQSEAoIaXNfZmluYWwYBCABKAgSLwoEYmlkcxgFIAEoCzIhLm1hcmtldGRhdGEudjEuSGVhdG1hcERlbHRhTGV2ZWxzEi8KBGFza3MYBiABKAsyIS5tYXJrZXRkYXRhLnYxLkhlYXRtYXBEZWx0YUxldmVscxIZChF1cGRhdGVzX2luX2J1Y2tldBgHIAEoDRIWCg5ib29rX3NlcV9zdGFydBgIIAEoBBIUCgxib29rX3NlcV9lbmQYCSABKAQSOwoNcXVhbnRpdHlfbW9kZRgKIAEoDjIiLm1hcmtldGRhdGEudjEuSGVhdG1hcFF1YW50aXR5TW9kZUIAEhsKE2VmZmVjdGl2ZV9iaW5fdGlja3MYCyABKAQifQoRSGVhdG1hcERlbHRhQ2hhaW4SNQoNYmFzZV9rZXlmcmFtZRgBIAEoCzIeLm1hcmtldGRhdGEudjEuSGVhdG1hcEtleWZyYW1lEjEKBmRlbHRhcxgCIAMoCzIhLm1hcmtldGRhdGEudjEuSGVhdG1hcERlbHRhQnVja2V0Ir0DChtHZXRPcmRlcmJvb2tIZWF0bWFwUmVzcG9uc2USEQoJc3ltYm9sX2lkGAEgASgNEjAKCGludGVydmFsGAIgASgOMh4ubWFya2V0ZGF0YS52MS5IZWF0bWFwSW50ZXJ2YWwSKgoFZGVwdGgYAyABKA4yGy5tYXJrZXRkYXRhLnYxLkhlYXRtYXBEZXB0aBIvCgVjaGFpbhgEIAEoCzIgLm1hcmtldGRhdGEudjEuSGVhdG1hcERlbHRhQ2hhaW4SHQoVbGFzdF9wZXJzaXN0ZWRfdHNfc2VjGAUgASgEEh4KFmxpdmVfZnJvbV9ib29rX3NlcV9lbmQYBiABKAQSFwoPaGFzX2xpdmVfYW5jaG9yGAcgASgIEhkKD25leHRfcGFnZV90b2tlbhgIIAEoCUIAEhcKD3NlcnZlcl90aW1lX3NlYxgKIAEoBBI5Cg1xdWFudGl0eV9tb2RlGAsgASgOMiIubWFya2V0ZGF0YS52MS5IZWF0bWFwUXVhbnRpdHlNb2RlEjUKC2xpdmVfYnVja2V0GAwgASgLMiAubWFya2V0ZGF0YS52MS5IZWF0bWFwTGl2ZUJ1Y2tldCpvCg9IZWF0bWFwSW50ZXJ2YWwSGAoUSU5URVJWQUxfVU5TUEVDSUZJRUQQABIPCgtJTlRFUlZBTF8xUxABEg8KC0lOVEVSVkFMXzFNEAISDwoLSU5URVJWQUxfNU0QAxIPCgtJTlRFUlZBTF8xSBAEKqYBCgxIZWF0bWFwRGVwdGgSFQoRREVQVEhfVU5TUEVDSUZJRUQQABILCgdERVBUSF8xEAESCwoHREVQVEhfNRACEgwKCERFUFRIXzEwEAMSDAoIREVQVEhfMjAQBBIMCghERVBUSF81MBAFEg0KCURFUFRIXzEwMBAGEg0KCURFUFRIXzIwMBAHEg0KCURFUFRIXzUwMBAIEg4KCkRFUFRIXzEwMDAQCSpEChNIZWF0bWFwUXVhbnRpdHlNb2RlEhgKFFFUWV9NT0RFX1VOU1BFQ0lGSUVEEAASCQoFQ0xPU0UQARIICgRQRUFLEAIyggEKDkhlYXRtYXBTZXJ2aWNlEm4KE0dldE9yZGVyYm9va0hlYXRtYXASKS5tYXJrZXRkYXRhLnYxLkdldE9yZGVyYm9va0hlYXRtYXBSZXF1ZXN0GioubWFya2V0ZGF0YS52MS5HZXRPcmRlcmJvb2tIZWF0bWFwUmVzcG9uc2UiABoAQkhaRmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vbWFya2V0ZGF0YS92MTttYXJrZXRkYXRhdjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * HeatmapTimeRange selects historical buckets by [start_time, end_time] (UTC).\n * At least one bound is required.\n *\n * @generated from message marketdata.v1.HeatmapTimeRange\n */\nexport type HeatmapTimeRange = Message<\"marketdata.v1.HeatmapTimeRange\"> & {\n /**\n * Inclusive lower bound in UTC. Omit to leave the lower bound open.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Inclusive upper bound in UTC. Omit to leave the upper bound open.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp | undefined;\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapTimeRange.\n * Use `create(HeatmapTimeRangeSchema)` to create a new message.\n */\nexport const HeatmapTimeRangeSchema: GenMessage<HeatmapTimeRange> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 0);\n\n/**\n * GetOrderbookHeatmapRequest fetches historical heatmap buckets.\n *\n * @generated from message marketdata.v1.GetOrderbookHeatmapRequest\n */\nexport type GetOrderbookHeatmapRequest = Message<\"marketdata.v1.GetOrderbookHeatmapRequest\"> & {\n /**\n * Numeric spot market identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Heatmap bucket interval.\n *\n * @generated from field: marketdata.v1.HeatmapInterval interval = 2;\n */\n interval: HeatmapInterval;\n\n /**\n * Top-N levels per side included in each bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDepth depth = 3;\n */\n depth: HeatmapDepth;\n\n /**\n * Absolute time range for the first page. Reuse the same request filters and\n * pass page_token from the prior response to continue older buckets.\n *\n * @generated from field: marketdata.v1.HeatmapTimeRange time_range = 4;\n */\n timeRange?: HeatmapTimeRange | undefined;\n\n /**\n * Opaque keyset cursor from a previous response. The cursor is exclusive and\n * bound to symbol, interval, depth, quantity mode, and the original time\n * range.\n *\n * @generated from field: string page_token = 5;\n */\n pageToken: string;\n\n /**\n * Maximum number of delta buckets returned (min 1, max 20000).\n * This limit counts only `chain.deltas`; `chain.base_keyframe` is not counted.\n *\n * @generated from field: uint32 limit = 6;\n */\n limit: number;\n\n /**\n * Quantity mode used for qty_scaled in snapshot/delta levels:\n * - CLOSE: end-of-bucket quantity\n * - PEAK: intra-bucket peak quantity\n *\n * @generated from field: marketdata.v1.HeatmapQuantityMode quantity_mode = 7;\n */\n quantityMode: HeatmapQuantityMode;\n};\n\n/**\n * Describes the message marketdata.v1.GetOrderbookHeatmapRequest.\n * Use `create(GetOrderbookHeatmapRequestSchema)` to create a new message.\n */\nexport const GetOrderbookHeatmapRequestSchema: GenMessage<GetOrderbookHeatmapRequest> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 1);\n\n/**\n * HeatmapLevels represents one side of the orderbook for snapshots.\n * Arrays are aligned by index and prices are sorted ascending for both sides:\n * - price_ticks[i] <-> qty_scaled[i]\n *\n * @generated from message marketdata.v1.HeatmapLevels\n */\nexport type HeatmapLevels = Message<\"marketdata.v1.HeatmapLevels\"> & {\n /**\n * Price levels in quote units scaled by 1e9.\n *\n * @generated from field: repeated int64 price_ticks = 1;\n */\n priceTicks: bigint[];\n\n /**\n * Quantity at each price level according to quantity_mode, scaled by the\n * pair's base_quantity_scale from GetSpotConfig.\n *\n * @generated from field: repeated int64 qty_scaled = 2;\n */\n qtyScaled: bigint[];\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapLevels.\n * Use `create(HeatmapLevelsSchema)` to create a new message.\n */\nexport const HeatmapLevelsSchema: GenMessage<HeatmapLevels> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 2);\n\n/**\n * HeatmapDeltaLevels represents sparse per-bucket level changes for one side.\n * Arrays are aligned by index and prices are sorted ascending for both sides:\n * - price_ticks[i] <-> qty_scaled[i]\n * Delete semantics: qty_scaled[i] = 0 means delete level at price_ticks[i].\n *\n * @generated from message marketdata.v1.HeatmapDeltaLevels\n */\nexport type HeatmapDeltaLevels = Message<\"marketdata.v1.HeatmapDeltaLevels\"> & {\n /**\n * Price levels in quote units scaled by 1e9.\n *\n * @generated from field: repeated int64 price_ticks = 1;\n */\n priceTicks: bigint[];\n\n /**\n * Quantity at each price level, scaled by the pair's base_quantity_scale from\n * GetSpotConfig. A zero value deletes the level at the matching price_ticks\n * index.\n *\n * @generated from field: repeated int64 qty_scaled = 2;\n */\n qtyScaled: bigint[];\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapDeltaLevels.\n * Use `create(HeatmapDeltaLevelsSchema)` to create a new message.\n */\nexport const HeatmapDeltaLevelsSchema: GenMessage<HeatmapDeltaLevels> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 3);\n\n/**\n * HeatmapKeyframe is a full-book snapshot anchor.\n * Best bid, best ask and mid preserve the raw prices where available. For older\n * historical buckets without recorded raw prices, they use the reconstructed\n * price bins instead.\n *\n * @generated from message marketdata.v1.HeatmapKeyframe\n */\nexport type HeatmapKeyframe = Message<\"marketdata.v1.HeatmapKeyframe\"> & {\n /**\n * Snapshot timestamp (seconds since epoch, UTC).\n *\n * @generated from field: uint64 ts_sec = 1;\n */\n tsSec: bigint;\n\n /**\n * Best bid price in quote units scaled by 1e9.\n *\n * @generated from field: int64 best_bid_ticks = 2;\n */\n bestBidTicks: bigint;\n\n /**\n * Best ask price in quote units scaled by 1e9.\n *\n * @generated from field: int64 best_ask_ticks = 3;\n */\n bestAskTicks: bigint;\n\n /**\n * Mid price in quote units scaled by 1e9.\n *\n * @generated from field: int64 mid_ticks = 4;\n */\n midTicks: bigint;\n\n /**\n * Complete bid-side levels at the snapshot.\n *\n * @generated from field: marketdata.v1.HeatmapLevels bids = 5;\n */\n bids?: HeatmapLevels | undefined;\n\n /**\n * Complete ask-side levels at the snapshot.\n *\n * @generated from field: marketdata.v1.HeatmapLevels asks = 6;\n */\n asks?: HeatmapLevels | undefined;\n\n /**\n * Monotonic order book sequence at the snapshot.\n *\n * @generated from field: uint64 book_seq = 7;\n */\n bookSeq: bigint;\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapKeyframe.\n * Use `create(HeatmapKeyframeSchema)` to create a new message.\n */\nexport const HeatmapKeyframeSchema: GenMessage<HeatmapKeyframe> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 4);\n\n/**\n * HeatmapDeltaBucket is one sparse update bucket containing both sides.\n *\n * @generated from message marketdata.v1.HeatmapDeltaBucket\n */\nexport type HeatmapDeltaBucket = Message<\"marketdata.v1.HeatmapDeltaBucket\"> & {\n /**\n * Bucket start timestamp (seconds since epoch, UTC), aligned to `interval`.\n *\n * @generated from field: uint64 ts_sec = 1;\n */\n tsSec: bigint;\n\n /**\n * Sparse bid-side level changes in this bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaLevels bids = 2;\n */\n bids?: HeatmapDeltaLevels | undefined;\n\n /**\n * Sparse ask-side level changes in this bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaLevels asks = 3;\n */\n asks?: HeatmapDeltaLevels | undefined;\n\n /**\n * Number of upstream L2 updates aggregated into this interval bucket.\n *\n * @generated from field: uint32 updates_in_bucket = 4;\n */\n updatesInBucket: number;\n\n /**\n * Earliest monotonic order book sequence represented by this bucket.\n *\n * @generated from field: uint64 book_seq_start = 5;\n */\n bookSeqStart: bigint;\n\n /**\n * Latest monotonic order book sequence represented by this bucket.\n *\n * @generated from field: uint64 book_seq_end = 6;\n */\n bookSeqEnd: bigint;\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapDeltaBucket.\n * Use `create(HeatmapDeltaBucketSchema)` to create a new message.\n */\nexport const HeatmapDeltaBucketSchema: GenMessage<HeatmapDeltaBucket> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 5);\n\n/**\n * HeatmapLiveBucket is the canonical live payload for real-time heatmap updates.\n * It represents the latest state of one bucket (open or finalized).\n *\n * @generated from message marketdata.v1.HeatmapLiveBucket\n */\nexport type HeatmapLiveBucket = Message<\"marketdata.v1.HeatmapLiveBucket\"> & {\n /**\n * Numeric spot market identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Bucket interval for this payload.\n *\n * @generated from field: marketdata.v1.HeatmapInterval interval = 2;\n */\n interval: HeatmapInterval;\n\n /**\n * Bucket start timestamp (seconds since epoch, UTC), aligned to `interval`.\n *\n * @generated from field: uint64 ts_sec = 3;\n */\n tsSec: bigint;\n\n /**\n * True when this bucket is finalized; false for provisional updates to an\n * open bucket.\n *\n * @generated from field: bool is_final = 4;\n */\n isFinal: boolean;\n\n /**\n * Sparse bid-side level changes represented by this bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaLevels bids = 5;\n */\n bids?: HeatmapDeltaLevels | undefined;\n\n /**\n * Sparse ask-side level changes represented by this bucket.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaLevels asks = 6;\n */\n asks?: HeatmapDeltaLevels | undefined;\n\n /**\n * Number of upstream L2 updates aggregated into this interval bucket.\n *\n * @generated from field: uint32 updates_in_bucket = 7;\n */\n updatesInBucket: number;\n\n /**\n * Earliest monotonic order book sequence represented by this bucket.\n *\n * @generated from field: uint64 book_seq_start = 8;\n */\n bookSeqStart: bigint;\n\n /**\n * Latest monotonic order book sequence represented by this bucket.\n *\n * @generated from field: uint64 book_seq_end = 9;\n */\n bookSeqEnd: bigint;\n\n /**\n * Quantity semantics for qty_scaled in bids and asks.\n *\n * @generated from field: marketdata.v1.HeatmapQuantityMode quantity_mode = 10;\n */\n quantityMode: HeatmapQuantityMode;\n\n /**\n * Effective bin stride for this symbol as a price delta in 1e-9 quote-unit\n * ticks.\n *\n * @generated from field: uint64 effective_bin_ticks = 11;\n */\n effectiveBinTicks: bigint;\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapLiveBucket.\n * Use `create(HeatmapLiveBucketSchema)` to create a new message.\n */\nexport const HeatmapLiveBucketSchema: GenMessage<HeatmapLiveBucket> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 6);\n\n/**\n * HeatmapDeltaChain is the historical payload for all intervals.\n * Reconstruct by applying deltas over base_keyframe.\n * Deltas are ordered oldest-first by ts_sec.\n *\n * @generated from message marketdata.v1.HeatmapDeltaChain\n */\nexport type HeatmapDeltaChain = Message<\"marketdata.v1.HeatmapDeltaChain\"> & {\n /**\n * Full-book snapshot from which to apply the returned deltas.\n *\n * @generated from field: marketdata.v1.HeatmapKeyframe base_keyframe = 1;\n */\n baseKeyframe?: HeatmapKeyframe | undefined;\n\n /**\n * Sparse update buckets ordered oldest-first by timestamp.\n *\n * @generated from field: repeated marketdata.v1.HeatmapDeltaBucket deltas = 2;\n */\n deltas: HeatmapDeltaBucket[];\n};\n\n/**\n * Describes the message marketdata.v1.HeatmapDeltaChain.\n * Use `create(HeatmapDeltaChainSchema)` to create a new message.\n */\nexport const HeatmapDeltaChainSchema: GenMessage<HeatmapDeltaChain> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 7);\n\n/**\n * GetOrderbookHeatmapResponse returns a historical replay chain plus optional\n * live bucket state for explicit realtime stitching.\n *\n * @generated from message marketdata.v1.GetOrderbookHeatmapResponse\n */\nexport type GetOrderbookHeatmapResponse = Message<\"marketdata.v1.GetOrderbookHeatmapResponse\"> & {\n /**\n * Numeric spot market identifier returned for the requested market.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Bucket interval used for the returned chain.\n *\n * @generated from field: marketdata.v1.HeatmapInterval interval = 2;\n */\n interval: HeatmapInterval;\n\n /**\n * Top-N depth requested per side.\n *\n * @generated from field: marketdata.v1.HeatmapDepth depth = 3;\n */\n depth: HeatmapDepth;\n\n /**\n * Always returned as snapshot + sparse deltas for the requested interval.\n *\n * @generated from field: marketdata.v1.HeatmapDeltaChain chain = 4;\n */\n chain?: HeatmapDeltaChain | undefined;\n\n /**\n * Latest finalized historical bucket timestamp in seconds since epoch (UTC).\n *\n * @generated from field: uint64 last_persisted_ts_sec = 5;\n */\n lastPersistedTsSec: bigint;\n\n /**\n * Book sequence anchor for realtime continuation; apply live updates where book_seq_end is greater than this value.\n *\n * @generated from field: uint64 live_from_book_seq_end = 6;\n */\n liveFromBookSeqEnd: bigint;\n\n /**\n * True when live_from_book_seq_end is available and can be used as a realtime continuation anchor.\n *\n * @generated from field: bool has_live_anchor = 7;\n */\n hasLiveAnchor: boolean;\n\n /**\n * Opaque cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 8;\n */\n nextPageToken: string;\n\n /**\n * Server response time in seconds since epoch (UTC).\n *\n * @generated from field: uint64 server_time_sec = 10;\n */\n serverTimeSec: bigint;\n\n /**\n * Quantity mode used for all qty_scaled values in the response.\n *\n * @generated from field: marketdata.v1.HeatmapQuantityMode quantity_mode = 11;\n */\n quantityMode: HeatmapQuantityMode;\n\n /**\n * Optional latest live bucket for the requested interval and depth.\n * Present only when it is newer than the historical anchor and its quantity semantics match quantity_mode.\n *\n * @generated from field: marketdata.v1.HeatmapLiveBucket live_bucket = 12;\n */\n liveBucket?: HeatmapLiveBucket | undefined;\n};\n\n/**\n * Describes the message marketdata.v1.GetOrderbookHeatmapResponse.\n * Use `create(GetOrderbookHeatmapResponseSchema)` to create a new message.\n */\nexport const GetOrderbookHeatmapResponseSchema: GenMessage<GetOrderbookHeatmapResponse> = /*@__PURE__*/\n messageDesc(file_marketdata_v1_heatmap, 8);\n\n/**\n * HeatmapInterval controls bucket resolution for historical orderbook heatmap.\n *\n * @generated from enum marketdata.v1.HeatmapInterval\n */\nexport enum HeatmapInterval {\n /**\n * @generated from enum value: INTERVAL_UNSPECIFIED = 0;\n */\n INTERVAL_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: INTERVAL_1S = 1;\n */\n INTERVAL_1S = 1,\n\n /**\n * @generated from enum value: INTERVAL_1M = 2;\n */\n INTERVAL_1M = 2,\n\n /**\n * @generated from enum value: INTERVAL_5M = 3;\n */\n INTERVAL_5M = 3,\n\n /**\n * @generated from enum value: INTERVAL_1H = 4;\n */\n INTERVAL_1H = 4,\n}\n\n/**\n * Describes the enum marketdata.v1.HeatmapInterval.\n */\nexport const HeatmapIntervalSchema: GenEnum<HeatmapInterval> = /*@__PURE__*/\n enumDesc(file_marketdata_v1_heatmap, 0);\n\n/**\n * HeatmapDepth controls top-N levels included per side in each heatmap bucket.\n *\n * @generated from enum marketdata.v1.HeatmapDepth\n */\nexport enum HeatmapDepth {\n /**\n * @generated from enum value: DEPTH_UNSPECIFIED = 0;\n */\n DEPTH_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: DEPTH_1 = 1;\n */\n DEPTH_1 = 1,\n\n /**\n * @generated from enum value: DEPTH_5 = 2;\n */\n DEPTH_5 = 2,\n\n /**\n * @generated from enum value: DEPTH_10 = 3;\n */\n DEPTH_10 = 3,\n\n /**\n * @generated from enum value: DEPTH_20 = 4;\n */\n DEPTH_20 = 4,\n\n /**\n * @generated from enum value: DEPTH_50 = 5;\n */\n DEPTH_50 = 5,\n\n /**\n * @generated from enum value: DEPTH_100 = 6;\n */\n DEPTH_100 = 6,\n\n /**\n * @generated from enum value: DEPTH_200 = 7;\n */\n DEPTH_200 = 7,\n\n /**\n * @generated from enum value: DEPTH_500 = 8;\n */\n DEPTH_500 = 8,\n\n /**\n * @generated from enum value: DEPTH_1000 = 9;\n */\n DEPTH_1000 = 9,\n}\n\n/**\n * Describes the enum marketdata.v1.HeatmapDepth.\n */\nexport const HeatmapDepthSchema: GenEnum<HeatmapDepth> = /*@__PURE__*/\n enumDesc(file_marketdata_v1_heatmap, 1);\n\n/**\n * HeatmapQuantityMode controls what qty_scaled means in returned levels.\n *\n * @generated from enum marketdata.v1.HeatmapQuantityMode\n */\nexport enum HeatmapQuantityMode {\n /**\n * @generated from enum value: QTY_MODE_UNSPECIFIED = 0;\n */\n QTY_MODE_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: CLOSE = 1;\n */\n CLOSE = 1,\n\n /**\n * @generated from enum value: PEAK = 2;\n */\n PEAK = 2,\n}\n\n/**\n * Describes the enum marketdata.v1.HeatmapQuantityMode.\n */\nexport const HeatmapQuantityModeSchema: GenEnum<HeatmapQuantityMode> = /*@__PURE__*/\n enumDesc(file_marketdata_v1_heatmap, 2);\n\n/**\n * HeatmapService serves historical orderbook heatmap chains.\n *\n * @generated from service marketdata.v1.HeatmapService\n */\nexport const HeatmapService: GenService<{\n /**\n * Retrieve historical orderbook heatmap data for a spot symbol.\n * - All intervals (1s/1m/5m/1h) return snapshot + sparse delta chain.\n * - Response may also include the latest live bucket state when available.\n * Response always includes realtime stitching anchors.\n * Replayable history starts at the oldest available snapshot. Earlier update\n * buckets are omitted, and pagination ends with an empty next_page_token.\n * A window entirely before replayable history returns an empty chain.\n *\n * @generated from rpc marketdata.v1.HeatmapService.GetOrderbookHeatmap\n */\n getOrderbookHeatmap: {\n methodKind: \"unary\";\n input: typeof GetOrderbookHeatmapRequestSchema;\n output: typeof GetOrderbookHeatmapResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_marketdata_v1_heatmap, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,6BACX,uBAAS,g0GAAg0G,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA4Bv4G,MAAa,yBACX,0BAAY,4BAA4B,CAAC;;;;;AAoE3C,MAAa,mCACX,0BAAY,4BAA4B,CAAC;;;;;AA8B3C,MAAa,sBACX,0BAAY,4BAA4B,CAAC;;;;;AAgC3C,MAAa,2BACX,0BAAY,4BAA4B,CAAC;;;;;AAiE3C,MAAa,wBACX,0BAAY,4BAA4B,CAAC;;;;;AAuD3C,MAAa,2BACX,0BAAY,4BAA4B,CAAC;;;;;AA6F3C,MAAa,0BACX,0BAAY,4BAA4B,CAAC;;;;;AA6B3C,MAAa,0BACX,0BAAY,4BAA4B,CAAC;;;;;AA4F3C,MAAa,oCACX,0BAAY,4BAA4B,CAAC;;;;;;AAO3C,IAAY,kBAAL,yBAAA,iBAAA;;;;CAIL,gBAAA,gBAAA,0BAAA,KAAA;;;;CAKA,gBAAA,gBAAA,iBAAA,KAAA;;;;CAKA,gBAAA,gBAAA,iBAAA,KAAA;;;;CAKA,gBAAA,gBAAA,iBAAA,KAAA;;;;CAKA,gBAAA,gBAAA,iBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,wBACX,uBAAS,4BAA4B,CAAC;;;;;;AAOxC,IAAY,eAAL,yBAAA,cAAA;;;;CAIL,aAAA,aAAA,uBAAA,KAAA;;;;CAKA,aAAA,aAAA,aAAA,KAAA;;;;CAKA,aAAA,aAAA,aAAA,KAAA;;;;CAKA,aAAA,aAAA,cAAA,KAAA;;;;CAKA,aAAA,aAAA,cAAA,KAAA;;;;CAKA,aAAA,aAAA,cAAA,KAAA;;;;CAKA,aAAA,aAAA,eAAA,KAAA;;;;CAKA,aAAA,aAAA,eAAA,KAAA;;;;CAKA,aAAA,aAAA,eAAA,KAAA;;;;CAKA,aAAA,aAAA,gBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,qBACX,uBAAS,4BAA4B,CAAC;;;;;;AAOxC,IAAY,sBAAL,yBAAA,qBAAA;;;;CAIL,oBAAA,oBAAA,0BAAA,KAAA;;;;CAKA,oBAAA,oBAAA,WAAA,KAAA;;;;CAKA,oBAAA,oBAAA,UAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,4BACX,uBAAS,4BAA4B,CAAC;;;;;;AAOxC,MAAa,iBAkBX,0BAAY,4BAA4B,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { Message } from "@bufbuild/protobuf";
2
- import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
3
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
4
  declare namespace orderbook_pb_d_exports {
5
- export { Depth, DepthSchema, GetOrderBookRequest, GetOrderBookRequestSchema, GetOrderBookResponse, GetOrderBookResponseSchema, OrderBookDelta, OrderBookDeltaSchema, OrderbookService, PriceLevel, PriceLevelSchema, file_orderbook_v1_orderbook };
5
+ export { GetOrderBookRequest, GetOrderBookRequestSchema, GetOrderBookResponse, GetOrderBookResponseSchema, OrderBookDelta, OrderBookDeltaSchema, OrderbookService, PriceLevel, PriceLevelSchema, file_orderbook_v1_orderbook };
6
6
  }
7
7
  /**
8
8
  * Describes the file orderbook/v1/orderbook.proto.
@@ -21,11 +21,13 @@ type GetOrderBookRequest = Message<"orderbook.v1.GetOrderBookRequest"> & {
21
21
  */
22
22
  symbolId: number;
23
23
  /**
24
- * Requested depth per side (number of price levels). Default is 50.
24
+ * Number of price levels per side, from 1 to the max_depth every response
25
+ * reports. 0 (unset) selects the default of 50. A depth above max_depth is
26
+ * rejected with INVALID_ARGUMENT, never truncated.
25
27
  *
26
- * @generated from field: orderbook.v1.Depth depth = 2;
28
+ * @generated from field: uint32 depth = 3;
27
29
  */
28
- depth: Depth;
30
+ depth: number;
29
31
  };
30
32
  /**
31
33
  * Describes the message orderbook.v1.GetOrderBookRequest.
@@ -74,7 +76,8 @@ type GetOrderBookResponse = Message<"orderbook.v1.GetOrderBookResponse"> & {
74
76
  */
75
77
  symbolId: number;
76
78
  /**
77
- * Monotonic book sequence for this symbol.
79
+ * Book sequence of this snapshot within book_epoch. Monotonic within one
80
+ * epoch; compare it only with sequences of the same epoch.
78
81
  *
79
82
  * @generated from field: uint64 book_seq = 2;
80
83
  */
@@ -108,6 +111,22 @@ type GetOrderBookResponse = Message<"orderbook.v1.GetOrderBookResponse"> & {
108
111
  * @generated from field: bool available = 6;
109
112
  */
110
113
  available: boolean;
114
+ /**
115
+ * Epoch of book_seq. Order snapshots by (book_epoch, book_seq): a higher
116
+ * epoch is newer whatever its book_seq, and a new epoch may restart
117
+ * book_seq. Discard a snapshot whose epoch is older than the newest one
118
+ * seen for the symbol. 0 while available is false.
119
+ *
120
+ * @generated from field: uint64 book_epoch = 7;
121
+ */
122
+ bookEpoch: bigint;
123
+ /**
124
+ * Largest depth per side the service accepts, the upper bound of the
125
+ * request's depth. Set in every response, available or not.
126
+ *
127
+ * @generated from field: uint32 max_depth = 8;
128
+ */
129
+ maxDepth: number;
111
130
  };
112
131
  /**
113
132
  * Describes the message orderbook.v1.GetOrderBookResponse.
@@ -190,84 +209,14 @@ type OrderBookDelta = Message<"orderbook.v1.OrderBookDelta"> & {
190
209
  * Use `create(OrderBookDeltaSchema)` to create a new message.
191
210
  */
192
211
  declare const OrderBookDeltaSchema: GenMessage<OrderBookDelta>;
193
- /**
194
- * Depth specifies the number of price levels per side.
195
- *
196
- * @generated from enum orderbook.v1.Depth
197
- */
198
- declare enum Depth {
199
- /**
200
- * Default depth (50 levels per side).
201
- *
202
- * @generated from enum value: DEPTH_UNSPECIFIED = 0;
203
- */
204
- DEPTH_UNSPECIFIED = 0,
205
- /**
206
- * 1 level per side (top of book / best bid-ask).
207
- *
208
- * @generated from enum value: DEPTH_1 = 1;
209
- */
210
- DEPTH_1 = 1,
211
- /**
212
- * 5 levels per side.
213
- *
214
- * @generated from enum value: DEPTH_5 = 2;
215
- */
216
- DEPTH_5 = 2,
217
- /**
218
- * 10 levels per side.
219
- *
220
- * @generated from enum value: DEPTH_10 = 3;
221
- */
222
- DEPTH_10 = 3,
223
- /**
224
- * 20 levels per side.
225
- *
226
- * @generated from enum value: DEPTH_20 = 4;
227
- */
228
- DEPTH_20 = 4,
229
- /**
230
- * 50 levels per side.
231
- *
232
- * @generated from enum value: DEPTH_50 = 5;
233
- */
234
- DEPTH_50 = 5,
235
- /**
236
- * 100 levels per side.
237
- *
238
- * @generated from enum value: DEPTH_100 = 6;
239
- */
240
- DEPTH_100 = 6,
241
- /**
242
- * 200 levels per side.
243
- *
244
- * @generated from enum value: DEPTH_200 = 7;
245
- */
246
- DEPTH_200 = 7,
247
- /**
248
- * 500 levels per side.
249
- *
250
- * @generated from enum value: DEPTH_500 = 8;
251
- */
252
- DEPTH_500 = 8,
253
- /**
254
- * 1000 levels per side.
255
- *
256
- * @generated from enum value: DEPTH_1000 = 9;
257
- */
258
- DEPTH_1000 = 9
259
- }
260
- /**
261
- * Describes the enum orderbook.v1.Depth.
262
- */
263
- declare const DepthSchema: GenEnum<Depth>;
264
212
  /**
265
213
  * @generated from service orderbook.v1.OrderbookService
266
214
  */
267
215
  declare const OrderbookService: GenService<{
268
216
  /**
269
217
  * Retrieve a spot order book depth snapshot for a symbol.
270
- * Supports selectable depth per side and returns best bid/ask levels.
218
+ * Supports a selectable depth per side, up to the max_depth each response
219
+ * reports, and returns best bid/ask levels.
271
220
  *
272
221
  * @generated from rpc orderbook.v1.OrderbookService.GetOrderBook
273
222
  */
@@ -278,5 +227,5 @@ declare const OrderbookService: GenService<{
278
227
  };
279
228
  }>;
280
229
  //#endregion
281
- export { Depth, DepthSchema, GetOrderBookRequest, GetOrderBookRequestSchema, GetOrderBookResponse, GetOrderBookResponseSchema, OrderBookDelta, OrderBookDeltaSchema, OrderbookService, PriceLevel, PriceLevelSchema, file_orderbook_v1_orderbook, orderbook_pb_d_exports };
230
+ export { GetOrderBookRequest, GetOrderBookRequestSchema, GetOrderBookResponse, GetOrderBookResponseSchema, OrderBookDelta, OrderBookDeltaSchema, OrderbookService, PriceLevel, PriceLevelSchema, file_orderbook_v1_orderbook, orderbook_pb_d_exports };
282
231
  //# sourceMappingURL=orderbook_pb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"orderbook_pb.d.ts","names":[],"sources":["../../../../src/gen/orderbook/v1/orderbook_pb.ts"],"mappings":";;;;;;;;;cAca,6BAA6B;;;;;;KAQ9B,sBAAsB;;;;;;EAMhC;;;;;;EAOA,OAAO;;;;;;cAOI,2BAA2B,WAAW;;;;;;;KASvC,aAAa;;;;;;EAMvB;;;;;;EAOA;;;;;;cAOW,kBAAkB,WAAW;;;;;;;;;;KAY9B,uBAAuB;;;;;;EAMjC;;;;;;EAOA;;;;;;;EAQA,MAAM;;;;;;;EAQN,MAAM;;;;;;EAON,KAAK;;;;;;;;;EAUL;;;;;;cAOW,4BAA4B,WAAW;;;;;;;;;;;;;;;;;;;;;;;KAyBxC,iBAAiB;;;;;;EAM3B;;;;;;;;EASA;;;;;;;;EASA;;;;;;EAOA,MAAM;;;;;;EAON,MAAM;;;;;;;EAQN;;;;;;EAOA,KAAK;;;;;;cAOM,sBAAsB,WAAW;;;;;;aAQlC;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,aAAa,QAAQ;;;;cAMrB,kBAAkB;;;;;;;EAO7B;IACE;IACA,cAAc;IACd,eAAe"}
1
+ {"version":3,"file":"orderbook_pb.d.ts","names":[],"sources":["../../../../src/gen/orderbook/v1/orderbook_pb.ts"],"mappings":";;;;;;;;;cAca,6BAA6B;;;;;;KAQ9B,sBAAsB;;;;;;EAMhC;;;;;;;;EASA;;;;;;cAOW,2BAA2B,WAAW;;;;;;;KASvC,aAAa;;;;;;EAMvB;;;;;;EAOA;;;;;;cAOW,kBAAkB,WAAW;;;;;;;;;;KAY9B,uBAAuB;;;;;;EAMjC;;;;;;;EAQA;;;;;;;EAQA,MAAM;;;;;;;EAQN,MAAM;;;;;;EAON,KAAK;;;;;;;;;EAUL;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;cAOW,4BAA4B,WAAW;;;;;;;;;;;;;;;;;;;;;;;KAyBxC,iBAAiB;;;;;;EAM3B;;;;;;;;EASA;;;;;;;;EASA;;;;;;EAOA,MAAM;;;;;;EAON,MAAM;;;;;;;EAQN;;;;;;EAOA,KAAK;;;;;;cAOM,sBAAsB,WAAW;;;;cAMjC,kBAAkB;;;;;;;;EAQ7B;IACE;IACA,cAAc;IACd,eAAe"}
@@ -1,11 +1,9 @@
1
1
  import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
2
2
  import { file_polyester_api_options } from "../../polyester/api/options_pb.js";
3
- import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
3
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
4
4
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
5
5
  //#region src/gen/orderbook/v1/orderbook_pb.ts
6
6
  var orderbook_pb_exports = /* @__PURE__ */ __exportAll({
7
- Depth: () => Depth,
8
- DepthSchema: () => DepthSchema,
9
7
  GetOrderBookRequestSchema: () => GetOrderBookRequestSchema,
10
8
  GetOrderBookResponseSchema: () => GetOrderBookResponseSchema,
11
9
  OrderBookDeltaSchema: () => OrderBookDeltaSchema,
@@ -16,7 +14,7 @@ var orderbook_pb_exports = /* @__PURE__ */ __exportAll({
16
14
  /**
17
15
  * Describes the file orderbook/v1/orderbook.proto.
18
16
  */
19
- const file_orderbook_v1_orderbook = /*@__PURE__*/ fileDesc("ChxvcmRlcmJvb2svdjEvb3JkZXJib29rLnByb3RvEgxvcmRlcmJvb2sudjEiUAoTR2V0T3JkZXJCb29rUmVxdWVzdBITCglzeW1ib2xfaWQYASABKA1CABIkCgVkZXB0aBgCIAEoDjITLm9yZGVyYm9vay52MS5EZXB0aEIAIjUKClByaWNlTGV2ZWwSEwoLcHJpY2VfdGlja3MYASABKAMSEgoKcXR5X3NjYWxlZBgCIAEoAyLGAQoUR2V0T3JkZXJCb29rUmVzcG9uc2USEQoJc3ltYm9sX2lkGAEgASgNEhAKCGJvb2tfc2VxGAIgASgEEiYKBGJpZHMYAyADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBImCgRhc2tzGAQgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoCdHMYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhEKCWF2YWlsYWJsZRgGIAEoCCLYAQoOT3JkZXJCb29rRGVsdGESEQoJc3ltYm9sX2lkGAEgASgNEhYKDmJvb2tfc2VxX3N0YXJ0GAIgASgEEhQKDGJvb2tfc2VxX2VuZBgDIAEoBBImCgRiaWRzGAQgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoEYXNrcxgFIAMoCzIYLm9yZGVyYm9vay52MS5QcmljZUxldmVsEg0KBXJlc2V0GAYgASgIEiYKAnRzGAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCqfAQoFRGVwdGgSFQoRREVQVEhfVU5TUEVDSUZJRUQQABILCgdERVBUSF8xEAESCwoHREVQVEhfNRACEgwKCERFUFRIXzEwEAMSDAoIREVQVEhfMjAQBBIMCghERVBUSF81MBAFEg0KCURFUFRIXzEwMBAGEg0KCURFUFRIXzIwMBAHEg0KCURFUFRIXzUwMBAIEg4KCkRFUFRIXzEwMDAQCTJtChBPcmRlcmJvb2tTZXJ2aWNlElcKDEdldE9yZGVyQm9vaxIhLm9yZGVyYm9vay52MS5HZXRPcmRlckJvb2tSZXF1ZXN0GiIub3JkZXJib29rLnYxLkdldE9yZGVyQm9va1Jlc3BvbnNlIgAaAEJGWkRnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL29yZGVyYm9vay92MTtvcmRlcmJvb2t2MWIGcHJvdG8z", [file_google_protobuf_timestamp, file_polyester_api_options]);
17
+ const file_orderbook_v1_orderbook = /*@__PURE__*/ fileDesc("ChxvcmRlcmJvb2svdjEvb3JkZXJib29rLnByb3RvEgxvcmRlcmJvb2sudjEiOQoTR2V0T3JkZXJCb29rUmVxdWVzdBITCglzeW1ib2xfaWQYASABKA1CABINCgVkZXB0aBgDIAEoDSI1CgpQcmljZUxldmVsEhMKC3ByaWNlX3RpY2tzGAEgASgDEhIKCnF0eV9zY2FsZWQYAiABKAMi7QEKFEdldE9yZGVyQm9va1Jlc3BvbnNlEhEKCXN5bWJvbF9pZBgBIAEoDRIQCghib29rX3NlcRgCIAEoBBImCgRiaWRzGAMgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoEYXNrcxgEIAMoCzIYLm9yZGVyYm9vay52MS5QcmljZUxldmVsEiYKAnRzGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIRCglhdmFpbGFibGUYBiABKAgSEgoKYm9va19lcG9jaBgHIAEoBBIRCgltYXhfZGVwdGgYCCABKA0i2AEKDk9yZGVyQm9va0RlbHRhEhEKCXN5bWJvbF9pZBgBIAEoDRIWCg5ib29rX3NlcV9zdGFydBgCIAEoBBIUCgxib29rX3NlcV9lbmQYAyABKAQSJgoEYmlkcxgEIAMoCzIYLm9yZGVyYm9vay52MS5QcmljZUxldmVsEiYKBGFza3MYBSADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBINCgVyZXNldBgGIAEoCBImCgJ0cxgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAybQoQT3JkZXJib29rU2VydmljZRJXCgxHZXRPcmRlckJvb2sSIS5vcmRlcmJvb2sudjEuR2V0T3JkZXJCb29rUmVxdWVzdBoiLm9yZGVyYm9vay52MS5HZXRPcmRlckJvb2tSZXNwb25zZSIAGgBCRlpEZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9vcmRlcmJvb2svdjE7b3JkZXJib29rdjFiBnByb3RvMw==", [file_google_protobuf_timestamp, file_polyester_api_options]);
20
18
  /**
21
19
  * Describes the message orderbook.v1.GetOrderBookRequest.
22
20
  * Use `create(GetOrderBookRequestSchema)` to create a new message.
@@ -38,82 +36,10 @@ const GetOrderBookResponseSchema = /*@__PURE__*/ messageDesc(file_orderbook_v1_o
38
36
  */
39
37
  const OrderBookDeltaSchema = /*@__PURE__*/ messageDesc(file_orderbook_v1_orderbook, 3);
40
38
  /**
41
- * Depth specifies the number of price levels per side.
42
- *
43
- * @generated from enum orderbook.v1.Depth
44
- */
45
- let Depth = /* @__PURE__ */ function(Depth) {
46
- /**
47
- * Default depth (50 levels per side).
48
- *
49
- * @generated from enum value: DEPTH_UNSPECIFIED = 0;
50
- */
51
- Depth[Depth["DEPTH_UNSPECIFIED"] = 0] = "DEPTH_UNSPECIFIED";
52
- /**
53
- * 1 level per side (top of book / best bid-ask).
54
- *
55
- * @generated from enum value: DEPTH_1 = 1;
56
- */
57
- Depth[Depth["DEPTH_1"] = 1] = "DEPTH_1";
58
- /**
59
- * 5 levels per side.
60
- *
61
- * @generated from enum value: DEPTH_5 = 2;
62
- */
63
- Depth[Depth["DEPTH_5"] = 2] = "DEPTH_5";
64
- /**
65
- * 10 levels per side.
66
- *
67
- * @generated from enum value: DEPTH_10 = 3;
68
- */
69
- Depth[Depth["DEPTH_10"] = 3] = "DEPTH_10";
70
- /**
71
- * 20 levels per side.
72
- *
73
- * @generated from enum value: DEPTH_20 = 4;
74
- */
75
- Depth[Depth["DEPTH_20"] = 4] = "DEPTH_20";
76
- /**
77
- * 50 levels per side.
78
- *
79
- * @generated from enum value: DEPTH_50 = 5;
80
- */
81
- Depth[Depth["DEPTH_50"] = 5] = "DEPTH_50";
82
- /**
83
- * 100 levels per side.
84
- *
85
- * @generated from enum value: DEPTH_100 = 6;
86
- */
87
- Depth[Depth["DEPTH_100"] = 6] = "DEPTH_100";
88
- /**
89
- * 200 levels per side.
90
- *
91
- * @generated from enum value: DEPTH_200 = 7;
92
- */
93
- Depth[Depth["DEPTH_200"] = 7] = "DEPTH_200";
94
- /**
95
- * 500 levels per side.
96
- *
97
- * @generated from enum value: DEPTH_500 = 8;
98
- */
99
- Depth[Depth["DEPTH_500"] = 8] = "DEPTH_500";
100
- /**
101
- * 1000 levels per side.
102
- *
103
- * @generated from enum value: DEPTH_1000 = 9;
104
- */
105
- Depth[Depth["DEPTH_1000"] = 9] = "DEPTH_1000";
106
- return Depth;
107
- }({});
108
- /**
109
- * Describes the enum orderbook.v1.Depth.
110
- */
111
- const DepthSchema = /*@__PURE__*/ enumDesc(file_orderbook_v1_orderbook, 0);
112
- /**
113
39
  * @generated from service orderbook.v1.OrderbookService
114
40
  */
115
41
  const OrderbookService = /*@__PURE__*/ serviceDesc(file_orderbook_v1_orderbook, 0);
116
42
  //#endregion
117
- export { Depth, DepthSchema, GetOrderBookRequestSchema, GetOrderBookResponseSchema, OrderBookDeltaSchema, OrderbookService, PriceLevelSchema, file_orderbook_v1_orderbook, orderbook_pb_exports };
43
+ export { GetOrderBookRequestSchema, GetOrderBookResponseSchema, OrderBookDeltaSchema, OrderbookService, PriceLevelSchema, file_orderbook_v1_orderbook, orderbook_pb_exports };
118
44
 
119
45
  //# sourceMappingURL=orderbook_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"orderbook_pb.js","names":[],"sources":["../../../../src/gen/orderbook/v1/orderbook_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file orderbook/v1/orderbook.proto (package orderbook.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { 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 orderbook/v1/orderbook.proto.\n */\nexport const file_orderbook_v1_orderbook: GenFile = /*@__PURE__*/\n fileDesc(\"ChxvcmRlcmJvb2svdjEvb3JkZXJib29rLnByb3RvEgxvcmRlcmJvb2sudjEiUAoTR2V0T3JkZXJCb29rUmVxdWVzdBITCglzeW1ib2xfaWQYASABKA1CABIkCgVkZXB0aBgCIAEoDjITLm9yZGVyYm9vay52MS5EZXB0aEIAIjUKClByaWNlTGV2ZWwSEwoLcHJpY2VfdGlja3MYASABKAMSEgoKcXR5X3NjYWxlZBgCIAEoAyLGAQoUR2V0T3JkZXJCb29rUmVzcG9uc2USEQoJc3ltYm9sX2lkGAEgASgNEhAKCGJvb2tfc2VxGAIgASgEEiYKBGJpZHMYAyADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBImCgRhc2tzGAQgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoCdHMYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhEKCWF2YWlsYWJsZRgGIAEoCCLYAQoOT3JkZXJCb29rRGVsdGESEQoJc3ltYm9sX2lkGAEgASgNEhYKDmJvb2tfc2VxX3N0YXJ0GAIgASgEEhQKDGJvb2tfc2VxX2VuZBgDIAEoBBImCgRiaWRzGAQgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoEYXNrcxgFIAMoCzIYLm9yZGVyYm9vay52MS5QcmljZUxldmVsEg0KBXJlc2V0GAYgASgIEiYKAnRzGAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCqfAQoFRGVwdGgSFQoRREVQVEhfVU5TUEVDSUZJRUQQABILCgdERVBUSF8xEAESCwoHREVQVEhfNRACEgwKCERFUFRIXzEwEAMSDAoIREVQVEhfMjAQBBIMCghERVBUSF81MBAFEg0KCURFUFRIXzEwMBAGEg0KCURFUFRIXzIwMBAHEg0KCURFUFRIXzUwMBAIEg4KCkRFUFRIXzEwMDAQCTJtChBPcmRlcmJvb2tTZXJ2aWNlElcKDEdldE9yZGVyQm9vaxIhLm9yZGVyYm9vay52MS5HZXRPcmRlckJvb2tSZXF1ZXN0GiIub3JkZXJib29rLnYxLkdldE9yZGVyQm9va1Jlc3BvbnNlIgAaAEJGWkRnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL29yZGVyYm9vay92MTtvcmRlcmJvb2t2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * GetOrderBookRequest describes a ConnectRPC snapshot request.\n *\n * @generated from message orderbook.v1.GetOrderBookRequest\n */\nexport type GetOrderBookRequest = Message<\"orderbook.v1.GetOrderBookRequest\"> & {\n /**\n * Stable numeric pair ID from GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Requested depth per side (number of price levels). Default is 50.\n *\n * @generated from field: orderbook.v1.Depth depth = 2;\n */\n depth: Depth;\n};\n\n/**\n * Describes the message orderbook.v1.GetOrderBookRequest.\n * Use `create(GetOrderBookRequestSchema)` to create a new message.\n */\nexport const GetOrderBookRequestSchema: GenMessage<GetOrderBookRequest> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 0);\n\n/**\n * PriceLevel uses scaled integers for the binary (protobuf) API (low-latency).\n * REST surfaces expose decimal strings via DTO conversion.\n *\n * @generated from message orderbook.v1.PriceLevel\n */\nexport type PriceLevel = Message<\"orderbook.v1.PriceLevel\"> & {\n /**\n * Price in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 1;\n */\n priceTicks: bigint;\n\n /**\n * Quantity scaled by the pair's base_quantity_scale from GetSpotConfig.\n *\n * @generated from field: int64 qty_scaled = 2;\n */\n qtyScaled: bigint;\n};\n\n/**\n * Describes the message orderbook.v1.PriceLevel.\n * Use `create(PriceLevelSchema)` to create a new message.\n */\nexport const PriceLevelSchema: GenMessage<PriceLevel> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 1);\n\n/**\n * GetOrderBookResponse is a depth snapshot for the binary (protobuf) API (scaled integers).\n * REST surfaces expose decimal strings via DTO conversion. A configured symbol\n * whose book is being built, or was invalidated, returns a successful snapshot\n * with available false and no levels: its book is unknown, not empty. Read\n * available before treating empty sides as no liquidity.\n *\n * @generated from message orderbook.v1.GetOrderBookResponse\n */\nexport type GetOrderBookResponse = Message<\"orderbook.v1.GetOrderBookResponse\"> & {\n /**\n * Numeric symbol identifier (client resolves to symbol string).\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Monotonic book sequence for this symbol.\n *\n * @generated from field: uint64 book_seq = 2;\n */\n bookSeq: bigint;\n\n /**\n * Best bid first; descending price. When available is true, empty means no\n * current liquidity; when it is false, always empty.\n *\n * @generated from field: repeated orderbook.v1.PriceLevel bids = 3;\n */\n bids: PriceLevel[];\n\n /**\n * Best ask first; ascending price. When available is true, empty means no\n * current liquidity; when it is false, always empty.\n *\n * @generated from field: repeated orderbook.v1.PriceLevel asks = 4;\n */\n asks: PriceLevel[];\n\n /**\n * Timestamp associated with this snapshot (best-effort).\n *\n * @generated from field: google.protobuf.Timestamp ts = 5;\n */\n ts?: Timestamp | undefined;\n\n /**\n * True when the book is current: bids and asks are its levels, and empty\n * sides mean no liquidity. False while the book is being built or after it\n * was invalidated: its levels are unknown, not empty, and the response\n * carries none. Request the snapshot again later.\n *\n * @generated from field: bool available = 6;\n */\n available: boolean;\n};\n\n/**\n * Describes the message orderbook.v1.GetOrderBookResponse.\n * Use `create(GetOrderBookResponseSchema)` to create a new message.\n */\nexport const GetOrderBookResponseSchema: GenMessage<GetOrderBookResponse> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 2);\n\n/**\n * OrderBookDelta is an incremental update to the orderbook state of one depth\n * tier: the difference between two published views of the tier's top levels\n * per side. Uses scaled integers (binary protobuf) for realtime streaming\n * performance.\n *\n * Semantics:\n * - For each side, each [price_ticks] entry is a SET at that price:\n * - qty_scaled > 0 => set/replace that level quantity\n * - qty_scaled == 0 => remove that level from the tier's view\n * - reset=true indicates the book should be cleared before applying any levels.\n * A reset carrying the full view is sent periodically, currently about every\n * 30 seconds, and after a sequence gap.\n *\n * To start, subscribe, then fetch GetOrderBook with the tier's depth. Drop\n * deltas whose book_seq_end is at most the snapshot's book_seq, and apply the\n * first delta only when its book_seq_start equals that book_seq; then apply\n * each delta only when its book_seq_start equals the previous book_seq_end.\n * Otherwise, or after a gap, wait for the next reset.\n *\n * @generated from message orderbook.v1.OrderBookDelta\n */\nexport type OrderBookDelta = Message<\"orderbook.v1.OrderBookDelta\"> & {\n /**\n * Numeric symbol identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Book sequence of the view this update applies to: the previous update's\n * book_seq_end. Apply it only to a book at exactly this sequence. 0 when\n * reset=true.\n *\n * @generated from field: uint64 book_seq_start = 2;\n */\n bookSeqStart: bigint;\n\n /**\n * Book sequence of the view after this update. It can advance without any\n * change to the book. Consumers can retain it as the last applied sequence\n * and ignore updates that do not advance it.\n *\n * @generated from field: uint64 book_seq_end = 3;\n */\n bookSeqEnd: bigint;\n\n /**\n * Bid-side updates (SET semantics at price_ticks).\n *\n * @generated from field: repeated orderbook.v1.PriceLevel bids = 4;\n */\n bids: PriceLevel[];\n\n /**\n * Ask-side updates (SET semantics at price_ticks).\n *\n * @generated from field: repeated orderbook.v1.PriceLevel asks = 5;\n */\n asks: PriceLevel[];\n\n /**\n * If true, consumers should clear their local book state before applying\n * updates.\n *\n * @generated from field: bool reset = 6;\n */\n reset: boolean;\n\n /**\n * Timestamp associated with this update (best-effort).\n *\n * @generated from field: google.protobuf.Timestamp ts = 7;\n */\n ts?: Timestamp | undefined;\n};\n\n/**\n * Describes the message orderbook.v1.OrderBookDelta.\n * Use `create(OrderBookDeltaSchema)` to create a new message.\n */\nexport const OrderBookDeltaSchema: GenMessage<OrderBookDelta> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 3);\n\n/**\n * Depth specifies the number of price levels per side.\n *\n * @generated from enum orderbook.v1.Depth\n */\nexport enum Depth {\n /**\n * Default depth (50 levels per side).\n *\n * @generated from enum value: DEPTH_UNSPECIFIED = 0;\n */\n DEPTH_UNSPECIFIED = 0,\n\n /**\n * 1 level per side (top of book / best bid-ask).\n *\n * @generated from enum value: DEPTH_1 = 1;\n */\n DEPTH_1 = 1,\n\n /**\n * 5 levels per side.\n *\n * @generated from enum value: DEPTH_5 = 2;\n */\n DEPTH_5 = 2,\n\n /**\n * 10 levels per side.\n *\n * @generated from enum value: DEPTH_10 = 3;\n */\n DEPTH_10 = 3,\n\n /**\n * 20 levels per side.\n *\n * @generated from enum value: DEPTH_20 = 4;\n */\n DEPTH_20 = 4,\n\n /**\n * 50 levels per side.\n *\n * @generated from enum value: DEPTH_50 = 5;\n */\n DEPTH_50 = 5,\n\n /**\n * 100 levels per side.\n *\n * @generated from enum value: DEPTH_100 = 6;\n */\n DEPTH_100 = 6,\n\n /**\n * 200 levels per side.\n *\n * @generated from enum value: DEPTH_200 = 7;\n */\n DEPTH_200 = 7,\n\n /**\n * 500 levels per side.\n *\n * @generated from enum value: DEPTH_500 = 8;\n */\n DEPTH_500 = 8,\n\n /**\n * 1000 levels per side.\n *\n * @generated from enum value: DEPTH_1000 = 9;\n */\n DEPTH_1000 = 9,\n}\n\n/**\n * Describes the enum orderbook.v1.Depth.\n */\nexport const DepthSchema: GenEnum<Depth> = /*@__PURE__*/\n enumDesc(file_orderbook_v1_orderbook, 0);\n\n/**\n * @generated from service orderbook.v1.OrderbookService\n */\nexport const OrderbookService: GenService<{\n /**\n * Retrieve a spot order book depth snapshot for a symbol.\n * Supports selectable depth per side and returns best bid/ask levels.\n *\n * @generated from rpc orderbook.v1.OrderbookService.GetOrderBook\n */\n getOrderBook: {\n methodKind: \"unary\";\n input: typeof GetOrderBookRequestSchema;\n output: typeof GetOrderBookResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_orderbook_v1_orderbook, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,4vCAA4vC,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA2Bn0C,MAAa,4BACX,0BAAY,6BAA6B,CAAC;;;;;AA4B5C,MAAa,mBACX,0BAAY,6BAA6B,CAAC;;;;;AAgE5C,MAAa,6BACX,0BAAY,6BAA6B,CAAC;;;;;AAoF5C,MAAa,uBACX,0BAAY,6BAA6B,CAAC;;;;;;AAO5C,IAAY,QAAL,yBAAA,OAAA;;;;;;CAML,MAAA,MAAA,uBAAA,KAAA;;;;;;CAOA,MAAA,MAAA,aAAA,KAAA;;;;;;CAOA,MAAA,MAAA,aAAA,KAAA;;;;;;CAOA,MAAA,MAAA,cAAA,KAAA;;;;;;CAOA,MAAA,MAAA,cAAA,KAAA;;;;;;CAOA,MAAA,MAAA,cAAA,KAAA;;;;;;CAOA,MAAA,MAAA,eAAA,KAAA;;;;;;CAOA,MAAA,MAAA,eAAA,KAAA;;;;;;CAOA,MAAA,MAAA,eAAA,KAAA;;;;;;CAOA,MAAA,MAAA,gBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,cACX,uBAAS,6BAA6B,CAAC;;;;AAKzC,MAAa,mBAaX,0BAAY,6BAA6B,CAAC"}
1
+ {"version":3,"file":"orderbook_pb.js","names":[],"sources":["../../../../src/gen/orderbook/v1/orderbook_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file orderbook/v1/orderbook.proto (package orderbook.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file orderbook/v1/orderbook.proto.\n */\nexport const file_orderbook_v1_orderbook: GenFile = /*@__PURE__*/\n fileDesc(\"ChxvcmRlcmJvb2svdjEvb3JkZXJib29rLnByb3RvEgxvcmRlcmJvb2sudjEiOQoTR2V0T3JkZXJCb29rUmVxdWVzdBITCglzeW1ib2xfaWQYASABKA1CABINCgVkZXB0aBgDIAEoDSI1CgpQcmljZUxldmVsEhMKC3ByaWNlX3RpY2tzGAEgASgDEhIKCnF0eV9zY2FsZWQYAiABKAMi7QEKFEdldE9yZGVyQm9va1Jlc3BvbnNlEhEKCXN5bWJvbF9pZBgBIAEoDRIQCghib29rX3NlcRgCIAEoBBImCgRiaWRzGAMgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoEYXNrcxgEIAMoCzIYLm9yZGVyYm9vay52MS5QcmljZUxldmVsEiYKAnRzGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIRCglhdmFpbGFibGUYBiABKAgSEgoKYm9va19lcG9jaBgHIAEoBBIRCgltYXhfZGVwdGgYCCABKA0i2AEKDk9yZGVyQm9va0RlbHRhEhEKCXN5bWJvbF9pZBgBIAEoDRIWCg5ib29rX3NlcV9zdGFydBgCIAEoBBIUCgxib29rX3NlcV9lbmQYAyABKAQSJgoEYmlkcxgEIAMoCzIYLm9yZGVyYm9vay52MS5QcmljZUxldmVsEiYKBGFza3MYBSADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBINCgVyZXNldBgGIAEoCBImCgJ0cxgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAybQoQT3JkZXJib29rU2VydmljZRJXCgxHZXRPcmRlckJvb2sSIS5vcmRlcmJvb2sudjEuR2V0T3JkZXJCb29rUmVxdWVzdBoiLm9yZGVyYm9vay52MS5HZXRPcmRlckJvb2tSZXNwb25zZSIAGgBCRlpEZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9vcmRlcmJvb2svdjE7b3JkZXJib29rdjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * GetOrderBookRequest describes a ConnectRPC snapshot request.\n *\n * @generated from message orderbook.v1.GetOrderBookRequest\n */\nexport type GetOrderBookRequest = Message<\"orderbook.v1.GetOrderBookRequest\"> & {\n /**\n * Stable numeric pair ID from GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Number of price levels per side, from 1 to the max_depth every response\n * reports. 0 (unset) selects the default of 50. A depth above max_depth is\n * rejected with INVALID_ARGUMENT, never truncated.\n *\n * @generated from field: uint32 depth = 3;\n */\n depth: number;\n};\n\n/**\n * Describes the message orderbook.v1.GetOrderBookRequest.\n * Use `create(GetOrderBookRequestSchema)` to create a new message.\n */\nexport const GetOrderBookRequestSchema: GenMessage<GetOrderBookRequest> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 0);\n\n/**\n * PriceLevel uses scaled integers for the binary (protobuf) API (low-latency).\n * REST surfaces expose decimal strings via DTO conversion.\n *\n * @generated from message orderbook.v1.PriceLevel\n */\nexport type PriceLevel = Message<\"orderbook.v1.PriceLevel\"> & {\n /**\n * Price in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 1;\n */\n priceTicks: bigint;\n\n /**\n * Quantity scaled by the pair's base_quantity_scale from GetSpotConfig.\n *\n * @generated from field: int64 qty_scaled = 2;\n */\n qtyScaled: bigint;\n};\n\n/**\n * Describes the message orderbook.v1.PriceLevel.\n * Use `create(PriceLevelSchema)` to create a new message.\n */\nexport const PriceLevelSchema: GenMessage<PriceLevel> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 1);\n\n/**\n * GetOrderBookResponse is a depth snapshot for the binary (protobuf) API (scaled integers).\n * REST surfaces expose decimal strings via DTO conversion. A configured symbol\n * whose book is being built, or was invalidated, returns a successful snapshot\n * with available false and no levels: its book is unknown, not empty. Read\n * available before treating empty sides as no liquidity.\n *\n * @generated from message orderbook.v1.GetOrderBookResponse\n */\nexport type GetOrderBookResponse = Message<\"orderbook.v1.GetOrderBookResponse\"> & {\n /**\n * Numeric symbol identifier (client resolves to symbol string).\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Book sequence of this snapshot within book_epoch. Monotonic within one\n * epoch; compare it only with sequences of the same epoch.\n *\n * @generated from field: uint64 book_seq = 2;\n */\n bookSeq: bigint;\n\n /**\n * Best bid first; descending price. When available is true, empty means no\n * current liquidity; when it is false, always empty.\n *\n * @generated from field: repeated orderbook.v1.PriceLevel bids = 3;\n */\n bids: PriceLevel[];\n\n /**\n * Best ask first; ascending price. When available is true, empty means no\n * current liquidity; when it is false, always empty.\n *\n * @generated from field: repeated orderbook.v1.PriceLevel asks = 4;\n */\n asks: PriceLevel[];\n\n /**\n * Timestamp associated with this snapshot (best-effort).\n *\n * @generated from field: google.protobuf.Timestamp ts = 5;\n */\n ts?: Timestamp | undefined;\n\n /**\n * True when the book is current: bids and asks are its levels, and empty\n * sides mean no liquidity. False while the book is being built or after it\n * was invalidated: its levels are unknown, not empty, and the response\n * carries none. Request the snapshot again later.\n *\n * @generated from field: bool available = 6;\n */\n available: boolean;\n\n /**\n * Epoch of book_seq. Order snapshots by (book_epoch, book_seq): a higher\n * epoch is newer whatever its book_seq, and a new epoch may restart\n * book_seq. Discard a snapshot whose epoch is older than the newest one\n * seen for the symbol. 0 while available is false.\n *\n * @generated from field: uint64 book_epoch = 7;\n */\n bookEpoch: bigint;\n\n /**\n * Largest depth per side the service accepts, the upper bound of the\n * request's depth. Set in every response, available or not.\n *\n * @generated from field: uint32 max_depth = 8;\n */\n maxDepth: number;\n};\n\n/**\n * Describes the message orderbook.v1.GetOrderBookResponse.\n * Use `create(GetOrderBookResponseSchema)` to create a new message.\n */\nexport const GetOrderBookResponseSchema: GenMessage<GetOrderBookResponse> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 2);\n\n/**\n * OrderBookDelta is an incremental update to the orderbook state of one depth\n * tier: the difference between two published views of the tier's top levels\n * per side. Uses scaled integers (binary protobuf) for realtime streaming\n * performance.\n *\n * Semantics:\n * - For each side, each [price_ticks] entry is a SET at that price:\n * - qty_scaled > 0 => set/replace that level quantity\n * - qty_scaled == 0 => remove that level from the tier's view\n * - reset=true indicates the book should be cleared before applying any levels.\n * A reset carrying the full view is sent periodically, currently about every\n * 30 seconds, and after a sequence gap.\n *\n * To start, subscribe, then fetch GetOrderBook with the tier's depth. Drop\n * deltas whose book_seq_end is at most the snapshot's book_seq, and apply the\n * first delta only when its book_seq_start equals that book_seq; then apply\n * each delta only when its book_seq_start equals the previous book_seq_end.\n * Otherwise, or after a gap, wait for the next reset.\n *\n * @generated from message orderbook.v1.OrderBookDelta\n */\nexport type OrderBookDelta = Message<\"orderbook.v1.OrderBookDelta\"> & {\n /**\n * Numeric symbol identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Book sequence of the view this update applies to: the previous update's\n * book_seq_end. Apply it only to a book at exactly this sequence. 0 when\n * reset=true.\n *\n * @generated from field: uint64 book_seq_start = 2;\n */\n bookSeqStart: bigint;\n\n /**\n * Book sequence of the view after this update. It can advance without any\n * change to the book. Consumers can retain it as the last applied sequence\n * and ignore updates that do not advance it.\n *\n * @generated from field: uint64 book_seq_end = 3;\n */\n bookSeqEnd: bigint;\n\n /**\n * Bid-side updates (SET semantics at price_ticks).\n *\n * @generated from field: repeated orderbook.v1.PriceLevel bids = 4;\n */\n bids: PriceLevel[];\n\n /**\n * Ask-side updates (SET semantics at price_ticks).\n *\n * @generated from field: repeated orderbook.v1.PriceLevel asks = 5;\n */\n asks: PriceLevel[];\n\n /**\n * If true, consumers should clear their local book state before applying\n * updates.\n *\n * @generated from field: bool reset = 6;\n */\n reset: boolean;\n\n /**\n * Timestamp associated with this update (best-effort).\n *\n * @generated from field: google.protobuf.Timestamp ts = 7;\n */\n ts?: Timestamp | undefined;\n};\n\n/**\n * Describes the message orderbook.v1.OrderBookDelta.\n * Use `create(OrderBookDeltaSchema)` to create a new message.\n */\nexport const OrderBookDeltaSchema: GenMessage<OrderBookDelta> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 3);\n\n/**\n * @generated from service orderbook.v1.OrderbookService\n */\nexport const OrderbookService: GenService<{\n /**\n * Retrieve a spot order book depth snapshot for a symbol.\n * Supports a selectable depth per side, up to the max_depth each response\n * reports, and returns best bid/ask levels.\n *\n * @generated from rpc orderbook.v1.OrderbookService.GetOrderBook\n */\n getOrderBook: {\n methodKind: \"unary\";\n input: typeof GetOrderBookRequestSchema;\n output: typeof GetOrderBookResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_orderbook_v1_orderbook, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,4jCAA4jC,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA6BnoC,MAAa,4BACX,0BAAY,6BAA6B,CAAC;;;;;AA4B5C,MAAa,mBACX,0BAAY,6BAA6B,CAAC;;;;;AAmF5C,MAAa,6BACX,0BAAY,6BAA6B,CAAC;;;;;AAoF5C,MAAa,uBACX,0BAAY,6BAA6B,CAAC;;;;AAK5C,MAAa,mBAcX,0BAAY,6BAA6B,CAAC"}