@polyester/sdk 0.36.0-devnet-20261119184734 → 0.36.0-devnet-20261120015159

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 (199) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/dist/client.d.ts +2 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/gen/ai/v1/assistant_pb.d.ts +55 -3
  7. package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
  8. package/dist/gen/ai/v1/assistant_pb.js +8 -1
  9. package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
  10. package/dist/gen/auth/v1/account_scope_pb.d.ts +40 -0
  11. package/dist/gen/auth/v1/account_scope_pb.d.ts.map +1 -0
  12. package/dist/gen/auth/v1/account_scope_pb.js +46 -0
  13. package/dist/gen/auth/v1/account_scope_pb.js.map +1 -0
  14. package/dist/gen/auth/v1/address_book_pb.d.ts +3 -31
  15. package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -1
  16. package/dist/gen/auth/v1/address_book_pb.js +8 -38
  17. package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
  18. package/dist/gen/auth/v1/auth_pb.d.ts +15 -14
  19. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  20. package/dist/gen/auth/v1/auth_pb.js +16 -15
  21. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  22. package/dist/gen/auth/v1/connected_apps_pb.d.ts +59 -58
  23. package/dist/gen/auth/v1/connected_apps_pb.d.ts.map +1 -1
  24. package/dist/gen/auth/v1/connected_apps_pb.js +38 -37
  25. package/dist/gen/auth/v1/connected_apps_pb.js.map +1 -1
  26. package/dist/gen/auth/v1/policies_pb.d.ts +27 -1
  27. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  28. package/dist/gen/auth/v1/policies_pb.js +27 -1
  29. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  30. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +228 -2
  31. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  32. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +32 -8
  33. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  34. package/dist/gen/changelog/v1/changelog_pb.d.ts +16 -4
  35. package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -1
  36. package/dist/gen/changelog/v1/changelog_pb.js.map +1 -1
  37. package/dist/gen/index.d.ts +7 -5
  38. package/dist/gen/index.js +7 -5
  39. package/dist/gen/marketdata/v1/marketdata_pb.d.ts +288 -2
  40. package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
  41. package/dist/gen/marketdata/v1/marketdata_pb.js +115 -2
  42. package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
  43. package/dist/gen/orders/v1/orders_pb.d.ts +78 -25
  44. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  45. package/dist/gen/orders/v1/orders_pb.js +36 -7
  46. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  47. package/dist/gen/orders/v1/orders_read_pb.d.ts +35 -1
  48. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  49. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  50. package/dist/gen/strategies/v1/strategies_pb.d.ts +2928 -0
  51. package/dist/gen/strategies/v1/strategies_pb.d.ts.map +1 -0
  52. package/dist/gen/strategies/v1/strategies_pb.js +818 -0
  53. package/dist/gen/strategies/v1/strategies_pb.js.map +1 -0
  54. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +38 -17
  55. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  56. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +4 -1
  57. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  58. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +312 -132
  59. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts.map +1 -1
  60. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js +31 -26
  61. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js.map +1 -1
  62. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +28 -13
  63. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  64. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +2 -2
  65. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  66. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +109 -2
  67. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -1
  68. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +23 -3
  69. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -1
  70. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +3 -2
  71. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  72. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  73. package/dist/gen/triggers/v1/triggers_pb.d.ts +61 -11
  74. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  75. package/dist/gen/triggers/v1/triggers_pb.js +4 -2
  76. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  77. package/dist/index.d.ts +9 -6
  78. package/dist/services/account-activity/account-activity.schemas.d.ts +6 -6
  79. package/dist/services/address-book/address-book.codecs.js +1 -0
  80. package/dist/services/address-book/address-book.codecs.js.map +1 -1
  81. package/dist/services/address-book/address-book.js +1 -1
  82. package/dist/services/api-keys/api-keys.js +1 -1
  83. package/dist/services/assistant/assistant-events.schemas.d.ts +141 -43
  84. package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -1
  85. package/dist/services/assistant/assistant-events.schemas.js +15 -5
  86. package/dist/services/assistant/assistant-events.schemas.js.map +1 -1
  87. package/dist/services/assistant/assistant.codecs.d.ts +5 -2
  88. package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
  89. package/dist/services/assistant/assistant.codecs.js +10 -2
  90. package/dist/services/assistant/assistant.codecs.js.map +1 -1
  91. package/dist/services/assistant/assistant.schemas.d.ts +2 -2
  92. package/dist/services/auth/auth.js +1 -1
  93. package/dist/services/auth/auth.js.map +1 -1
  94. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +16 -16
  95. package/dist/services/balances/balances.js +1 -1
  96. package/dist/services/balances/balances.schemas.d.ts +3 -3
  97. package/dist/services/candles/candles.schemas.d.ts +10 -10
  98. package/dist/services/changelog/changelog.schemas.d.ts +38 -38
  99. package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
  100. package/dist/services/claims/claims.schemas.d.ts +2 -2
  101. package/dist/services/connected-apps/connected-apps.d.ts +4 -4
  102. package/dist/services/connected-apps/connected-apps.d.ts.map +1 -1
  103. package/dist/services/connected-apps/connected-apps.js +13 -13
  104. package/dist/services/connected-apps/connected-apps.js.map +1 -1
  105. package/dist/services/connected-apps/connected-apps.schemas.d.ts +7 -7
  106. package/dist/services/connected-apps/connected-apps.schemas.d.ts.map +1 -1
  107. package/dist/services/connected-apps/connected-apps.schemas.js +10 -10
  108. package/dist/services/connected-apps/connected-apps.schemas.js.map +1 -1
  109. package/dist/services/connected-apps/connected-apps.types.d.ts +2 -2
  110. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +8 -8
  111. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  112. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +6 -6
  113. package/dist/services/lifecycle/lifecycle.schemas.d.ts +94 -94
  114. package/dist/services/market-data/market-data.codecs.d.ts +9 -1
  115. package/dist/services/market-data/market-data.codecs.d.ts.map +1 -1
  116. package/dist/services/market-data/market-data.codecs.js +14 -1
  117. package/dist/services/market-data/market-data.codecs.js.map +1 -1
  118. package/dist/services/market-data/market-data.d.ts +9 -1
  119. package/dist/services/market-data/market-data.d.ts.map +1 -1
  120. package/dist/services/market-data/market-data.js +14 -1
  121. package/dist/services/market-data/market-data.js.map +1 -1
  122. package/dist/services/market-data/market-data.schemas.d.ts +40 -2
  123. package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
  124. package/dist/services/market-data/market-data.schemas.js +43 -8
  125. package/dist/services/market-data/market-data.schemas.js.map +1 -1
  126. package/dist/services/market-data/market-data.types.d.ts +3 -3
  127. package/dist/services/notifications/notifications.schemas.d.ts +4 -4
  128. package/dist/services/orderbook/orderbook.d.ts.map +1 -1
  129. package/dist/services/orderbook/orderbook.js +5 -19
  130. package/dist/services/orderbook/orderbook.js.map +1 -1
  131. package/dist/services/orders/order-errors.schemas.d.ts +6 -6
  132. package/dist/services/orders/orders-batch.schemas.d.ts +72 -72
  133. package/dist/services/orders/orders-input.schemas.d.ts +10 -10
  134. package/dist/services/orders/orders-output.schemas.d.ts +16 -16
  135. package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
  136. package/dist/services/orders/orders-output.schemas.js +1 -1
  137. package/dist/services/orders/orders-output.schemas.js.map +1 -1
  138. package/dist/services/orders/orders.d.ts +5 -0
  139. package/dist/services/orders/orders.d.ts.map +1 -1
  140. package/dist/services/orders/orders.js +5 -0
  141. package/dist/services/orders/orders.js.map +1 -1
  142. package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
  143. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
  144. package/dist/services/policies/shared.codecs.js +13 -4
  145. package/dist/services/policies/shared.codecs.js.map +1 -1
  146. package/dist/services/policies/shared.d.ts +1 -1
  147. package/dist/services/policies/subaccount-policies/subaccount-policies.js +1 -1
  148. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
  149. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  150. package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
  151. package/dist/services/strategies/service.d.ts +8 -0
  152. package/dist/services/strategies/service.d.ts.map +1 -0
  153. package/dist/services/strategies/service.js +9 -0
  154. package/dist/services/strategies/service.js.map +1 -0
  155. package/dist/services/strategies/strategies.codecs.d.ts +15 -0
  156. package/dist/services/strategies/strategies.codecs.d.ts.map +1 -0
  157. package/dist/services/strategies/strategies.codecs.js +50 -0
  158. package/dist/services/strategies/strategies.codecs.js.map +1 -0
  159. package/dist/services/strategies/strategies.d.ts +75 -0
  160. package/dist/services/strategies/strategies.d.ts.map +1 -0
  161. package/dist/services/strategies/strategies.js +135 -0
  162. package/dist/services/strategies/strategies.js.map +1 -0
  163. package/dist/services/strategies/strategies.schemas.d.ts +568 -0
  164. package/dist/services/strategies/strategies.schemas.d.ts.map +1 -0
  165. package/dist/services/strategies/strategies.schemas.js +408 -0
  166. package/dist/services/strategies/strategies.schemas.js.map +1 -0
  167. package/dist/services/strategies/strategies.types.d.ts +3 -0
  168. package/dist/services/subaccounts/subaccounts.js +2 -2
  169. package/dist/services/subaccounts/subaccounts.schemas.d.ts +8 -8
  170. package/dist/services/system/system.schemas.d.ts +13 -13
  171. package/dist/services/trades/trades.schemas.d.ts +1 -1
  172. package/dist/services/trading-withdraws/trading-withdraws.d.ts +29 -2
  173. package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
  174. package/dist/services/trading-withdraws/trading-withdraws.js +74 -11
  175. package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
  176. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +85 -1
  177. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
  178. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +56 -1
  179. package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
  180. package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +3 -3
  181. package/dist/services/trading-withdraws/wallet-message.js +29 -1
  182. package/dist/services/trading-withdraws/wallet-message.js.map +1 -1
  183. package/dist/services/transfers/transfers.js +1 -1
  184. package/dist/services/transfers/transfers.schemas.d.ts +1 -1
  185. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  186. package/dist/services/triggers/triggers-output.schemas.d.ts +44 -44
  187. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  188. package/dist/shared/connect-error-mapping.js +5 -0
  189. package/dist/shared/connect-error-mapping.js.map +1 -1
  190. package/dist/shared/error-detail.d.ts +25 -2
  191. package/dist/shared/error-detail.d.ts.map +1 -1
  192. package/dist/shared/error-detail.js +1 -0
  193. package/dist/shared/error-detail.js.map +1 -1
  194. package/dist/shared/error-details/strategies.js +36 -0
  195. package/dist/shared/error-details/strategies.js.map +1 -0
  196. package/dist/wired-services.d.ts.map +1 -1
  197. package/dist/wired-services.js +6 -4
  198. package/dist/wired-services.js.map +1 -1
  199. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strategies_pb.js","names":[],"sources":["../../../../src/gen/strategies/v1/strategies_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file strategies/v1/strategies.proto (package strategies.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_struct, file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { JsonObject, Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file strategies/v1/strategies.proto.\n */\nexport const file_strategies_v1_strategies: GenFile = /*@__PURE__*/\n fileDesc(\"Ch5zdHJhdGVnaWVzL3YxL3N0cmF0ZWdpZXMucHJvdG8SDXN0cmF0ZWdpZXMudjEibAoMQm90Q2FwRGV0YWlsEhAKCHZpcF90aWVyGAEgASgNE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y52MS5MaXN0Qm90c1Jlc3BvbnNlIgOQAgESSgoGR2V0Qm90Ehwuc3RyYXRlZ2llcy52MS5HZXRCb3RSZXF1ZXN0Gh0uc3RyYXRlZ2llcy52MS5HZXRCb3RSZXNwb25zZSIDkAIBElkKC0xpc3RCb3RMb2dzEiEuc3RyYXRlZ2llcy52MS5MaXN0Qm90TG9nc1JlcXVlc3QaIi5zdHJhdGVnaWVzLnYxLkxpc3RCb3RMb2dzUmVzcG9uc2UiA5ACARoAQkhaRmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vc3RyYXRlZ2llcy92MTtzdHJhdGVnaWVzdjFiBnByb3RvMw==\", [file_google_protobuf_struct, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * BotCapDetail explains BOT_CAP_REACHED.\n *\n * @generated from message strategies.v1.BotCapDetail\n */\nexport type BotCapDetail = Message<\"strategies.v1.BotCapDetail\"> & {\n /**\n * The caller's current VIP tier.\n *\n * @generated from field: uint32 vip_tier = 1;\n */\n vipTier: number;\n\n /**\n * The most bots the tier allows at once.\n *\n * @generated from field: uint32 bot_cap = 2;\n */\n botCap: number;\n\n /**\n * Bots the caller runs now, deploying ones included.\n *\n * @generated from field: uint32 bots = 3;\n */\n bots: number;\n\n /**\n * The next VIP tier with a higher cap. Zero when no tier lifts it.\n *\n * @generated from field: uint32 next_vip_tier = 4;\n */\n nextVipTier: number;\n\n /**\n * The cap of next_vip_tier. Zero when no tier lifts it.\n *\n * @generated from field: uint32 next_bot_cap = 5;\n */\n nextBotCap: number;\n};\n\n/**\n * Describes the message strategies.v1.BotCapDetail.\n * Use `create(BotCapDetailSchema)` to create a new message.\n */\nexport const BotCapDetailSchema: GenMessage<BotCapDetail> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 0);\n\n/**\n * ErrorDetail is attached to Strategies API errors as an error detail of type\n * strategies.v1.ErrorDetail.\n *\n * @generated from message strategies.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"strategies.v1.ErrorDetail\"> & {\n /**\n * Stable error code.\n *\n * @generated from field: strategies.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n\n /**\n * Request field the error is about, as a field path such as\n * settings[0].value or funding[1].asset. Set only with SETTINGS_INVALID,\n * FUNDING_INVALID and MANIFEST_TOO_LARGE.\n *\n * @generated from field: string field_path = 2;\n */\n fieldPath: string;\n\n /**\n * When the same request may succeed. Set only with\n * SCENARIO_RUN_LIMIT_REACHED and BACKTEST_LIMIT_REACHED.\n *\n * @generated from field: google.protobuf.Timestamp retry_after = 3;\n */\n retryAfter?: Timestamp | undefined;\n\n /**\n * Set only with BOT_CAP_REACHED.\n *\n * @generated from field: strategies.v1.BotCapDetail bot_cap = 4;\n */\n botCap?: BotCapDetail | undefined;\n\n /**\n * Markets not open to bots, as the manifest names them. Set only with\n * MARKET_NOT_ALLOWED.\n *\n * @generated from field: repeated string markets = 5;\n */\n markets: string[];\n\n /**\n * Amounts the funding account lacks, one per asset. Set only with\n * INSUFFICIENT_FUNDS.\n *\n * @generated from field: repeated strategies.v1.Money shortfall = 6;\n */\n shortfall: Money[];\n};\n\n/**\n * Describes the message strategies.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 1);\n\n/**\n * Money is an exact amount of one asset.\n *\n * @generated from message strategies.v1.Money\n */\nexport type Money = Message<\"strategies.v1.Money\"> & {\n /**\n * Asset symbol, for example USDT.\n *\n * @generated from field: string asset = 1;\n */\n asset: string;\n\n /**\n * Exact, non-negative decimal amount in whole asset units, for example \"50\"\n * or \"0.0125\". Never a binary floating-point value.\n *\n * @generated from field: string amount = 2;\n */\n amount: string;\n};\n\n/**\n * Describes the message strategies.v1.Money.\n * Use `create(MoneySchema)` to create a new message.\n */\nexport const MoneySchema: GenMessage<Money> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 2);\n\n/**\n * TimeWindow is a span of time: start_time inclusive, end_time exclusive.\n *\n * @generated from message strategies.v1.TimeWindow\n */\nexport type TimeWindow = Message<\"strategies.v1.TimeWindow\"> & {\n /**\n * Start of the window, inclusive.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 1;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * End of the window, exclusive.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 2;\n */\n endTime?: Timestamp | undefined;\n};\n\n/**\n * Describes the message strategies.v1.TimeWindow.\n * Use `create(TimeWindowSchema)` to create a new message.\n */\nexport const TimeWindowSchema: GenMessage<TimeWindow> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 3);\n\n/**\n * IndicatorLibrary names the indicator library a runtime version computes\n * indicators with.\n *\n * @generated from message strategies.v1.IndicatorLibrary\n */\nexport type IndicatorLibrary = Message<\"strategies.v1.IndicatorLibrary\"> & {\n /**\n * Library name.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Exact library version, pinned for every bot deployed on the runtime\n * version.\n *\n * @generated from field: string version = 2;\n */\n version: string;\n};\n\n/**\n * Describes the message strategies.v1.IndicatorLibrary.\n * Use `create(IndicatorLibrarySchema)` to create a new message.\n */\nexport const IndicatorLibrarySchema: GenMessage<IndicatorLibrary> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 4);\n\n/**\n * IndicatorParameter is one parameter of an allowed indicator.\n *\n * @generated from message strategies.v1.IndicatorParameter\n */\nexport type IndicatorParameter = Message<\"strategies.v1.IndicatorParameter\"> & {\n /**\n * Parameter name, as bot code passes it, for example period.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * What the parameter sets.\n *\n * @generated from field: string description = 2;\n */\n description: string;\n\n /**\n * Smallest allowed value, as an exact decimal.\n *\n * @generated from field: string minimum = 3;\n */\n minimum: string;\n\n /**\n * Largest allowed value, as an exact decimal.\n *\n * @generated from field: string maximum = 4;\n */\n maximum: string;\n\n /**\n * Value used when bot code omits the parameter, as an exact decimal.\n *\n * @generated from field: string default_value = 5;\n */\n defaultValue: string;\n\n /**\n * True when only whole numbers are allowed.\n *\n * @generated from field: bool integer = 6;\n */\n integer: boolean;\n};\n\n/**\n * Describes the message strategies.v1.IndicatorParameter.\n * Use `create(IndicatorParameterSchema)` to create a new message.\n */\nexport const IndicatorParameterSchema: GenMessage<IndicatorParameter> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 5);\n\n/**\n * Indicator is one indicator bot code may read.\n *\n * @generated from message strategies.v1.Indicator\n */\nexport type Indicator = Message<\"strategies.v1.Indicator\"> & {\n /**\n * Indicator name, as bot code calls it, for example rsi.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * What the indicator measures.\n *\n * @generated from field: string description = 2;\n */\n description: string;\n\n /**\n * Parameters, in the order bot code passes them.\n *\n * @generated from field: repeated strategies.v1.IndicatorParameter parameters = 3;\n */\n parameters: IndicatorParameter[];\n\n /**\n * Output names, for example value for RSI or upper, middle and lower for\n * Bollinger bands.\n *\n * @generated from field: repeated string outputs = 4;\n */\n outputs: string[];\n\n /**\n * Closed candles needed before the indicator has a value, as an expression\n * of its parameters, for example \"period + 1\". Until then bot code reads no\n * value.\n *\n * @generated from field: string warmup_bars = 5;\n */\n warmupBars: string;\n};\n\n/**\n * Describes the message strategies.v1.Indicator.\n * Use `create(IndicatorSchema)` to create a new message.\n */\nexport const IndicatorSchema: GenMessage<Indicator> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 6);\n\n/**\n * StrategyLimits are the limits every bot of a runtime version runs under.\n *\n * @generated from message strategies.v1.StrategyLimits\n */\nexport type StrategyLimits = Message<\"strategies.v1.StrategyLimits\"> & {\n /**\n * CPU time one handler call may use, in milliseconds.\n *\n * @generated from field: uint32 cpu_ms_per_call = 1;\n */\n cpuMsPerCall: number;\n\n /**\n * Memory one handler call may use, in bytes.\n *\n * @generated from field: uint64 memory_bytes_per_call = 2;\n */\n memoryBytesPerCall: bigint;\n\n /**\n * Largest saved bot state, in bytes.\n *\n * @generated from field: uint64 state_bytes = 3;\n */\n stateBytes: bigint;\n\n /**\n * Largest bot code, in bytes.\n *\n * @generated from field: uint64 code_bytes = 4;\n */\n codeBytes: bigint;\n\n /**\n * Largest manifest, in bytes of compact JSON.\n *\n * @generated from field: uint64 manifest_bytes = 5;\n */\n manifestBytes: bigint;\n\n /**\n * Most distinct indicator settings the caller's bots and backtests may read\n * at once. A setting is one indicator with one market, timeframe and set of\n * parameters.\n *\n * @generated from field: uint32 unique_indicator_settings = 6;\n */\n uniqueIndicatorSettings: number;\n\n /**\n * Most backtests the caller may start per UTC day.\n *\n * @generated from field: uint32 backtests_per_day = 7;\n */\n backtestsPerDay: number;\n\n /**\n * Most RunScenarios calls the caller may make per minute.\n *\n * @generated from field: uint32 scenario_runs_per_minute = 8;\n */\n scenarioRunsPerMinute: number;\n};\n\n/**\n * Describes the message strategies.v1.StrategyLimits.\n * Use `create(StrategyLimitsSchema)` to create a new message.\n */\nexport const StrategyLimitsSchema: GenMessage<StrategyLimits> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 7);\n\n/**\n * GetStrategyReferenceRequest asks for what bot code is written against.\n *\n * @generated from message strategies.v1.GetStrategyReferenceRequest\n */\nexport type GetStrategyReferenceRequest = Message<\"strategies.v1.GetStrategyReferenceRequest\"> & {\n /**\n * Runtime version to describe. Empty means the current one. Until the\n * runtime catalog is available, any other value is\n * RUNTIME_VERSION_UNSUPPORTED.\n *\n * @generated from field: string runtime_version = 1;\n */\n runtimeVersion: string;\n};\n\n/**\n * Describes the message strategies.v1.GetStrategyReferenceRequest.\n * Use `create(GetStrategyReferenceRequestSchema)` to create a new message.\n */\nexport const GetStrategyReferenceRequestSchema: GenMessage<GetStrategyReferenceRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 8);\n\n/**\n * GetStrategyReferenceResponse is the bot format of one runtime version, and\n * the skill pack for writing bots.\n *\n * The runtime catalog (runtime_version, indicator_library, manifest_schema,\n * indicators and limits) is not available yet: those fields are empty until\n * it is. The reference and the skill pack are always set.\n *\n * @generated from message strategies.v1.GetStrategyReferenceResponse\n */\nexport type GetStrategyReferenceResponse = Message<\"strategies.v1.GetStrategyReferenceResponse\"> & {\n /**\n * The runtime version described. Empty until the runtime catalog is\n * available.\n *\n * @generated from field: string runtime_version = 1;\n */\n runtimeVersion: string;\n\n /**\n * The indicator library and its pinned version. Unset until the runtime\n * catalog is available.\n *\n * @generated from field: strategies.v1.IndicatorLibrary indicator_library = 2;\n */\n indicatorLibrary?: IndicatorLibrary | undefined;\n\n /**\n * The bot API reference as Markdown: events and handlers, the manifest,\n * reads, actions, money rules, limits and language rules, with examples.\n *\n * @generated from field: string reference = 3;\n */\n reference: string;\n\n /**\n * JSON Schema of the manifest. Unset until the runtime catalog is\n * available.\n *\n * @generated from field: google.protobuf.Struct manifest_schema = 4;\n */\n manifestSchema?: JsonObject | undefined;\n\n /**\n * Every indicator bot code may read, by name. Empty until the runtime\n * catalog is available; the reference lists the indicators meanwhile.\n *\n * @generated from field: repeated strategies.v1.Indicator indicators = 5;\n */\n indicators: Indicator[];\n\n /**\n * Limits every bot of this runtime version runs under. Unset until the\n * runtime catalog is available.\n *\n * @generated from field: strategies.v1.StrategyLimits limits = 6;\n */\n limits?: StrategyLimits | undefined;\n\n /**\n * The skill pack: guidance for writing bots against the reference (the\n * workflow, the language subset, patterns and pitfalls), one Markdown\n * document per part, workflow first.\n *\n * @generated from field: repeated strategies.v1.SkillDocument skill_pack = 7;\n */\n skillPack: SkillDocument[];\n\n /**\n * Version of the skill pack: \"sha256:\" followed by the lowercase hex\n * SHA-256 of, for each document in skill_pack order, the UTF-8 bytes of its\n * name and then of its Markdown, each preceded by its length in bytes as an\n * unsigned 64-bit big-endian integer. It changes exactly when a document's\n * name, content or position does.\n *\n * @generated from field: string skill_pack_version = 8;\n */\n skillPackVersion: string;\n};\n\n/**\n * Describes the message strategies.v1.GetStrategyReferenceResponse.\n * Use `create(GetStrategyReferenceResponseSchema)` to create a new message.\n */\nexport const GetStrategyReferenceResponseSchema: GenMessage<GetStrategyReferenceResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 9);\n\n/**\n * SkillDocument is one document of the skill pack.\n *\n * @generated from message strategies.v1.SkillDocument\n */\nexport type SkillDocument = Message<\"strategies.v1.SkillDocument\"> & {\n /**\n * File name of the document, for example writing-bots.md. Links between\n * documents use these names.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * The document, as Markdown.\n *\n * @generated from field: string markdown = 2;\n */\n markdown: string;\n};\n\n/**\n * Describes the message strategies.v1.SkillDocument.\n * Use `create(SkillDocumentSchema)` to create a new message.\n */\nexport const SkillDocumentSchema: GenMessage<SkillDocument> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 10);\n\n/**\n * StrategyTemplate is a starting point for a bot.\n *\n * @generated from message strategies.v1.StrategyTemplate\n */\nexport type StrategyTemplate = Message<\"strategies.v1.StrategyTemplate\"> & {\n /**\n * Stable template ID, for example weekly-dca.\n *\n * @generated from field: string template_id = 1;\n */\n templateId: string;\n\n /**\n * Display name.\n *\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * What the template's bot does.\n *\n * @generated from field: string description = 3;\n */\n description: string;\n\n /**\n * The template's manifest, as ValidateStrategy takes it.\n *\n * @generated from field: google.protobuf.Struct manifest = 4;\n */\n manifest?: JsonObject | undefined;\n\n /**\n * The template's bot code.\n *\n * @generated from field: string code = 5;\n */\n code: string;\n\n /**\n * Runtime version the template is written for.\n *\n * @generated from field: string runtime_version = 6;\n */\n runtimeVersion: string;\n};\n\n/**\n * Describes the message strategies.v1.StrategyTemplate.\n * Use `create(StrategyTemplateSchema)` to create a new message.\n */\nexport const StrategyTemplateSchema: GenMessage<StrategyTemplate> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 11);\n\n/**\n * ListStrategyTemplatesRequest lists the bot templates.\n *\n * @generated from message strategies.v1.ListStrategyTemplatesRequest\n */\nexport type ListStrategyTemplatesRequest = Message<\"strategies.v1.ListStrategyTemplatesRequest\"> & {\n};\n\n/**\n * Describes the message strategies.v1.ListStrategyTemplatesRequest.\n * Use `create(ListStrategyTemplatesRequestSchema)` to create a new message.\n */\nexport const ListStrategyTemplatesRequestSchema: GenMessage<ListStrategyTemplatesRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 12);\n\n/**\n * ListStrategyTemplatesResponse returns every bot template.\n *\n * @generated from message strategies.v1.ListStrategyTemplatesResponse\n */\nexport type ListStrategyTemplatesResponse = Message<\"strategies.v1.ListStrategyTemplatesResponse\"> & {\n /**\n * Every template, in display order. The list is short and complete; it is\n * not paginated.\n *\n * @generated from field: repeated strategies.v1.StrategyTemplate templates = 1;\n */\n templates: StrategyTemplate[];\n};\n\n/**\n * Describes the message strategies.v1.ListStrategyTemplatesResponse.\n * Use `create(ListStrategyTemplatesResponseSchema)` to create a new message.\n */\nexport const ListStrategyTemplatesResponseSchema: GenMessage<ListStrategyTemplatesResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 13);\n\n/**\n * ValidationIssue is one problem ValidateStrategy found.\n *\n * @generated from message strategies.v1.ValidationIssue\n */\nexport type ValidationIssue = Message<\"strategies.v1.ValidationIssue\"> & {\n /**\n * Path of the manifest value at fault, for example limits.max_order.amount.\n * Empty when the issue is in the code.\n *\n * @generated from field: string manifest_path = 1;\n */\n manifestPath: string;\n\n /**\n * Line of the code at fault, from 1. Zero when the issue is in the\n * manifest.\n *\n * @generated from field: uint32 line = 2;\n */\n line: number;\n\n /**\n * Column of the code at fault, from 1. Zero when unknown or when the issue\n * is in the manifest.\n *\n * @generated from field: uint32 column = 3;\n */\n column: number;\n\n /**\n * Stable rule identifier, for example UNSUPPORTED_SYNTAX, UNKNOWN_CALL,\n * MISSING_REASON, LIMIT_ABOVE_MAXIMUM or SCENARIO_UNPARSEABLE. A runtime\n * version may add rules.\n *\n * @generated from field: string rule = 4;\n */\n rule: string;\n\n /**\n * What is wrong.\n *\n * @generated from field: string message = 5;\n */\n message: string;\n\n /**\n * What to change to fix it.\n *\n * @generated from field: string hint = 6;\n */\n hint: string;\n};\n\n/**\n * Describes the message strategies.v1.ValidationIssue.\n * Use `create(ValidationIssueSchema)` to create a new message.\n */\nexport const ValidationIssueSchema: GenMessage<ValidationIssue> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 14);\n\n/**\n * MoneyCard is what a bot may do with money, in the quote asset of its\n * markets.\n *\n * @generated from message strategies.v1.MoneyCard\n */\nexport type MoneyCard = Message<\"strategies.v1.MoneyCard\"> & {\n /**\n * Most the bot may spend in total.\n *\n * @generated from field: strategies.v1.Money budget = 1;\n */\n budget?: Money | undefined;\n\n /**\n * Largest single order.\n *\n * @generated from field: strategies.v1.Money max_order = 2;\n */\n maxOrder?: Money | undefined;\n\n /**\n * Most good-till-cancelled orders the bot may have open at once.\n *\n * @generated from field: uint32 max_open_gtc_orders = 3;\n */\n maxOpenGtcOrders: number;\n\n /**\n * Loss within one UTC day at which the bot pauses.\n *\n * @generated from field: strategies.v1.Money daily_loss_threshold = 4;\n */\n dailyLossThreshold?: Money | undefined;\n\n /**\n * Markets the bot trades, for example BTC/USDT.\n *\n * @generated from field: repeated string markets = 5;\n */\n markets: string[];\n\n /**\n * Events the bot handles, as the manifest declares them, for example\n * \"schedule mon 09:00 UTC\" or \"candles BTC/USDT 1h\".\n *\n * @generated from field: repeated string events = 6;\n */\n events: string[];\n};\n\n/**\n * Describes the message strategies.v1.MoneyCard.\n * Use `create(MoneyCardSchema)` to create a new message.\n */\nexport const MoneyCardSchema: GenMessage<MoneyCard> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 15);\n\n/**\n * SettingField is one setting a user may change without editing code.\n *\n * @generated from message strategies.v1.SettingField\n */\nexport type SettingField = Message<\"strategies.v1.SettingField\"> & {\n /**\n * Setting name, as bot code reads it.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * What the setting controls.\n *\n * @generated from field: string description = 2;\n */\n description: string;\n\n /**\n * Kind of value, as the manifest declares it, for example quote for an\n * amount of the quote asset.\n *\n * @generated from field: string kind = 3;\n */\n kind: string;\n\n /**\n * Asset of an amount setting. Empty for other kinds.\n *\n * @generated from field: string asset = 4;\n */\n asset: string;\n\n /**\n * Value used when none is given.\n *\n * @generated from field: string default_value = 5;\n */\n defaultValue: string;\n\n /**\n * Smallest allowed value. Empty when unbounded.\n *\n * @generated from field: string minimum = 6;\n */\n minimum: string;\n\n /**\n * Largest allowed value. Empty when unbounded.\n *\n * @generated from field: string maximum = 7;\n */\n maximum: string;\n};\n\n/**\n * Describes the message strategies.v1.SettingField.\n * Use `create(SettingFieldSchema)` to create a new message.\n */\nexport const SettingFieldSchema: GenMessage<SettingField> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 16);\n\n/**\n * ValidateStrategyRequest checks a bot and stores it as a version.\n *\n * @generated from message strategies.v1.ValidateStrategyRequest\n */\nexport type ValidateStrategyRequest = Message<\"strategies.v1.ValidateStrategyRequest\"> & {\n /**\n * Name of the strategy.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * The manifest: settings, events, limits and behaviour examples, as a JSON\n * object whose shape GetStrategyReference's manifest_schema gives. Write\n * amounts as decimal strings.\n *\n * @generated from field: google.protobuf.Struct manifest = 2;\n */\n manifest?: JsonObject | undefined;\n\n /**\n * The bot code: at most 65536 bytes (64 KiB) of UTF-8.\n *\n * @generated from field: string code = 3;\n */\n code: string;\n\n /**\n * Runtime version to validate against. Empty means the current one.\n *\n * @generated from field: string runtime_version = 4;\n */\n runtimeVersion: string;\n};\n\n/**\n * Describes the message strategies.v1.ValidateStrategyRequest.\n * Use `create(ValidateStrategyRequestSchema)` to create a new message.\n */\nexport const ValidateStrategyRequestSchema: GenMessage<ValidateStrategyRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 17);\n\n/**\n * ValidateStrategyResponse is the outcome of validating a bot.\n *\n * @generated from message strategies.v1.ValidateStrategyResponse\n */\nexport type ValidateStrategyResponse = Message<\"strategies.v1.ValidateStrategyResponse\"> & {\n /**\n * ID of the stored version, derived from the runtime version, manifest and\n * code: the same content always gets the same ID.\n *\n * @generated from field: string version_id = 1;\n */\n versionId: string;\n\n /**\n * The runtime version validated against.\n *\n * @generated from field: string runtime_version = 2;\n */\n runtimeVersion: string;\n\n /**\n * True when the bot has no errors.\n *\n * @generated from field: bool valid = 3;\n */\n valid: boolean;\n\n /**\n * Errors, in code and manifest order: at most 50. Further errors may show\n * once these are fixed.\n *\n * @generated from field: repeated strategies.v1.ValidationIssue errors = 4;\n */\n errors: ValidationIssue[];\n\n /**\n * Warnings, in the same order and shape: at most 50.\n *\n * @generated from field: repeated strategies.v1.ValidationIssue warnings = 5;\n */\n warnings: ValidationIssue[];\n\n /**\n * What the bot may do with money. Set only when valid.\n *\n * @generated from field: strategies.v1.MoneyCard money_card = 6;\n */\n moneyCard?: MoneyCard | undefined;\n\n /**\n * The settings a user may change. Set only when valid.\n *\n * @generated from field: repeated strategies.v1.SettingField settings_form = 7;\n */\n settingsForm: SettingField[];\n};\n\n/**\n * Describes the message strategies.v1.ValidateStrategyResponse.\n * Use `create(ValidateStrategyResponseSchema)` to create a new message.\n */\nexport const ValidateStrategyResponseSchema: GenMessage<ValidateStrategyResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 18);\n\n/**\n * RunScenariosRequest runs a version's behaviour examples.\n *\n * @generated from message strategies.v1.RunScenariosRequest\n */\nexport type RunScenariosRequest = Message<\"strategies.v1.RunScenariosRequest\"> & {\n /**\n * Version to run.\n *\n * @generated from field: string version_id = 1;\n */\n versionId: string;\n};\n\n/**\n * Describes the message strategies.v1.RunScenariosRequest.\n * Use `create(RunScenariosRequestSchema)` to create a new message.\n */\nexport const RunScenariosRequestSchema: GenMessage<RunScenariosRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 19);\n\n/**\n * ScenarioResult is the outcome of one behaviour example.\n *\n * @generated from message strategies.v1.ScenarioResult\n */\nexport type ScenarioResult = Message<\"strategies.v1.ScenarioResult\"> & {\n /**\n * The example's name, from the manifest.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * True when the code made exactly the expected orders.\n *\n * @generated from field: bool passed = 2;\n */\n passed: boolean;\n\n /**\n * The orders the example expects, as the manifest writes them.\n *\n * @generated from field: repeated google.protobuf.Struct expected = 3;\n */\n expected: JsonObject[];\n\n /**\n * The orders the code made, in the same shape.\n *\n * @generated from field: repeated google.protobuf.Struct actual = 4;\n */\n actual: JsonObject[];\n\n /**\n * The code's log lines, oldest first: at most 50.\n *\n * @generated from field: repeated string logs = 5;\n */\n logs: string[];\n\n /**\n * The handler's error, when it failed. Empty otherwise.\n *\n * @generated from field: string error = 6;\n */\n error: string;\n};\n\n/**\n * Describes the message strategies.v1.ScenarioResult.\n * Use `create(ScenarioResultSchema)` to create a new message.\n */\nexport const ScenarioResultSchema: GenMessage<ScenarioResult> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 20);\n\n/**\n * RunScenariosResponse is the outcome of every behaviour example of a\n * version.\n *\n * @generated from message strategies.v1.RunScenariosResponse\n */\nexport type RunScenariosResponse = Message<\"strategies.v1.RunScenariosResponse\"> & {\n /**\n * The version run.\n *\n * @generated from field: string version_id = 1;\n */\n versionId: string;\n\n /**\n * Examples that passed.\n *\n * @generated from field: uint32 passed = 2;\n */\n passed: number;\n\n /**\n * Examples that failed.\n *\n * @generated from field: uint32 failed = 3;\n */\n failed: number;\n\n /**\n * One result per example, in manifest order.\n *\n * @generated from field: repeated strategies.v1.ScenarioResult results = 4;\n */\n results: ScenarioResult[];\n};\n\n/**\n * Describes the message strategies.v1.RunScenariosResponse.\n * Use `create(RunScenariosResponseSchema)` to create a new message.\n */\nexport const RunScenariosResponseSchema: GenMessage<RunScenariosResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 21);\n\n/**\n * BacktestMetrics are the results of a bot over one period.\n *\n * @generated from message strategies.v1.BacktestMetrics\n */\nexport type BacktestMetrics = Message<\"strategies.v1.BacktestMetrics\"> & {\n /**\n * Return over the period, in percent, for example \"4.2\" or \"-1.5\".\n *\n * @generated from field: string return_percent = 1;\n */\n returnPercent: string;\n\n /**\n * Largest fall from a peak, in percent.\n *\n * @generated from field: string max_drawdown_percent = 2;\n */\n maxDrawdownPercent: string;\n\n /**\n * Trades made.\n *\n * @generated from field: uint32 trades = 3;\n */\n trades: number;\n\n /**\n * Share of closed trades that made a profit, in percent.\n *\n * @generated from field: string win_rate_percent = 4;\n */\n winRatePercent: string;\n\n /**\n * Fees paid, in the quote asset.\n *\n * @generated from field: strategies.v1.Money fees = 5;\n */\n fees?: Money | undefined;\n\n /**\n * Share of the period the bot held a position, in percent.\n *\n * @generated from field: string exposure_percent = 6;\n */\n exposurePercent: string;\n};\n\n/**\n * Describes the message strategies.v1.BacktestMetrics.\n * Use `create(BacktestMetricsSchema)` to create a new message.\n */\nexport const BacktestMetricsSchema: GenMessage<BacktestMetrics> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 22);\n\n/**\n * Baseline is a simple strategy a backtest is compared with.\n *\n * @generated from message strategies.v1.Baseline\n */\nexport type Baseline = Message<\"strategies.v1.Baseline\"> & {\n /**\n * Baseline name: buy_and_hold or cash.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Its results over the same period.\n *\n * @generated from field: strategies.v1.BacktestMetrics metrics = 2;\n */\n metrics?: BacktestMetrics | undefined;\n};\n\n/**\n * Describes the message strategies.v1.Baseline.\n * Use `create(BaselineSchema)` to create a new message.\n */\nexport const BaselineSchema: GenMessage<Baseline> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 23);\n\n/**\n * BacktestTrade is one trade a backtest made.\n *\n * @generated from message strategies.v1.BacktestTrade\n */\nexport type BacktestTrade = Message<\"strategies.v1.BacktestTrade\"> & {\n /**\n * When the trade happened, in simulated time.\n *\n * @generated from field: google.protobuf.Timestamp time = 1;\n */\n time?: Timestamp | undefined;\n\n /**\n * Market, for example BTC/USDT.\n *\n * @generated from field: string market = 2;\n */\n market: string;\n\n /**\n * Side.\n *\n * @generated from field: strategies.v1.OrderSide side = 3;\n */\n side: OrderSide;\n\n /**\n * Price, as an exact decimal in the quote asset.\n *\n * @generated from field: string price = 4;\n */\n price: string;\n\n /**\n * Quantity, as an exact decimal in the base asset.\n *\n * @generated from field: string quantity = 5;\n */\n quantity: string;\n\n /**\n * Fee paid.\n *\n * @generated from field: strategies.v1.Money fee = 6;\n */\n fee?: Money | undefined;\n\n /**\n * The reason the bot gave for the order.\n *\n * @generated from field: string reason = 7;\n */\n reason: string;\n};\n\n/**\n * Describes the message strategies.v1.BacktestTrade.\n * Use `create(BacktestTradeSchema)` to create a new message.\n */\nexport const BacktestTradeSchema: GenMessage<BacktestTrade> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 24);\n\n/**\n * DataGap is a span with missing market data.\n *\n * @generated from message strategies.v1.DataGap\n */\nexport type DataGap = Message<\"strategies.v1.DataGap\"> & {\n /**\n * Market, for example BTC/USDT.\n *\n * @generated from field: string market = 1;\n */\n market: string;\n\n /**\n * Candle timeframe, for example 1h.\n *\n * @generated from field: string timeframe = 2;\n */\n timeframe: string;\n\n /**\n * The span without data.\n *\n * @generated from field: strategies.v1.TimeWindow window = 3;\n */\n window?: TimeWindow | undefined;\n};\n\n/**\n * Describes the message strategies.v1.DataGap.\n * Use `create(DataGapSchema)` to create a new message.\n */\nexport const DataGapSchema: GenMessage<DataGap> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 25);\n\n/**\n * BacktestReport is the result of a finished backtest.\n *\n * @generated from message strategies.v1.BacktestReport\n */\nexport type BacktestReport = Message<\"strategies.v1.BacktestReport\"> & {\n /**\n * How closely the simulation follows live trading, as a short label.\n *\n * @generated from field: string fidelity = 1;\n */\n fidelity: string;\n\n /**\n * How much the result can be trusted, as a short grade.\n *\n * @generated from field: string evidence_grade = 2;\n */\n evidenceGrade: string;\n\n /**\n * The period the bot was tuned on.\n *\n * @generated from field: strategies.v1.TimeWindow period = 3;\n */\n period?: TimeWindow | undefined;\n\n /**\n * The most recent months, held back from tuning.\n *\n * @generated from field: strategies.v1.TimeWindow held_back_period = 4;\n */\n heldBackPeriod?: TimeWindow | undefined;\n\n /**\n * Results over period.\n *\n * @generated from field: strategies.v1.BacktestMetrics metrics = 5;\n */\n metrics?: BacktestMetrics | undefined;\n\n /**\n * Results over held_back_period.\n *\n * @generated from field: strategies.v1.BacktestMetrics held_back_metrics = 6;\n */\n heldBackMetrics?: BacktestMetrics | undefined;\n\n /**\n * The baselines over period: buy-and-hold and cash.\n *\n * @generated from field: repeated strategies.v1.Baseline baselines = 7;\n */\n baselines: Baseline[];\n\n /**\n * Backtests run so far for this bot's family of versions. Many attempts\n * make a good result more likely to be luck.\n *\n * @generated from field: uint32 attempts = 8;\n */\n attempts: number;\n\n /**\n * The first trades, oldest first: at most 20. report_url lists all of them.\n *\n * @generated from field: repeated strategies.v1.BacktestTrade trades = 9;\n */\n trades: BacktestTrade[];\n\n /**\n * Spans without market data, oldest first.\n *\n * @generated from field: repeated strategies.v1.DataGap data_gaps = 10;\n */\n dataGaps: DataGap[];\n\n /**\n * What to keep in mind when reading the result.\n *\n * @generated from field: repeated string warnings = 11;\n */\n warnings: string[];\n\n /**\n * The full report on the website.\n *\n * @generated from field: string report_url = 12;\n */\n reportUrl: string;\n};\n\n/**\n * Describes the message strategies.v1.BacktestReport.\n * Use `create(BacktestReportSchema)` to create a new message.\n */\nexport const BacktestReportSchema: GenMessage<BacktestReport> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 26);\n\n/**\n * Backtest is one backtest of a version.\n *\n * @generated from message strategies.v1.Backtest\n */\nexport type Backtest = Message<\"strategies.v1.Backtest\"> & {\n /**\n * Public backtest ID.\n *\n * @generated from field: fixed64 backtest_id = 1;\n */\n backtestId: bigint;\n\n /**\n * The version backtested.\n *\n * @generated from field: string version_id = 2;\n */\n versionId: string;\n\n /**\n * Current status.\n *\n * @generated from field: strategies.v1.Backtest.Status status = 3;\n */\n status: Backtest_Status;\n\n /**\n * The simulated window.\n *\n * @generated from field: strategies.v1.TimeWindow window = 4;\n */\n window?: TimeWindow | undefined;\n\n /**\n * When the backtest was started.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 5;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When it finished or failed. Omitted before.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 6;\n */\n finishedAt?: Timestamp | undefined;\n\n /**\n * The result. Set only when status is DONE.\n *\n * @generated from field: strategies.v1.BacktestReport report = 7;\n */\n report?: BacktestReport | undefined;\n\n /**\n * Why it failed. Empty unless status is FAILED.\n *\n * @generated from field: string failure = 8;\n */\n failure: string;\n};\n\n/**\n * Describes the message strategies.v1.Backtest.\n * Use `create(BacktestSchema)` to create a new message.\n */\nexport const BacktestSchema: GenMessage<Backtest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 27);\n\n/**\n * Status is where a backtest is.\n *\n * @generated from enum strategies.v1.Backtest.Status\n */\nexport enum Backtest_Status {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * Waiting for capacity.\n *\n * @generated from enum value: QUEUED = 1;\n */\n QUEUED = 1,\n\n /**\n * Simulating.\n *\n * @generated from enum value: RUNNING = 2;\n */\n RUNNING = 2,\n\n /**\n * Finished: report is set.\n *\n * @generated from enum value: DONE = 3;\n */\n DONE = 3,\n\n /**\n * Failed: failure says why.\n *\n * @generated from enum value: FAILED = 4;\n */\n FAILED = 4,\n}\n\n/**\n * Describes the enum strategies.v1.Backtest.Status.\n */\nexport const Backtest_StatusSchema: GenEnum<Backtest_Status> = /*@__PURE__*/\n enumDesc(file_strategies_v1_strategies, 27, 0);\n\n/**\n * StartBacktestRequest starts a backtest of a version.\n *\n * A retry is bound by idempotency_key: the same key and request return the\n * backtest the first request started, even when an unset window bound would\n * now resolve differently, and never count again against the backtest quota\n * or the attempts.\n *\n * Across keys, a backtest's identity is its version, effective window,\n * effective settings and effective initial balances. A request whose\n * identity matches an earlier backtest of the caller returns that backtest\n * rather than running again, so a request that spells out a default refers to\n * the same run, while a request that changes any of them starts a new one:\n * - effective window: start_time and end_time, an unset bound replaced by\n * the bound of the longest window with data when the request arrives;\n * - effective settings: every setting of the version's settings form, by\n * name, with its default value where the request leaves it out;\n * - effective initial balances: initial_balances, or when it is empty, the\n * effective budget setting in the quote asset; one per asset, sorted by\n * asset;\n * - every decimal in its canonical form, without leading zeros or trailing\n * fractional zeros, so \"50\", \"50.0\" and \"050\" are the same amount.\n *\n * @generated from message strategies.v1.StartBacktestRequest\n */\nexport type StartBacktestRequest = Message<\"strategies.v1.StartBacktestRequest\"> & {\n /**\n * Version to backtest.\n *\n * @generated from field: string version_id = 1;\n */\n versionId: string;\n\n /**\n * Start of the window, inclusive. Unset means the start of the longest\n * window with data for the bot's markets and timeframes.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 2;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * End of the window, exclusive. Unset means the end of that longest\n * window.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 3;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Values for the version's settings form, at most 64, each setting once.\n * Settings left out take their default value.\n *\n * @generated from field: repeated strategies.v1.SettingValue settings = 4;\n */\n settings: SettingValue[];\n\n /**\n * Starting balances of the simulated account, one per asset. Empty means\n * the budget setting in the quote asset. Part of the backtest's identity:\n * the same run with other balances is another backtest.\n *\n * @generated from field: repeated strategies.v1.Money initial_balances = 5;\n */\n initialBalances: Money[];\n\n /**\n * Client-chosen key, unique per caller, that makes the call idempotent: the\n * same key and request return the backtest the first call started; another\n * request with the same key is IDEMPOTENCY_CONFLICT.\n *\n * @generated from field: string idempotency_key = 6;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message strategies.v1.StartBacktestRequest.\n * Use `create(StartBacktestRequestSchema)` to create a new message.\n */\nexport const StartBacktestRequestSchema: GenMessage<StartBacktestRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 28);\n\n/**\n * StartBacktestResponse is the started backtest.\n *\n * @generated from message strategies.v1.StartBacktestResponse\n */\nexport type StartBacktestResponse = Message<\"strategies.v1.StartBacktestResponse\"> & {\n /**\n * Public backtest ID. A retry with the same idempotency_key and request\n * returns the same ID; across keys, so does a request with the same\n * version, effective window, effective settings and effective initial\n * balances (see StartBacktestRequest).\n *\n * @generated from field: fixed64 backtest_id = 1;\n */\n backtestId: bigint;\n\n /**\n * Status: QUEUED for a new backtest, or the current status of the same\n * backtest started before.\n *\n * @generated from field: strategies.v1.Backtest.Status status = 2;\n */\n status: Backtest_Status;\n\n /**\n * Estimated seconds until it finishes.\n *\n * @generated from field: uint32 estimated_seconds = 3;\n */\n estimatedSeconds: number;\n};\n\n/**\n * Describes the message strategies.v1.StartBacktestResponse.\n * Use `create(StartBacktestResponseSchema)` to create a new message.\n */\nexport const StartBacktestResponseSchema: GenMessage<StartBacktestResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 29);\n\n/**\n * GetBacktestRequest reads one backtest of the caller.\n *\n * @generated from message strategies.v1.GetBacktestRequest\n */\nexport type GetBacktestRequest = Message<\"strategies.v1.GetBacktestRequest\"> & {\n /**\n * Public backtest ID.\n *\n * @generated from field: fixed64 backtest_id = 1;\n */\n backtestId: bigint;\n};\n\n/**\n * Describes the message strategies.v1.GetBacktestRequest.\n * Use `create(GetBacktestRequestSchema)` to create a new message.\n */\nexport const GetBacktestRequestSchema: GenMessage<GetBacktestRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 30);\n\n/**\n * GetBacktestResponse returns the backtest.\n *\n * @generated from message strategies.v1.GetBacktestResponse\n */\nexport type GetBacktestResponse = Message<\"strategies.v1.GetBacktestResponse\"> & {\n /**\n * The backtest.\n *\n * @generated from field: strategies.v1.Backtest backtest = 1;\n */\n backtest?: Backtest | undefined;\n};\n\n/**\n * Describes the message strategies.v1.GetBacktestResponse.\n * Use `create(GetBacktestResponseSchema)` to create a new message.\n */\nexport const GetBacktestResponseSchema: GenMessage<GetBacktestResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 31);\n\n/**\n * ScenarioSummary is one behaviour example of a version and its last result.\n *\n * @generated from message strategies.v1.ScenarioSummary\n */\nexport type ScenarioSummary = Message<\"strategies.v1.ScenarioSummary\"> & {\n /**\n * The example's name, from the manifest.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Its last result.\n *\n * @generated from field: strategies.v1.ScenarioSummary.Outcome outcome = 2;\n */\n outcome: ScenarioSummary_Outcome;\n};\n\n/**\n * Describes the message strategies.v1.ScenarioSummary.\n * Use `create(ScenarioSummarySchema)` to create a new message.\n */\nexport const ScenarioSummarySchema: GenMessage<ScenarioSummary> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 32);\n\n/**\n * Outcome is a behaviour example's last result.\n *\n * @generated from enum strategies.v1.ScenarioSummary.Outcome\n */\nexport enum ScenarioSummary_Outcome {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: OUTCOME_UNSPECIFIED = 0;\n */\n OUTCOME_UNSPECIFIED = 0,\n\n /**\n * The examples were never run.\n *\n * @generated from enum value: NOT_RUN = 1;\n */\n NOT_RUN = 1,\n\n /**\n * The code made exactly the expected orders.\n *\n * @generated from enum value: PASSED = 2;\n */\n PASSED = 2,\n\n /**\n * The code made other orders, or failed.\n *\n * @generated from enum value: FAILED = 3;\n */\n FAILED = 3,\n}\n\n/**\n * Describes the enum strategies.v1.ScenarioSummary.Outcome.\n */\nexport const ScenarioSummary_OutcomeSchema: GenEnum<ScenarioSummary_Outcome> = /*@__PURE__*/\n enumDesc(file_strategies_v1_strategies, 32, 0);\n\n/**\n * BacktestSummary is the headline of a version's latest backtest.\n *\n * @generated from message strategies.v1.BacktestSummary\n */\nexport type BacktestSummary = Message<\"strategies.v1.BacktestSummary\"> & {\n /**\n * Public backtest ID.\n *\n * @generated from field: fixed64 backtest_id = 1;\n */\n backtestId: bigint;\n\n /**\n * Its status.\n *\n * @generated from field: strategies.v1.Backtest.Status status = 2;\n */\n status: Backtest_Status;\n\n /**\n * Results over the tuning period. Set only when status is DONE.\n *\n * @generated from field: strategies.v1.BacktestMetrics metrics = 3;\n */\n metrics?: BacktestMetrics | undefined;\n\n /**\n * Results over the held-back period. Set only when status is DONE.\n *\n * @generated from field: strategies.v1.BacktestMetrics held_back_metrics = 4;\n */\n heldBackMetrics?: BacktestMetrics | undefined;\n\n /**\n * Backtests run so far for this bot's family of versions.\n *\n * @generated from field: uint32 attempts = 5;\n */\n attempts: number;\n\n /**\n * The full report on the website. Set only when status is DONE.\n *\n * @generated from field: string report_url = 6;\n */\n reportUrl: string;\n};\n\n/**\n * Describes the message strategies.v1.BacktestSummary.\n * Use `create(BacktestSummarySchema)` to create a new message.\n */\nexport const BacktestSummarySchema: GenMessage<BacktestSummary> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 33);\n\n/**\n * ExplainStrategyRequest asks for the review summary of a version.\n *\n * @generated from message strategies.v1.ExplainStrategyRequest\n */\nexport type ExplainStrategyRequest = Message<\"strategies.v1.ExplainStrategyRequest\"> & {\n /**\n * Version to explain.\n *\n * @generated from field: string version_id = 1;\n */\n versionId: string;\n};\n\n/**\n * Describes the message strategies.v1.ExplainStrategyRequest.\n * Use `create(ExplainStrategyRequestSchema)` to create a new message.\n */\nexport const ExplainStrategyRequestSchema: GenMessage<ExplainStrategyRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 34);\n\n/**\n * ExplainStrategyResponse is what a user reviews before deploying a version.\n * It is built from the manifest and the recorded results alone, so it states\n * exactly what the user approves.\n *\n * @generated from message strategies.v1.ExplainStrategyResponse\n */\nexport type ExplainStrategyResponse = Message<\"strategies.v1.ExplainStrategyResponse\"> & {\n /**\n * The version explained.\n *\n * @generated from field: string version_id = 1;\n */\n versionId: string;\n\n /**\n * What the bot may do with money, its markets and its events.\n *\n * @generated from field: strategies.v1.MoneyCard money_card = 2;\n */\n moneyCard?: MoneyCard | undefined;\n\n /**\n * The settings a user may change.\n *\n * @generated from field: repeated strategies.v1.SettingField settings = 3;\n */\n settings: SettingField[];\n\n /**\n * Each behaviour example and its last result, in manifest order.\n *\n * @generated from field: repeated strategies.v1.ScenarioSummary scenarios = 4;\n */\n scenarios: ScenarioSummary[];\n\n /**\n * The latest backtest. Omitted when there is none; backtest_absent_reason\n * then says why.\n *\n * @generated from field: strategies.v1.BacktestSummary backtest = 5;\n */\n backtest?: BacktestSummary | undefined;\n\n /**\n * Why there is no backtest, for example that the bot cannot be backtested\n * on candles. Empty when backtest is set.\n *\n * @generated from field: string backtest_absent_reason = 6;\n */\n backtestAbsentReason: string;\n\n /**\n * What to weigh before deploying, for example \"never backtested\" or \"trades\n * a thin market\".\n *\n * @generated from field: repeated string warnings = 7;\n */\n warnings: string[];\n\n /**\n * What the bot does not do, for example \"stopping the bot does not sell its\n * holdings\".\n *\n * @generated from field: repeated string limitations = 8;\n */\n limitations: string[];\n};\n\n/**\n * Describes the message strategies.v1.ExplainStrategyResponse.\n * Use `create(ExplainStrategyResponseSchema)` to create a new message.\n */\nexport const ExplainStrategyResponseSchema: GenMessage<ExplainStrategyResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 35);\n\n/**\n * SettingValue is one setting and its value.\n *\n * @generated from message strategies.v1.SettingValue\n */\nexport type SettingValue = Message<\"strategies.v1.SettingValue\"> & {\n /**\n * Setting name, from the settings form.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Its value, as a string: an amount or number as an exact decimal.\n *\n * @generated from field: string value = 2;\n */\n value: string;\n};\n\n/**\n * Describes the message strategies.v1.SettingValue.\n * Use `create(SettingValueSchema)` to create a new message.\n */\nexport const SettingValueSchema: GenMessage<SettingValue> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 36);\n\n/**\n * DeployProposalSummary is what a deploy proposal binds, for showing beside\n * its link.\n *\n * @generated from message strategies.v1.DeployProposalSummary\n */\nexport type DeployProposalSummary = Message<\"strategies.v1.DeployProposalSummary\"> & {\n /**\n * The version proposed.\n *\n * @generated from field: string version_id = 1;\n */\n versionId: string;\n\n /**\n * The bot's name.\n *\n * @generated from field: string bot_name = 2;\n */\n botName: string;\n\n /**\n * What the bot may do with money.\n *\n * @generated from field: strategies.v1.MoneyCard money_card = 3;\n */\n moneyCard?: MoneyCard | undefined;\n\n /**\n * Every setting, with its value, in settings-form order.\n *\n * @generated from field: repeated strategies.v1.SettingValue settings = 4;\n */\n settings: SettingValue[];\n\n /**\n * The subaccount the funding comes from. Zero means the main account.\n *\n * @generated from field: fixed64 funding_subaccount_id = 8;\n */\n fundingSubaccountId: bigint;\n\n /**\n * What moves into the bot's new subaccount from the funding account.\n *\n * @generated from field: repeated strategies.v1.Money funding = 5;\n */\n funding: Money[];\n\n /**\n * Behaviour examples that passed.\n *\n * @generated from field: uint32 scenarios_passed = 6;\n */\n scenariosPassed: number;\n\n /**\n * The version's latest backtest. Omitted when the bot cannot be\n * backtested.\n *\n * @generated from field: strategies.v1.BacktestSummary backtest = 7;\n */\n backtest?: BacktestSummary | undefined;\n};\n\n/**\n * Describes the message strategies.v1.DeployProposalSummary.\n * Use `create(DeployProposalSummarySchema)` to create a new message.\n */\nexport const DeployProposalSummarySchema: GenMessage<DeployProposalSummary> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 37);\n\n/**\n * ProposeDeployRequest records a deploy proposal. It never deploys.\n *\n * @generated from message strategies.v1.ProposeDeployRequest\n */\nexport type ProposeDeployRequest = Message<\"strategies.v1.ProposeDeployRequest\"> & {\n /**\n * Version to deploy.\n *\n * @generated from field: string version_id = 1;\n */\n versionId: string;\n\n /**\n * Name of the new bot.\n *\n * @generated from field: string bot_name = 2;\n */\n botName: string;\n\n /**\n * Values for the version's settings form, at most 64, each setting once.\n * Settings left out take their default value.\n *\n * @generated from field: repeated strategies.v1.SettingValue settings = 3;\n */\n settings: SettingValue[];\n\n /**\n * Assets and amounts to move from the funding account into the bot's new\n * subaccount when the user deploys it: one to 16 assets, each once.\n *\n * @generated from field: repeated strategies.v1.Money funding = 4;\n */\n funding: Money[];\n\n /**\n * Client-chosen key, unique per caller, that makes the call idempotent: the\n * same key and request return the proposal the first call recorded; another\n * request with the same key is IDEMPOTENCY_CONFLICT.\n *\n * @generated from field: string idempotency_key = 5;\n */\n idempotencyKey: string;\n\n /**\n * The subaccount that funds the bot. Zero means the main account. It must\n * belong to the caller's main account; another subaccount is refused as\n * not found.\n *\n * @generated from field: fixed64 funding_subaccount_id = 6;\n */\n fundingSubaccountId: bigint;\n};\n\n/**\n * Describes the message strategies.v1.ProposeDeployRequest.\n * Use `create(ProposeDeployRequestSchema)` to create a new message.\n */\nexport const ProposeDeployRequestSchema: GenMessage<ProposeDeployRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 38);\n\n/**\n * ProposeDeployResponse is the recorded proposal and where the user deploys\n * it.\n *\n * @generated from message strategies.v1.ProposeDeployResponse\n */\nexport type ProposeDeployResponse = Message<\"strategies.v1.ProposeDeployResponse\"> & {\n /**\n * Public proposal ID.\n *\n * @generated from field: fixed64 proposal_id = 1;\n */\n proposalId: bigint;\n\n /**\n * The website page where the user reviews the proposal and deploys it.\n *\n * @generated from field: string deploy_url = 2;\n */\n deployUrl: string;\n\n /**\n * What the proposal binds.\n *\n * @generated from field: strategies.v1.DeployProposalSummary summary = 3;\n */\n summary?: DeployProposalSummary | undefined;\n\n /**\n * When the proposal expires if the user has not deployed it.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 4;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message strategies.v1.ProposeDeployResponse.\n * Use `create(ProposeDeployResponseSchema)` to create a new message.\n */\nexport const ProposeDeployResponseSchema: GenMessage<ProposeDeployResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 39);\n\n/**\n * DeployStatus is where a deploy proposal is.\n *\n * @generated from message strategies.v1.DeployStatus\n */\nexport type DeployStatus = Message<\"strategies.v1.DeployStatus\"> & {\n /**\n * Public proposal ID.\n *\n * @generated from field: fixed64 proposal_id = 1;\n */\n proposalId: bigint;\n\n /**\n * Current step.\n *\n * @generated from field: strategies.v1.DeployStatus.State state = 2;\n */\n state: DeployStatus_State;\n\n /**\n * The current step as the user sees it, for example \"Funding the\n * account…\".\n *\n * @generated from field: string step = 3;\n */\n step: string;\n\n /**\n * Public ID of the bot. Zero until the bot exists.\n *\n * @generated from field: fixed64 bot_id = 4;\n */\n botId: bigint;\n\n /**\n * Public ID of the bot's subaccount. Zero until it exists.\n *\n * @generated from field: fixed64 subaccount_id = 5;\n */\n subaccountId: bigint;\n\n /**\n * Why the deploy stopped and what the user can do. Empty unless state is\n * FAILED.\n *\n * @generated from field: string failure = 6;\n */\n failure: string;\n\n /**\n * When the proposal expires if not deployed.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 7;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * When the state last changed.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 8;\n */\n updatedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message strategies.v1.DeployStatus.\n * Use `create(DeployStatusSchema)` to create a new message.\n */\nexport const DeployStatusSchema: GenMessage<DeployStatus> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 40);\n\n/**\n * State is a deploy proposal's step.\n *\n * @generated from enum strategies.v1.DeployStatus.State\n */\nexport enum DeployStatus_State {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: STATE_UNSPECIFIED = 0;\n */\n STATE_UNSPECIFIED = 0,\n\n /**\n * Recorded; waiting for the user to deploy it.\n *\n * @generated from enum value: PROPOSED = 1;\n */\n PROPOSED = 1,\n\n /**\n * Checking the version, its behaviour examples and limits again.\n *\n * @generated from enum value: VALIDATING = 2;\n */\n VALIDATING = 2,\n\n /**\n * Preparing the bot's subaccount.\n *\n * @generated from enum value: CREATING_SUBACCOUNT = 3;\n */\n CREATING_SUBACCOUNT = 3,\n\n /**\n * Moving the funding into the bot's subaccount.\n *\n * @generated from enum value: FUNDING = 4;\n */\n FUNDING = 4,\n\n /**\n * Starting the bot.\n *\n * @generated from enum value: DEPLOYING = 5;\n */\n DEPLOYING = 5,\n\n /**\n * The bot runs: bot_id is set.\n *\n * @generated from enum value: LIVE = 6;\n */\n LIVE = 6,\n\n /**\n * The deploy stopped: failure says why.\n *\n * @generated from enum value: FAILED = 7;\n */\n FAILED = 7,\n\n /**\n * The user did not deploy the proposal in time.\n *\n * @generated from enum value: EXPIRED = 8;\n */\n EXPIRED = 8,\n}\n\n/**\n * Describes the enum strategies.v1.DeployStatus.State.\n */\nexport const DeployStatus_StateSchema: GenEnum<DeployStatus_State> = /*@__PURE__*/\n enumDesc(file_strategies_v1_strategies, 40, 0);\n\n/**\n * GetDeployStatusRequest reads one deploy proposal of the caller.\n *\n * @generated from message strategies.v1.GetDeployStatusRequest\n */\nexport type GetDeployStatusRequest = Message<\"strategies.v1.GetDeployStatusRequest\"> & {\n /**\n * Public proposal ID.\n *\n * @generated from field: fixed64 proposal_id = 1;\n */\n proposalId: bigint;\n};\n\n/**\n * Describes the message strategies.v1.GetDeployStatusRequest.\n * Use `create(GetDeployStatusRequestSchema)` to create a new message.\n */\nexport const GetDeployStatusRequestSchema: GenMessage<GetDeployStatusRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 41);\n\n/**\n * GetDeployStatusResponse returns the proposal's status.\n *\n * @generated from message strategies.v1.GetDeployStatusResponse\n */\nexport type GetDeployStatusResponse = Message<\"strategies.v1.GetDeployStatusResponse\"> & {\n /**\n * The status.\n *\n * @generated from field: strategies.v1.DeployStatus status = 1;\n */\n status?: DeployStatus | undefined;\n};\n\n/**\n * Describes the message strategies.v1.GetDeployStatusResponse.\n * Use `create(GetDeployStatusResponseSchema)` to create a new message.\n */\nexport const GetDeployStatusResponseSchema: GenMessage<GetDeployStatusResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 42);\n\n/**\n * Bot is one bot of the caller.\n *\n * @generated from message strategies.v1.Bot\n */\nexport type Bot = Message<\"strategies.v1.Bot\"> & {\n /**\n * Public bot ID.\n *\n * @generated from field: fixed64 bot_id = 1;\n */\n botId: bigint;\n\n /**\n * The bot's name.\n *\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * Public ID of the bot's own subaccount, which the caller's main account\n * owns.\n *\n * @generated from field: fixed64 subaccount_id = 3;\n */\n subaccountId: bigint;\n\n /**\n * Current state.\n *\n * @generated from field: strategies.v1.Bot.Status status = 4;\n */\n status: Bot_Status;\n\n /**\n * Why the bot is in its state. Empty when RUNNING.\n *\n * @generated from field: string status_reason = 5;\n */\n statusReason: string;\n\n /**\n * The version it runs.\n *\n * @generated from field: string version_id = 6;\n */\n versionId: string;\n\n /**\n * Profit and loss since deployment, as an exact decimal in quote_asset:\n * negative for a loss, for example \"-12.5\".\n *\n * @generated from field: string profit_and_loss = 7;\n */\n profitAndLoss: string;\n\n /**\n * When the bot last decided. Omitted before its first decision.\n *\n * @generated from field: google.protobuf.Timestamp last_decision_at = 8;\n */\n lastDecisionAt?: Timestamp | undefined;\n\n /**\n * When the bot was deployed.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 9;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Quote asset of the bot's markets, for example USDT.\n *\n * @generated from field: string quote_asset = 10;\n */\n quoteAsset: string;\n};\n\n/**\n * Describes the message strategies.v1.Bot.\n * Use `create(BotSchema)` to create a new message.\n */\nexport const BotSchema: GenMessage<Bot> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 43);\n\n/**\n * Status is a bot's state.\n *\n * @generated from enum strategies.v1.Bot.Status\n */\nexport enum Bot_Status {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: STATUS_UNSPECIFIED = 0;\n */\n STATUS_UNSPECIFIED = 0,\n\n /**\n * Being deployed.\n *\n * @generated from enum value: DEPLOYING = 1;\n */\n DEPLOYING = 1,\n\n /**\n * Handling its events.\n *\n * @generated from enum value: RUNNING = 2;\n */\n RUNNING = 2,\n\n /**\n * Being stopped.\n *\n * @generated from enum value: STOPPING = 3;\n */\n STOPPING = 3,\n\n /**\n * Stopped by the user.\n *\n * @generated from enum value: STOPPED = 4;\n */\n STOPPED = 4,\n\n /**\n * Paused, by itself or after an environment reset: status_reason says\n * why. Its orders stay.\n *\n * @generated from enum value: PAUSED = 5;\n */\n PAUSED = 5,\n\n /**\n * Paused because its calls kept failing to run: status_reason says why.\n * Its orders stay.\n *\n * @generated from enum value: QUARANTINED = 6;\n */\n QUARANTINED = 6,\n}\n\n/**\n * Describes the enum strategies.v1.Bot.Status.\n */\nexport const Bot_StatusSchema: GenEnum<Bot_Status> = /*@__PURE__*/\n enumDesc(file_strategies_v1_strategies, 43, 0);\n\n/**\n * ListBotsRequest lists the caller's bots.\n *\n * @generated from message strategies.v1.ListBotsRequest\n */\nexport type ListBotsRequest = Message<\"strategies.v1.ListBotsRequest\"> & {\n /**\n * Maximum number of bots to return: default 50, max 200.\n *\n * @generated from field: uint32 limit = 1;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed and exclusive cursor from a previous response's\n * next_page_token. It is bound to the caller.\n *\n * @generated from field: string page_token = 2;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message strategies.v1.ListBotsRequest.\n * Use `create(ListBotsRequestSchema)` to create a new message.\n */\nexport const ListBotsRequestSchema: GenMessage<ListBotsRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 44);\n\n/**\n * ListBotsResponse returns one page of the caller's bots.\n *\n * @generated from message strategies.v1.ListBotsResponse\n */\nexport type ListBotsResponse = Message<\"strategies.v1.ListBotsResponse\"> & {\n /**\n * Bots, newest first.\n *\n * @generated from field: repeated strategies.v1.Bot bots = 1;\n */\n bots: Bot[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message strategies.v1.ListBotsResponse.\n * Use `create(ListBotsResponseSchema)` to create a new message.\n */\nexport const ListBotsResponseSchema: GenMessage<ListBotsResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 45);\n\n/**\n * BotBalance is one asset balance of a bot's subaccount.\n *\n * @generated from message strategies.v1.BotBalance\n */\nexport type BotBalance = Message<\"strategies.v1.BotBalance\"> & {\n /**\n * Asset symbol, for example USDT.\n *\n * @generated from field: string asset = 1;\n */\n asset: string;\n\n /**\n * Balance free to use, as an exact decimal.\n *\n * @generated from field: string free = 2;\n */\n free: string;\n\n /**\n * Balance held by open orders, as an exact decimal.\n *\n * @generated from field: string locked = 3;\n */\n locked: string;\n};\n\n/**\n * Describes the message strategies.v1.BotBalance.\n * Use `create(BotBalanceSchema)` to create a new message.\n */\nexport const BotBalanceSchema: GenMessage<BotBalance> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 46);\n\n/**\n * BotOrder is one open order of a bot.\n *\n * @generated from message strategies.v1.BotOrder\n */\nexport type BotOrder = Message<\"strategies.v1.BotOrder\"> & {\n /**\n * Public order ID.\n *\n * @generated from field: fixed64 order_id = 1;\n */\n orderId: bigint;\n\n /**\n * Market, for example BTC/USDT.\n *\n * @generated from field: string market = 2;\n */\n market: string;\n\n /**\n * Side.\n *\n * @generated from field: strategies.v1.OrderSide side = 3;\n */\n side: OrderSide;\n\n /**\n * Order type, for example limit or stop_loss.\n *\n * @generated from field: string type = 4;\n */\n type: string;\n\n /**\n * Limit or trigger price, as an exact decimal in the quote asset. Empty for\n * a market order.\n *\n * @generated from field: string price = 5;\n */\n price: string;\n\n /**\n * Quantity, as an exact decimal in the base asset.\n *\n * @generated from field: string quantity = 6;\n */\n quantity: string;\n\n /**\n * Quantity filled so far.\n *\n * @generated from field: string filled_quantity = 7;\n */\n filledQuantity: string;\n\n /**\n * When the order was placed.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 8;\n */\n createdAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message strategies.v1.BotOrder.\n * Use `create(BotOrderSchema)` to create a new message.\n */\nexport const BotOrderSchema: GenMessage<BotOrder> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 47);\n\n/**\n * BotDecision is one handler call of a bot.\n *\n * @generated from message strategies.v1.BotDecision\n */\nexport type BotDecision = Message<\"strategies.v1.BotDecision\"> & {\n /**\n * When the decision was made.\n *\n * @generated from field: google.protobuf.Timestamp decided_at = 1;\n */\n decidedAt?: Timestamp | undefined;\n\n /**\n * The event that woke the bot, for example \"schedule mon 09:00 UTC\".\n *\n * @generated from field: string event = 2;\n */\n event: string;\n\n /**\n * The orders the bot asked for, each with its reason, in the shape the\n * manifest's behaviour examples use. Empty when it decided to do nothing.\n *\n * @generated from field: repeated google.protobuf.Struct orders = 3;\n */\n orders: JsonObject[];\n\n /**\n * The bot's log lines from the call, oldest first.\n *\n * @generated from field: repeated string logs = 4;\n */\n logs: string[];\n\n /**\n * What the bot saw: prices, indicator values, balances and open orders at\n * the event.\n *\n * @generated from field: google.protobuf.Struct snapshot = 5;\n */\n snapshot?: JsonObject | undefined;\n};\n\n/**\n * Describes the message strategies.v1.BotDecision.\n * Use `create(BotDecisionSchema)` to create a new message.\n */\nexport const BotDecisionSchema: GenMessage<BotDecision> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 48);\n\n/**\n * BotError is one failed handler call of a bot.\n *\n * @generated from message strategies.v1.BotError\n */\nexport type BotError = Message<\"strategies.v1.BotError\"> & {\n /**\n * When the call failed.\n *\n * @generated from field: google.protobuf.Timestamp time = 1;\n */\n time?: Timestamp | undefined;\n\n /**\n * The event that woke the bot.\n *\n * @generated from field: string event = 2;\n */\n event: string;\n\n /**\n * The error.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message strategies.v1.BotError.\n * Use `create(BotErrorSchema)` to create a new message.\n */\nexport const BotErrorSchema: GenMessage<BotError> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 49);\n\n/**\n * GetBotRequest reads one bot of the caller.\n *\n * @generated from message strategies.v1.GetBotRequest\n */\nexport type GetBotRequest = Message<\"strategies.v1.GetBotRequest\"> & {\n /**\n * Public bot ID.\n *\n * @generated from field: fixed64 bot_id = 1;\n */\n botId: bigint;\n};\n\n/**\n * Describes the message strategies.v1.GetBotRequest.\n * Use `create(GetBotRequestSchema)` to create a new message.\n */\nexport const GetBotRequestSchema: GenMessage<GetBotRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 50);\n\n/**\n * GetBotResponse is a bot with its money rules, account and recent\n * decisions.\n *\n * @generated from message strategies.v1.GetBotResponse\n */\nexport type GetBotResponse = Message<\"strategies.v1.GetBotResponse\"> & {\n /**\n * The bot.\n *\n * @generated from field: strategies.v1.Bot bot = 1;\n */\n bot?: Bot | undefined;\n\n /**\n * What the bot may do with money.\n *\n * @generated from field: strategies.v1.MoneyCard money_card = 2;\n */\n moneyCard?: MoneyCard | undefined;\n\n /**\n * Its settings, with their values, in settings-form order.\n *\n * @generated from field: repeated strategies.v1.SettingValue settings = 3;\n */\n settings: SettingValue[];\n\n /**\n * Balances of its subaccount, by asset.\n *\n * @generated from field: repeated strategies.v1.BotBalance balances = 4;\n */\n balances: BotBalance[];\n\n /**\n * Open orders of its subaccount, newest first.\n *\n * @generated from field: repeated strategies.v1.BotOrder open_orders = 5;\n */\n openOrders: BotOrder[];\n\n /**\n * Its last decisions, newest first: at most 20.\n *\n * @generated from field: repeated strategies.v1.BotDecision decisions = 6;\n */\n decisions: BotDecision[];\n\n /**\n * Its last errors, newest first: at most 20.\n *\n * @generated from field: repeated strategies.v1.BotError errors = 7;\n */\n errors: BotError[];\n};\n\n/**\n * Describes the message strategies.v1.GetBotResponse.\n * Use `create(GetBotResponseSchema)` to create a new message.\n */\nexport const GetBotResponseSchema: GenMessage<GetBotResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 51);\n\n/**\n * BotLogEntry is one line of a bot's log.\n *\n * @generated from message strategies.v1.BotLogEntry\n */\nexport type BotLogEntry = Message<\"strategies.v1.BotLogEntry\"> & {\n /**\n * Position in the bot's log, increasing.\n *\n * @generated from field: uint64 sequence = 1;\n */\n sequence: bigint;\n\n /**\n * When it was written.\n *\n * @generated from field: google.protobuf.Timestamp time = 2;\n */\n time?: Timestamp | undefined;\n\n /**\n * What it records.\n *\n * @generated from field: strategies.v1.BotLogEntry.Kind kind = 3;\n */\n kind: BotLogEntry_Kind;\n\n /**\n * The line.\n *\n * @generated from field: string message = 4;\n */\n message: string;\n};\n\n/**\n * Describes the message strategies.v1.BotLogEntry.\n * Use `create(BotLogEntrySchema)` to create a new message.\n */\nexport const BotLogEntrySchema: GenMessage<BotLogEntry> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 52);\n\n/**\n * Kind is what a log entry records.\n *\n * @generated from enum strategies.v1.BotLogEntry.Kind\n */\nexport enum BotLogEntry_Kind {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * A line the bot wrote.\n *\n * @generated from enum value: LOG = 1;\n */\n LOG = 1,\n\n /**\n * A decision: the orders it asked for, or that it did nothing.\n *\n * @generated from enum value: DECISION = 2;\n */\n DECISION = 2,\n\n /**\n * A failed handler call.\n *\n * @generated from enum value: ERROR = 3;\n */\n ERROR = 3,\n}\n\n/**\n * Describes the enum strategies.v1.BotLogEntry.Kind.\n */\nexport const BotLogEntry_KindSchema: GenEnum<BotLogEntry_Kind> = /*@__PURE__*/\n enumDesc(file_strategies_v1_strategies, 52, 0);\n\n/**\n * ListBotLogsRequest reads a bot's log.\n *\n * @generated from message strategies.v1.ListBotLogsRequest\n */\nexport type ListBotLogsRequest = Message<\"strategies.v1.ListBotLogsRequest\"> & {\n /**\n * Public bot ID.\n *\n * @generated from field: fixed64 bot_id = 1;\n */\n botId: bigint;\n\n /**\n * Earliest entry time, inclusive. Unset means the start of the retained\n * log.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 2;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Maximum number of entries to return: default 100, max 200.\n *\n * @generated from field: uint32 limit = 3;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed and exclusive cursor from a previous response's\n * next_page_token. It is bound to the caller, bot_id and start_time; reuse\n * it only with the same values.\n *\n * @generated from field: string page_token = 4;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message strategies.v1.ListBotLogsRequest.\n * Use `create(ListBotLogsRequestSchema)` to create a new message.\n */\nexport const ListBotLogsRequestSchema: GenMessage<ListBotLogsRequest> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 53);\n\n/**\n * ListBotLogsResponse returns one page of a bot's log.\n *\n * @generated from message strategies.v1.ListBotLogsResponse\n */\nexport type ListBotLogsResponse = Message<\"strategies.v1.ListBotLogsResponse\"> & {\n /**\n * Entries, oldest first.\n *\n * @generated from field: repeated strategies.v1.BotLogEntry entries = 1;\n */\n entries: BotLogEntry[];\n\n /**\n * Cursor for the next page. Empty when no more results exist. Entries\n * written later are read with a new listing whose start_time is the last\n * entry's time, skipping sequences already read.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message strategies.v1.ListBotLogsResponse.\n * Use `create(ListBotLogsResponseSchema)` to create a new message.\n */\nexport const ListBotLogsResponseSchema: GenMessage<ListBotLogsResponse> = /*@__PURE__*/\n messageDesc(file_strategies_v1_strategies, 54);\n\n/**\n * ErrorCode identifies a Strategies API error.\n *\n * @generated from enum strategies.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No code.\n *\n * @generated from enum value: ERROR_UNSPECIFIED = 0;\n */\n ERROR_UNSPECIFIED = 0,\n\n /**\n * No strategy version of the caller has this ID, or it expired. Another\n * account's version is reported the same way.\n *\n * @generated from enum value: VERSION_NOT_FOUND = 1;\n */\n VERSION_NOT_FOUND = 1,\n\n /**\n * No backtest of the caller has this ID.\n *\n * @generated from enum value: BACKTEST_NOT_FOUND = 2;\n */\n BACKTEST_NOT_FOUND = 2,\n\n /**\n * No deploy proposal of the caller has this ID.\n *\n * @generated from enum value: PROPOSAL_NOT_FOUND = 3;\n */\n PROPOSAL_NOT_FOUND = 3,\n\n /**\n * No bot of the caller has this ID.\n *\n * @generated from enum value: BOT_NOT_FOUND = 4;\n */\n BOT_NOT_FOUND = 4,\n\n /**\n * The requested runtime version is not offered. GetStrategyReference\n * without a runtime version names the current one.\n *\n * @generated from enum value: RUNTIME_VERSION_UNSUPPORTED = 5;\n */\n RUNTIME_VERSION_UNSUPPORTED = 5,\n\n /**\n * The manifest is larger than the limit GetStrategyReference states\n * (StrategyLimits.manifest_bytes), measured as compact JSON.\n *\n * @generated from enum value: MANIFEST_TOO_LARGE = 6;\n */\n MANIFEST_TOO_LARGE = 6,\n\n /**\n * A setting is unknown to the version's settings form, or its value is not\n * a valid value of its kind or lies outside its bounds. field_path names it.\n *\n * @generated from enum value: SETTINGS_INVALID = 7;\n */\n SETTINGS_INVALID = 7,\n\n /**\n * A funding or initial balance names an asset twice, or an asset the bot's\n * markets do not trade. field_path names it.\n *\n * @generated from enum value: FUNDING_INVALID = 8;\n */\n FUNDING_INVALID = 8,\n\n /**\n * The version did not validate: ValidateStrategy returned valid false for\n * it. Fix the errors and validate again.\n *\n * @generated from enum value: VERSION_INVALID = 9;\n */\n VERSION_INVALID = 9,\n\n /**\n * A behaviour example of the version fails, or the examples were never\n * run. RunScenarios shows each result.\n *\n * @generated from enum value: SCENARIOS_FAILING = 10;\n */\n SCENARIOS_FAILING = 10,\n\n /**\n * The version has no finished backtest. Bots that cannot be backtested\n * are exempt.\n *\n * @generated from enum value: BACKTEST_MISSING = 11;\n */\n BACKTEST_MISSING = 11,\n\n /**\n * A market of the bot is not open to bots. markets lists them.\n *\n * @generated from enum value: MARKET_NOT_ALLOWED = 12;\n */\n MARKET_NOT_ALLOWED = 12,\n\n /**\n * The funding account does not hold the funding. shortfall gives the\n * missing amounts.\n *\n * @generated from enum value: INSUFFICIENT_FUNDS = 13;\n */\n INSUFFICIENT_FUNDS = 13,\n\n /**\n * The caller already runs as many bots as their VIP tier allows. bot_cap\n * gives the tier, the cap and the next tier's cap.\n *\n * @generated from enum value: BOT_CAP_REACHED = 14;\n */\n BOT_CAP_REACHED = 14,\n\n /**\n * The backtest window holds no market data for the bot's markets and\n * timeframes.\n *\n * @generated from enum value: WINDOW_HAS_NO_DATA = 15;\n */\n WINDOW_HAS_NO_DATA = 15,\n\n /**\n * The bot cannot be backtested on candles: it reacts to events candles do\n * not carry, such as top-of-book or trade updates. ExplainStrategy says so.\n *\n * @generated from enum value: NOT_BACKTESTABLE = 16;\n */\n NOT_BACKTESTABLE = 16,\n\n /**\n * The caller ran the most behaviour-example runs allowed per minute.\n * retry_after says when to try again.\n *\n * @generated from enum value: SCENARIO_RUN_LIMIT_REACHED = 17;\n */\n SCENARIO_RUN_LIMIT_REACHED = 17,\n\n /**\n * The caller started the most backtests allowed per day. retry_after says\n * when to try again.\n *\n * @generated from enum value: BACKTEST_LIMIT_REACHED = 18;\n */\n BACKTEST_LIMIT_REACHED = 18,\n\n /**\n * The caller's bots and backtests would read more distinct indicator\n * settings than allowed. Reuse an indicator setting another bot reads, or\n * stop a bot.\n *\n * @generated from enum value: INDICATOR_SETTINGS_LIMIT_REACHED = 19;\n */\n INDICATOR_SETTINGS_LIMIT_REACHED = 19,\n\n /**\n * The idempotency key was already used with a different request. The\n * original backtest or proposal stands.\n *\n * @generated from enum value: IDEMPOTENCY_CONFLICT = 20;\n */\n IDEMPOTENCY_CONFLICT = 20,\n\n /**\n * A required service is temporarily unavailable; retry the same request.\n * Every call of this API is safe to retry.\n *\n * @generated from enum value: SERVICE_UNAVAILABLE = 21;\n */\n SERVICE_UNAVAILABLE = 21,\n\n /**\n * The funding subaccount is not a subaccount of the caller's main account.\n *\n * @generated from enum value: FUNDING_SUBACCOUNT_NOT_FOUND = 22;\n */\n FUNDING_SUBACCOUNT_NOT_FOUND = 22,\n}\n\n/**\n * Describes the enum strategies.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_strategies_v1_strategies, 0);\n\n/**\n * OrderSide is the side of an order.\n *\n * @generated from enum strategies.v1.OrderSide\n */\nexport enum OrderSide {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: SIDE_UNSPECIFIED = 0;\n */\n SIDE_UNSPECIFIED = 0,\n\n /**\n * Buy the market's base asset.\n *\n * @generated from enum value: BUY = 1;\n */\n BUY = 1,\n\n /**\n * Sell the market's base asset.\n *\n * @generated from enum value: SELL = 2;\n */\n SELL = 2,\n}\n\n/**\n * Describes the enum strategies.v1.OrderSide.\n */\nexport const OrderSideSchema: GenEnum<OrderSide> = /*@__PURE__*/\n enumDesc(file_strategies_v1_strategies, 1);\n\n/**\n * StrategiesService writes, tests and proposes the caller's trading bots and\n * reads them. Bots belong to the caller's main account, and each runs on its\n * own subaccount, created when the user deploys it. No call moves money,\n * creates a subaccount, deploys a bot or stops one: deploying takes the\n * user's MFA and wallet signature on the deploy page ProposeDeploy links.\n *\n * Requests name no account, except the funding subaccount of ProposeDeploy:\n * every call acts for the caller's main account. An\n * API key must be scoped to the main account, and its policy must grant the\n * call's permission: READ_STRATEGIES for reads, DRAFT_STRATEGIES to store and\n * test versions, PROPOSE_STRATEGY_DEPLOY to propose deploys. An API key\n * scoped to a subaccount is refused (PERMISSION_DENIED,\n * AUTH_API_KEY_ACCESS_DENIED) even when its policy grants the permission.\n * Every call is safe to retry.\n *\n * @generated from service strategies.v1.StrategiesService\n */\nexport const StrategiesService: GenService<{\n /**\n * GetStrategyReference returns what bot code is written against for one\n * runtime version: the bot API reference and the skill pack, then the\n * manifest's JSON Schema, the allowed indicators and the limits once the\n * runtime catalog is available.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, or RUNTIME_VERSION_UNSUPPORTED.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n *\n * @generated from rpc strategies.v1.StrategiesService.GetStrategyReference\n */\n getStrategyReference: {\n methodKind: \"unary\";\n input: typeof GetStrategyReferenceRequestSchema;\n output: typeof GetStrategyReferenceResponseSchema;\n },\n /**\n * ListStrategyTemplates lists the bot templates: starting points with a\n * manifest and code.\n *\n * Errors:\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n *\n * @generated from rpc strategies.v1.StrategiesService.ListStrategyTemplates\n */\n listStrategyTemplates: {\n methodKind: \"unary\";\n input: typeof ListStrategyTemplatesRequestSchema;\n output: typeof ListStrategyTemplatesResponseSchema;\n },\n /**\n * ValidateStrategy checks a bot and stores it as an immutable version of\n * the caller. The same runtime version, manifest and code always return the\n * same version. A bot with mistakes is no error: it returns valid false\n * with its errors, so it can be fixed and validated again.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, RUNTIME_VERSION_UNSUPPORTED or\n * MANIFEST_TOO_LARGE.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant DRAFT_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.ValidateStrategy\n */\n validateStrategy: {\n methodKind: \"unary\";\n input: typeof ValidateStrategyRequestSchema;\n output: typeof ValidateStrategyResponseSchema;\n },\n /**\n * RunScenarios runs a version's behaviour examples against its code and\n * records the results. The result is deterministic: a version always gets\n * the same one.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request.\n * - NOT_FOUND: VERSION_NOT_FOUND.\n * - FAILED_PRECONDITION: VERSION_INVALID.\n * - RESOURCE_EXHAUSTED: SCENARIO_RUN_LIMIT_REACHED; retry after\n * retry_after.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant DRAFT_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.RunScenarios\n */\n runScenarios: {\n methodKind: \"unary\";\n input: typeof RunScenariosRequestSchema;\n output: typeof RunScenariosResponseSchema;\n },\n /**\n * StartBacktest starts a backtest of a version. A retry with the same\n * idempotency_key and request returns the backtest the first call started.\n * Across keys, a request with the same version, effective window, effective\n * settings and effective initial balances returns the same backtest rather\n * than running again; defaults count as their resolved values (see\n * StartBacktestRequest). Every new backtest counts in the attempts of the\n * bot's family of versions.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, SETTINGS_INVALID or\n * FUNDING_INVALID.\n * - NOT_FOUND: VERSION_NOT_FOUND.\n * - FAILED_PRECONDITION: VERSION_INVALID, WINDOW_HAS_NO_DATA or\n * NOT_BACKTESTABLE.\n * - RESOURCE_EXHAUSTED: BACKTEST_LIMIT_REACHED, retry after retry_after; or\n * INDICATOR_SETTINGS_LIMIT_REACHED.\n * - ALREADY_EXISTS: IDEMPOTENCY_CONFLICT; the original backtest stands.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry the same request.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant DRAFT_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.StartBacktest\n */\n startBacktest: {\n methodKind: \"unary\";\n input: typeof StartBacktestRequestSchema;\n output: typeof StartBacktestResponseSchema;\n },\n /**\n * GetBacktest reads one backtest of the caller, with its report once it is\n * done.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request.\n * - NOT_FOUND: BACKTEST_NOT_FOUND.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant READ_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.GetBacktest\n */\n getBacktest: {\n methodKind: \"unary\";\n input: typeof GetBacktestRequestSchema;\n output: typeof GetBacktestResponseSchema;\n },\n /**\n * ExplainStrategy returns the review summary of a version: what a user\n * approves when deploying it.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request.\n * - NOT_FOUND: VERSION_NOT_FOUND.\n * - FAILED_PRECONDITION: VERSION_INVALID.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant READ_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.ExplainStrategy\n */\n explainStrategy: {\n methodKind: \"unary\";\n input: typeof ExplainStrategyRequestSchema;\n output: typeof ExplainStrategyResponseSchema;\n },\n /**\n * ProposeDeploy records an immutable deploy proposal and returns the link\n * to the deploy page, where the user deploys it with MFA and a wallet\n * signature. It never deploys, creates a subaccount or moves funds. The\n * version must be valid, pass every behaviour example and have a finished\n * backtest unless it cannot be backtested; its markets must be open to\n * bots; the funding account must hold the funding; and the caller must be\n * under their bot cap.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request, SETTINGS_INVALID or\n * FUNDING_INVALID.\n * - NOT_FOUND: VERSION_NOT_FOUND, or FUNDING_SUBACCOUNT_NOT_FOUND.\n * - FAILED_PRECONDITION: VERSION_INVALID, SCENARIOS_FAILING,\n * BACKTEST_MISSING, MARKET_NOT_ALLOWED, INSUFFICIENT_FUNDS or\n * BOT_CAP_REACHED.\n * - RESOURCE_EXHAUSTED: INDICATOR_SETTINGS_LIMIT_REACHED.\n * - ALREADY_EXISTS: IDEMPOTENCY_CONFLICT; the original proposal stands.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry the same request.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant PROPOSE_STRATEGY_DEPLOY or the key is scoped to a\n * subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.ProposeDeploy\n */\n proposeDeploy: {\n methodKind: \"unary\";\n input: typeof ProposeDeployRequestSchema;\n output: typeof ProposeDeployResponseSchema;\n },\n /**\n * GetDeployStatus reads where one deploy proposal of the caller is.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request.\n * - NOT_FOUND: PROPOSAL_NOT_FOUND.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant READ_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.GetDeployStatus\n */\n getDeployStatus: {\n methodKind: \"unary\";\n input: typeof GetDeployStatusRequestSchema;\n output: typeof GetDeployStatusResponseSchema;\n },\n /**\n * ListBots lists the caller's bots, newest first.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request or page token.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant READ_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.ListBots\n */\n listBots: {\n methodKind: \"unary\";\n input: typeof ListBotsRequestSchema;\n output: typeof ListBotsResponseSchema;\n },\n /**\n * GetBot reads one bot of the caller: its money rules and settings, its\n * subaccount's balances and open orders, and its recent decisions and\n * errors.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request.\n * - NOT_FOUND: BOT_NOT_FOUND.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant READ_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.GetBot\n */\n getBot: {\n methodKind: \"unary\";\n input: typeof GetBotRequestSchema;\n output: typeof GetBotResponseSchema;\n },\n /**\n * ListBotLogs reads a bot's log lines, decisions and errors, oldest first.\n *\n * Errors:\n * - INVALID_ARGUMENT: malformed request or page token.\n * - NOT_FOUND: BOT_NOT_FOUND.\n * - UNAVAILABLE: SERVICE_UNAVAILABLE; retry.\n * - PERMISSION_DENIED: AUTH_API_KEY_ACCESS_DENIED when the API key's policy\n * does not grant READ_STRATEGIES or the key is scoped to a subaccount.\n * - UNAUTHENTICATED: missing or invalid credentials.\n *\n * @generated from rpc strategies.v1.StrategiesService.ListBotLogs\n */\n listBotLogs: {\n methodKind: \"unary\";\n input: typeof ListBotLogsRequestSchema;\n output: typeof ListBotLogsResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_strategies_v1_strategies, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,gCACX,uBAAS,ggcAAggc;CAAC;CAA6B;CAAgC;AAA0B,CAAC;;;;;AAgDpmc,MAAa,qBACX,0BAAY,+BAA+B,CAAC;;;;;AA6D9C,MAAa,oBACX,0BAAY,+BAA+B,CAAC;;;;;AA4B9C,MAAa,cACX,0BAAY,+BAA+B,CAAC;;;;;AA2B9C,MAAa,mBACX,0BAAY,+BAA+B,CAAC;;;;;AA6B9C,MAAa,yBACX,0BAAY,+BAA+B,CAAC;;;;;AAuD9C,MAAa,2BACX,0BAAY,+BAA+B,CAAC;;;;;AAmD9C,MAAa,kBACX,0BAAY,+BAA+B,CAAC;;;;;AAuE9C,MAAa,uBACX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CAML,UAAA,UAAA,sBAAA,KAAA;;;;;;CAOA,UAAA,UAAA,SAAA,KAAA;;;;;;CAOA,UAAA,UAAA,UAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,kBACX,uBAAS,+BAA+B,CAAC;;;;;;;;;;;;;;;;;;;AAoB3C,MAAa,oBA0PX,0BAAY,+BAA+B,CAAC"}
@@ -1154,8 +1154,8 @@ type QuickSwapSummary = Message<"swap.quickswap.v1.QuickSwapSummary"> & {
1154
1154
  */
1155
1155
  fees?: RequestedFees | undefined;
1156
1156
  /**
1157
- * Broker, affiliate and referral fees charged so far, as settled, as on
1158
- * QuickSwap.
1157
+ * Service, broker, affiliate and referral fees charged so far, as
1158
+ * settled, as on QuickSwap.
1159
1159
  *
1160
1160
  * @generated from field: repeated swap.quickswap.v1.ChargedFee charged_fees = 8;
1161
1161
  */
@@ -2137,11 +2137,21 @@ declare const ListPayoutsRequestSchema: GenMessage<ListPayoutsRequest>;
2137
2137
  /**
2138
2138
  * ListPayoutsResponse lists payouts newest first by scheduled slot. Runs of
2139
2139
  * the same slot follow a stable server-defined order, the same on every
2140
- * page; it does not follow run_id. Paging lists exactly once every run that
2141
- * sorts after the previous page's last run when the next page is read,
2142
- * including a run started meanwhile for an older slot. A run started
2143
- * meanwhile for a newer slot sorts before the cursor and appears only in a
2144
- * listing started again from the first page.
2140
+ * page; it does not follow run_id. next_page_token marks a position in the
2141
+ * run history, in that order. Without a status filter it is the last payout
2142
+ * returned. On any page filtered by status, a full one included, the
2143
+ * position can lie past the last payout returned: when the page uses up its
2144
+ * scan before finding another match, it is the last run the page examined.
2145
+ * A page may hold fewer than limit payouts, or none, while next_page_token
2146
+ * is set and matching payouts remain; keep paging until next_page_token is
2147
+ * empty. A complete traversal, followed until next_page_token is empty,
2148
+ * lists every payout that matched throughout it exactly once, in order. A
2149
+ * run started meanwhile past the position, for an older slot, is listed by
2150
+ * a later page. A run started meanwhile at or before the position,
2151
+ * including one between the last payout returned and the position, and a
2152
+ * run there whose status changes meanwhile into the filter (in progress
2153
+ * becoming paid, for example) appear only in a listing started again from
2154
+ * the first page.
2145
2155
  *
2146
2156
  * @generated from message swap.quickswap.v1.ListPayoutsResponse
2147
2157
  */
@@ -2693,21 +2703,24 @@ declare const ListVaultPayoutRulesResponseSchema: GenMessage<ListVaultPayoutRule
2693
2703
  */
2694
2704
  type VaultLedgerFeeCredit = Message<"swap.quickswap.v1.VaultLedgerFeeCredit"> & {
2695
2705
  /**
2696
- * Public ID of the credit, unique among the broker's fee credits.
2706
+ * Public ID of the credit, unique among fee credits.
2697
2707
  *
2698
2708
  * @generated from field: fixed64 credit_id = 1;
2699
2709
  */
2700
2710
  creditId: bigint;
2701
2711
  /**
2702
2712
  * Public ID of the QuickSwap the fee was charged on. Read it with
2703
- * GetQuickSwap for its full detail.
2713
+ * GetQuickSwap for its full detail; a referral partner reads it with
2714
+ * QuickSwapReferralService.GetReferredQuickSwap.
2704
2715
  *
2705
2716
  * @generated from field: fixed64 swap_id = 2;
2706
2717
  */
2707
2718
  swapId: bigint;
2708
2719
  /**
2709
- * BROKER (the broker fee, credited to the default vault) or AFFILIATE (an
2710
- * affiliate fee, credited to that affiliate vault).
2720
+ * BROKER (the broker fee, credited to the default vault), AFFILIATE (an
2721
+ * affiliate fee, credited to that affiliate vault) or REFERRAL (a referral
2722
+ * commission, credited to the partner's earnings sub-account; only
2723
+ * QuickSwapReferralService.ListReferralLedger returns it).
2711
2724
  *
2712
2725
  * @generated from field: swap.quickswap.v1.FeeKind fee_kind = 3;
2713
2726
  */
@@ -2860,7 +2873,8 @@ type VaultLedgerPayoutRefund = Message<"swap.quickswap.v1.VaultLedgerPayoutRefun
2860
2873
  */
2861
2874
  declare const VaultLedgerPayoutRefundSchema: GenMessage<VaultLedgerPayoutRefund>;
2862
2875
  /**
2863
- * VaultLedgerEntry is one movement of a broker vault's funds.
2876
+ * VaultLedgerEntry is one movement of a broker vault's funds, or of a
2877
+ * referral partner's earnings sub-account (ListReferralLedger).
2864
2878
  *
2865
2879
  * @generated from message swap.quickswap.v1.VaultLedgerEntry
2866
2880
  */
@@ -2872,15 +2886,17 @@ type VaultLedgerEntry = Message<"swap.quickswap.v1.VaultLedgerEntry"> & {
2872
2886
  */
2873
2887
  kind: VaultLedgerEntryKind;
2874
2888
  /**
2875
- * When it happened: when a fee credit was credited; a payout debit's and
2876
- * refund's run's scheduled slot (Payout.scheduled_for).
2889
+ * When it happened: when a fee credit was credited (rounded down to the
2890
+ * minute in ListReferralLedger); a payout debit's and refund's run's
2891
+ * scheduled slot (Payout.scheduled_for).
2877
2892
  *
2878
2893
  * @generated from field: google.protobuf.Timestamp occurred_at = 2;
2879
2894
  */
2880
2895
  occurredAt?: Timestamp | undefined;
2881
2896
  /**
2882
2897
  * Public sub-account ID of the vault: the default vault or an affiliate
2883
- * vault.
2898
+ * vault. In ListReferralLedger, the partner's earnings sub-account
2899
+ * (ReferralPartner.earnings_subaccount_id).
2884
2900
  *
2885
2901
  * @generated from field: fixed64 vault_account_id = 3;
2886
2902
  */
@@ -3159,7 +3175,9 @@ type VaultAllowlistChange = Message<"swap.quickswap.v1.VaultAllowlistChange"> &
3159
3175
  /**
3160
3176
  * The end of the change's approval window: a change not applied by then
3161
3177
  * ends NOT_APPLIED / TIMED_OUT. A change can stay PENDING shortly past it
3162
- * while its outcome is confirmed.
3178
+ * while its outcome is confirmed, and longer while an outcome that cannot
3179
+ * be confirmed yet is investigated; the vault takes no other change
3180
+ * meanwhile.
3163
3181
  *
3164
3182
  * @generated from field: google.protobuf.Timestamp expires_at = 9;
3165
3183
  */
@@ -3716,7 +3734,9 @@ declare enum VaultLedgerEntryKind {
3716
3734
  */
3717
3735
  LEDGER_ENTRY_KIND_UNSPECIFIED = 0,
3718
3736
  /**
3719
- * A broker or affiliate fee a QuickSwap credited to the vault.
3737
+ * A broker or affiliate fee a QuickSwap credited to the vault, or a
3738
+ * referral commission credited to a referral partner's earnings
3739
+ * sub-account.
3720
3740
  *
3721
3741
  * @generated from enum value: FEE_CREDIT = 1;
3722
3742
  */
@@ -3732,6 +3752,7 @@ declare enum VaultLedgerEntryKind {
3732
3752
  * to the vault's own smart account, less the network fee it kept. The
3733
3753
  * funds stay in that smart account: the refund is not part of the vault
3734
3754
  * balance ListVaultBalances reads, and no entry returns it to the vault.
3755
+ * A referral partner's earnings sub-account is refunded the same way.
3735
3756
  *
3736
3757
  * @generated from enum value: PAYOUT_REFUND = 3;
3737
3758
  */
@@ -1 +1 @@
1
- {"version":3,"file":"quickswap_broker_pb.d.ts","names":[],"sources":["../../../../../src/gen/swap/quickswap/v1/quickswap_broker_pb.ts"],"mappings":";;;;;;;;;;;cAkBa,yCAAyC;;;;;;KAQ1C,SAAS;;;;;;EAMnB;;;;;;EAOA;;;;;;;EAQA;;;;;;EAOA;;;;;;;EAQA;;;;;;;;EASA;;;;;;EAOA,MAAM;;;;;;;;EASN;;;;;;;;EASA;;;;;;;;;EAUA;;;;;;;;;;EAWA;;;;;;;;EASA;;;;;;cAOW,cAAc,WAAW;;;;;;;;;;KAY1B,cAAc;;;;;;;EAOxB;;;;;;;EAQA;;;;;;;EAQA;;;;;;cAOW,mBAAmB,WAAW;;;;;;;;KAU/B,iBAAiB;;;;;;EAM3B;;;;;;EAOA;;;;;;EAOA,QAAQ;;;;;;EAOR,YAAY;;;;;;EAOZ,YAAY;;;;;;cAOD,sBAAsB,WAAW;;;;;;KAQlC,YAAY;;;;;;EAMtB;;;;;;EAOA;;;;;;EAOA,YAAY;;;;;;;EAQZ;;;;;;EAOA;;;;;;;EAQA,YAAY;;;;;;EAOZ,YAAY;;;;;;EAOZ;;;;;;cAOW,iBAAiB,WAAW;;;;;;KAQ7B,SAAS;;;;;;EAMnB;;;;;;EAOA,MAAM;;;;;;EAON,QAAQ;;;;;;cAOG,cAAc,WAAW;;;;;;KAQ1B,SAAS;;;;;;EAMnB;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,MAAM;;;;;;EAON;;;;;;EAOA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ACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;EAWjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;EAUjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;EAYjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;EAcjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;EAcjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;EAcjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;EAgBjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;EAiBjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;EAejB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;;EAkBjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;;EAkBjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;;;;EAoBjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;EAiBjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;EAcjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BjB;IACE;IACA,cAAc;IACd,eAAe"}
@@ -906,7 +906,9 @@ let VaultLedgerEntryKind = /* @__PURE__ */ function(VaultLedgerEntryKind) {
906
906
  */
907
907
  VaultLedgerEntryKind[VaultLedgerEntryKind["LEDGER_ENTRY_KIND_UNSPECIFIED"] = 0] = "LEDGER_ENTRY_KIND_UNSPECIFIED";
908
908
  /**
909
- * A broker or affiliate fee a QuickSwap credited to the vault.
909
+ * A broker or affiliate fee a QuickSwap credited to the vault, or a
910
+ * referral commission credited to a referral partner's earnings
911
+ * sub-account.
910
912
  *
911
913
  * @generated from enum value: FEE_CREDIT = 1;
912
914
  */
@@ -922,6 +924,7 @@ let VaultLedgerEntryKind = /* @__PURE__ */ function(VaultLedgerEntryKind) {
922
924
  * to the vault's own smart account, less the network fee it kept. The
923
925
  * funds stay in that smart account: the refund is not part of the vault
924
926
  * balance ListVaultBalances reads, and no entry returns it to the vault.
927
+ * A referral partner's earnings sub-account is refunded the same way.
925
928
  *
926
929
  * @generated from enum value: PAYOUT_REFUND = 3;
927
930
  */