@polyester/sdk 0.36.0-devnet-20261117035807 → 0.36.0-devnet-20261118141710

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 (345) hide show
  1. package/CHANGELOG.md +66 -8
  2. package/dist/catalogs/index.d.ts +2 -2
  3. package/dist/catalogs/snapshot-validation.js +10 -1
  4. package/dist/catalogs/snapshot-validation.js.map +1 -1
  5. package/dist/catalogs/zipper-catalog.d.ts +2 -0
  6. package/dist/catalogs/zipper-catalog.d.ts.map +1 -1
  7. package/dist/catalogs/zipper-catalog.js.map +1 -1
  8. package/dist/catalogs/zipper-supply.d.ts +2 -0
  9. package/dist/catalogs/zipper-supply.d.ts.map +1 -1
  10. package/dist/catalogs/zipper-supply.js +7 -5
  11. package/dist/catalogs/zipper-supply.js.map +1 -1
  12. package/dist/client.d.ts +2 -0
  13. package/dist/client.d.ts.map +1 -1
  14. package/dist/client.js +2 -0
  15. package/dist/client.js.map +1 -1
  16. package/dist/gen/ai/v1/assistant_pb.d.ts +679 -13
  17. package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
  18. package/dist/gen/ai/v1/assistant_pb.js +355 -97
  19. package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
  20. package/dist/gen/alerts/v1/price_alerts_pb.d.ts +33 -4
  21. package/dist/gen/alerts/v1/price_alerts_pb.d.ts.map +1 -1
  22. package/dist/gen/alerts/v1/price_alerts_pb.js +23 -2
  23. package/dist/gen/alerts/v1/price_alerts_pb.js.map +1 -1
  24. package/dist/gen/auth/v1/activity_pb.d.ts +148 -0
  25. package/dist/gen/auth/v1/activity_pb.d.ts.map +1 -0
  26. package/dist/gen/auth/v1/activity_pb.js +40 -0
  27. package/dist/gen/auth/v1/activity_pb.js.map +1 -0
  28. package/dist/gen/auth/v1/api_keys_pb.d.ts +10 -4
  29. package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
  30. package/dist/gen/auth/v1/api_keys_pb.js +3 -1
  31. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  32. package/dist/gen/auth/v1/auth_pb.d.ts +61 -5
  33. package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
  34. package/dist/gen/auth/v1/auth_pb.js +23 -6
  35. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  36. package/dist/gen/auth/v1/mfa_pb.d.ts +140 -2
  37. package/dist/gen/auth/v1/mfa_pb.d.ts.map +1 -1
  38. package/dist/gen/auth/v1/mfa_pb.js +80 -8
  39. package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
  40. package/dist/gen/auth/v1/policies_pb.d.ts +18 -3
  41. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  42. package/dist/gen/auth/v1/policies_pb.js +18 -3
  43. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  44. package/dist/gen/auth/v1/social_verification_pb.d.ts +36 -15
  45. package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
  46. package/dist/gen/auth/v1/social_verification_pb.js +1 -1
  47. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  48. package/dist/gen/auth/v1/subaccounts_pb.d.ts +15 -1
  49. package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
  50. package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
  51. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  52. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +6 -2
  53. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
  54. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
  55. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +104 -6
  56. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  57. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +49 -3
  58. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  59. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +76 -3
  60. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
  61. package/dist/gen/chain/zipper/v1/zipper_pb.js +46 -2
  62. package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
  63. package/dist/gen/index.d.ts +3 -1
  64. package/dist/gen/index.js +4 -2
  65. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +21 -139
  66. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
  67. package/dist/gen/ledger/read/v1/ledger_read_pb.js +16 -17
  68. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  69. package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +236 -20
  70. package/dist/gen/ledger/read/v1/statement_export_pb.d.ts.map +1 -1
  71. package/dist/gen/ledger/read/v1/statement_export_pb.js +44 -10
  72. package/dist/gen/ledger/read/v1/statement_export_pb.js.map +1 -1
  73. package/dist/gen/ledger/v1/catalog_pb.d.ts +9 -1
  74. package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -1
  75. package/dist/gen/ledger/v1/catalog_pb.js +9 -1
  76. package/dist/gen/ledger/v1/catalog_pb.js.map +1 -1
  77. package/dist/gen/marketdata/v1/asset_info_pb.d.ts +158 -7
  78. package/dist/gen/marketdata/v1/asset_info_pb.d.ts.map +1 -1
  79. package/dist/gen/marketdata/v1/asset_info_pb.js +56 -6
  80. package/dist/gen/marketdata/v1/asset_info_pb.js.map +1 -1
  81. package/dist/gen/notifications/v1/notifications_pb.d.ts +45 -6
  82. package/dist/gen/notifications/v1/notifications_pb.d.ts.map +1 -1
  83. package/dist/gen/notifications/v1/notifications_pb.js +23 -5
  84. package/dist/gen/notifications/v1/notifications_pb.js.map +1 -1
  85. package/dist/gen/orders/v1/orders_pb.d.ts +105 -29
  86. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  87. package/dist/gen/orders/v1/orders_pb.js +14 -2
  88. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  89. package/dist/gen/orders/v1/orders_read_pb.d.ts +50 -20
  90. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  91. package/dist/gen/orders/v1/orders_read_pb.js +1 -1
  92. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  93. package/dist/gen/polyester/api/options_pb.d.ts +11 -2
  94. package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
  95. package/dist/gen/polyester/api/options_pb.js +13 -3
  96. package/dist/gen/polyester/api/options_pb.js.map +1 -1
  97. package/dist/gen/privatews/v1/private_ws_pb.d.ts +13 -3
  98. package/dist/gen/privatews/v1/private_ws_pb.d.ts.map +1 -1
  99. package/dist/gen/privatews/v1/private_ws_pb.js.map +1 -1
  100. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +126 -10
  101. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  102. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +14 -6
  103. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  104. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +665 -0
  105. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts.map +1 -0
  106. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js +216 -0
  107. package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.js.map +1 -0
  108. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +166 -52
  109. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  110. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +50 -12
  111. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  112. package/dist/gen/system/v1/system_pb.d.ts +49 -2
  113. package/dist/gen/system/v1/system_pb.d.ts.map +1 -1
  114. package/dist/gen/system/v1/system_pb.js +18 -6
  115. package/dist/gen/system/v1/system_pb.js.map +1 -1
  116. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +150 -71
  117. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  118. package/dist/gen/transfer/v1/internal_transfer_pb.js +56 -34
  119. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  120. package/dist/gen/triggers/v1/triggers_pb.d.ts +117 -16
  121. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  122. package/dist/gen/triggers/v1/triggers_pb.js +45 -2
  123. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  124. package/dist/index.d.ts +13 -9
  125. package/dist/realtime/client.js +5 -1
  126. package/dist/realtime/client.js.map +1 -1
  127. package/dist/realtime/snapshot-then-stream.js +5 -3
  128. package/dist/realtime/snapshot-then-stream.js.map +1 -1
  129. package/dist/services/account-activity/account-activity.d.ts +22 -0
  130. package/dist/services/account-activity/account-activity.d.ts.map +1 -0
  131. package/dist/services/account-activity/account-activity.js +32 -0
  132. package/dist/services/account-activity/account-activity.js.map +1 -0
  133. package/dist/services/account-activity/account-activity.schemas.d.ts +78 -0
  134. package/dist/services/account-activity/account-activity.schemas.d.ts.map +1 -0
  135. package/dist/services/account-activity/account-activity.schemas.js +44 -0
  136. package/dist/services/account-activity/account-activity.schemas.js.map +1 -0
  137. package/dist/services/account-activity/account-activity.types.d.ts +2 -0
  138. package/dist/services/account-activity/service.d.ts +8 -0
  139. package/dist/services/account-activity/service.d.ts.map +1 -0
  140. package/dist/services/account-activity/service.js +9 -0
  141. package/dist/services/account-activity/service.js.map +1 -0
  142. package/dist/services/address-book/address-book.schemas.js +2 -2
  143. package/dist/services/api-keys/api-keys.schemas.js +2 -2
  144. package/dist/services/assistant/assistant-events.schemas.d.ts +81 -81
  145. package/dist/services/assistant/assistant.codecs.d.ts +7 -2
  146. package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
  147. package/dist/services/assistant/assistant.codecs.js +18 -2
  148. package/dist/services/assistant/assistant.codecs.js.map +1 -1
  149. package/dist/services/assistant/assistant.d.ts +29 -2
  150. package/dist/services/assistant/assistant.d.ts.map +1 -1
  151. package/dist/services/assistant/assistant.js +44 -2
  152. package/dist/services/assistant/assistant.js.map +1 -1
  153. package/dist/services/assistant/assistant.schemas.d.ts +111 -6
  154. package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
  155. package/dist/services/assistant/assistant.schemas.js +74 -6
  156. package/dist/services/assistant/assistant.schemas.js.map +1 -1
  157. package/dist/services/assistant/assistant.types.d.ts +3 -3
  158. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +3 -1
  159. package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
  160. package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
  161. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +15 -13
  162. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts.map +1 -1
  163. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -0
  164. package/dist/services/auto-withdraw/auto-withdraw.schemas.js.map +1 -1
  165. package/dist/services/balances/balances.d.ts +1 -13
  166. package/dist/services/balances/balances.d.ts.map +1 -1
  167. package/dist/services/balances/balances.js +1 -45
  168. package/dist/services/balances/balances.js.map +1 -1
  169. package/dist/services/balances/balances.schemas.d.ts +1 -67
  170. package/dist/services/balances/balances.schemas.d.ts.map +1 -1
  171. package/dist/services/balances/balances.schemas.js +1 -22
  172. package/dist/services/balances/balances.schemas.js.map +1 -1
  173. package/dist/services/balances/balances.types.d.ts +2 -2
  174. package/dist/services/candles/candles.schemas.d.ts +10 -10
  175. package/dist/services/changelog/changelog.schemas.d.ts +38 -38
  176. package/dist/services/checkpoints/checkpoints.schemas.d.ts +3 -3
  177. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +11 -11
  178. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts.map +1 -1
  179. package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
  180. package/dist/services/dust-conversion/dust-conversion.schemas.js.map +1 -1
  181. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  182. package/dist/services/internal-transfers/internal-transfers.codecs.d.ts +11 -6
  183. package/dist/services/internal-transfers/internal-transfers.codecs.d.ts.map +1 -1
  184. package/dist/services/internal-transfers/internal-transfers.codecs.js +6 -6
  185. package/dist/services/internal-transfers/internal-transfers.codecs.js.map +1 -1
  186. package/dist/services/internal-transfers/internal-transfers.d.ts +17 -10
  187. package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
  188. package/dist/services/internal-transfers/internal-transfers.js +21 -10
  189. package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
  190. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +43 -31
  191. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
  192. package/dist/services/internal-transfers/internal-transfers.schemas.js +23 -12
  193. package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
  194. package/dist/services/internal-transfers/internal-transfers.types.d.ts +2 -2
  195. package/dist/services/lifecycle/lifecycle.d.ts +1 -1
  196. package/dist/services/lifecycle/lifecycle.js +2 -3
  197. package/dist/services/lifecycle/lifecycle.js.map +1 -1
  198. package/dist/services/lifecycle/lifecycle.schemas.d.ts +40 -40
  199. package/dist/services/market-data/market-data.codecs.d.ts +8 -0
  200. package/dist/services/market-data/market-data.codecs.d.ts.map +1 -0
  201. package/dist/services/market-data/market-data.codecs.js +7 -1
  202. package/dist/services/market-data/market-data.codecs.js.map +1 -1
  203. package/dist/services/market-data/market-data.d.ts +3 -2
  204. package/dist/services/market-data/market-data.d.ts.map +1 -1
  205. package/dist/services/market-data/market-data.js +3 -2
  206. package/dist/services/market-data/market-data.js.map +1 -1
  207. package/dist/services/market-data/market-data.schemas.d.ts +332 -4
  208. package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
  209. package/dist/services/market-data/market-data.schemas.js +56 -8
  210. package/dist/services/market-data/market-data.schemas.js.map +1 -1
  211. package/dist/services/market-data/market-data.types.d.ts +3 -2
  212. package/dist/services/notifications/notifications.codecs.d.ts +1 -1
  213. package/dist/services/notifications/notifications.codecs.d.ts.map +1 -1
  214. package/dist/services/notifications/notifications.codecs.js +2 -1
  215. package/dist/services/notifications/notifications.codecs.js.map +1 -1
  216. package/dist/services/notifications/notifications.d.ts +4 -2
  217. package/dist/services/notifications/notifications.d.ts.map +1 -1
  218. package/dist/services/notifications/notifications.js +4 -2
  219. package/dist/services/notifications/notifications.js.map +1 -1
  220. package/dist/services/notifications/notifications.schemas.d.ts +63 -7
  221. package/dist/services/notifications/notifications.schemas.d.ts.map +1 -1
  222. package/dist/services/notifications/notifications.schemas.js +5 -0
  223. package/dist/services/notifications/notifications.schemas.js.map +1 -1
  224. package/dist/services/orderbook/orderbook.js +3 -2
  225. package/dist/services/orderbook/orderbook.js.map +1 -1
  226. package/dist/services/orders/order-enums.codecs.d.ts +2 -0
  227. package/dist/services/orders/order-errors.schemas.d.ts +50 -5
  228. package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
  229. package/dist/services/orders/order-errors.schemas.js +13 -3
  230. package/dist/services/orders/order-errors.schemas.js.map +1 -1
  231. package/dist/services/orders/orders-batch.schemas.d.ts +310 -70
  232. package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
  233. package/dist/services/orders/orders-input.schemas.d.ts +58 -11
  234. package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
  235. package/dist/services/orders/orders-input.schemas.js +1 -1
  236. package/dist/services/orders/orders-output.schemas.d.ts +13 -13
  237. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
  238. package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +1 -1
  239. package/dist/services/policies/shared.codecs.js +12 -6
  240. package/dist/services/policies/shared.codecs.js.map +1 -1
  241. package/dist/services/policies/shared.d.ts +1 -1
  242. package/dist/services/policies/shared.js +1 -1
  243. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +9 -9
  244. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +4 -30
  245. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
  246. package/dist/services/price-alerts/price-alerts.d.ts +5 -2
  247. package/dist/services/price-alerts/price-alerts.d.ts.map +1 -1
  248. package/dist/services/price-alerts/price-alerts.js +5 -2
  249. package/dist/services/price-alerts/price-alerts.js.map +1 -1
  250. package/dist/services/price-alerts/price-alerts.schemas.js +1 -1
  251. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  252. package/dist/services/social-verification/social-verification.schemas.d.ts +9 -0
  253. package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
  254. package/dist/services/social-verification/social-verification.schemas.js +9 -2
  255. package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
  256. package/dist/services/statement-exports/statement-exports.codecs.d.ts +3 -2
  257. package/dist/services/statement-exports/statement-exports.codecs.d.ts.map +1 -1
  258. package/dist/services/statement-exports/statement-exports.codecs.js +2 -1
  259. package/dist/services/statement-exports/statement-exports.codecs.js.map +1 -1
  260. package/dist/services/statement-exports/statement-exports.d.ts +25 -10
  261. package/dist/services/statement-exports/statement-exports.d.ts.map +1 -1
  262. package/dist/services/statement-exports/statement-exports.js +33 -10
  263. package/dist/services/statement-exports/statement-exports.js.map +1 -1
  264. package/dist/services/statement-exports/statement-exports.schemas.d.ts +38 -10
  265. package/dist/services/statement-exports/statement-exports.schemas.d.ts.map +1 -1
  266. package/dist/services/statement-exports/statement-exports.schemas.js +25 -6
  267. package/dist/services/statement-exports/statement-exports.schemas.js.map +1 -1
  268. package/dist/services/statement-exports/statement-exports.types.d.ts +2 -2
  269. package/dist/services/subaccounts/subaccounts.codecs.js +112 -38
  270. package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
  271. package/dist/services/subaccounts/subaccounts.d.ts +2 -1
  272. package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
  273. package/dist/services/subaccounts/subaccounts.js +3 -3
  274. package/dist/services/subaccounts/subaccounts.js.map +1 -1
  275. package/dist/services/subaccounts/subaccounts.schemas.d.ts +12 -5
  276. package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -1
  277. package/dist/services/subaccounts/subaccounts.schemas.js +10 -3
  278. package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -1
  279. package/dist/services/system/system.d.ts +12 -1
  280. package/dist/services/system/system.d.ts.map +1 -1
  281. package/dist/services/system/system.js +5 -0
  282. package/dist/services/system/system.js.map +1 -1
  283. package/dist/services/system/system.schemas.d.ts +13 -13
  284. package/dist/services/system/system.types.d.ts +2 -2
  285. package/dist/services/trades/trades.schemas.d.ts +2 -2
  286. package/dist/services/trading-withdraws/trading-withdraws.codecs.d.ts +8 -0
  287. package/dist/services/trading-withdraws/trading-withdraws.codecs.d.ts.map +1 -0
  288. package/dist/services/trading-withdraws/trading-withdraws.codecs.js +7 -1
  289. package/dist/services/trading-withdraws/trading-withdraws.codecs.js.map +1 -1
  290. package/dist/services/trading-withdraws/trading-withdraws.d.ts +2 -1
  291. package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
  292. package/dist/services/trading-withdraws/trading-withdraws.js +2 -1
  293. package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
  294. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +15 -0
  295. package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
  296. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +16 -2
  297. package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
  298. package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +2 -1
  299. package/dist/services/transfers/transfers.schemas.d.ts +4 -4
  300. package/dist/services/triggers/trigger-child-order.schemas.js +1 -1
  301. package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
  302. package/dist/services/triggers/trigger-input.schemas.d.ts +10 -10
  303. package/dist/services/triggers/triggers-output.schemas.d.ts +170 -52
  304. package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
  305. package/dist/services/triggers/triggers-output.schemas.js +13 -3
  306. package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
  307. package/dist/services/triggers/triggers.codecs.d.ts +10 -0
  308. package/dist/services/triggers/triggers.codecs.d.ts.map +1 -0
  309. package/dist/services/triggers/triggers.codecs.js +7 -1
  310. package/dist/services/triggers/triggers.codecs.js.map +1 -1
  311. package/dist/services/triggers/triggers.d.ts +2 -2
  312. package/dist/services/triggers/triggers.js +2 -2
  313. package/dist/services/triggers/triggers.js.map +1 -1
  314. package/dist/services/zipper/zipper.d.ts.map +1 -1
  315. package/dist/services/zipper/zipper.js +13 -7
  316. package/dist/services/zipper/zipper.js.map +1 -1
  317. package/dist/services/zipper/zipper.schemas.d.ts +7 -2
  318. package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
  319. package/dist/services/zipper/zipper.schemas.js +29 -9
  320. package/dist/services/zipper/zipper.schemas.js.map +1 -1
  321. package/dist/services/zipper/zipper.types.d.ts +2 -2
  322. package/dist/shared/catalog-config.d.ts +16 -2
  323. package/dist/shared/catalog-config.d.ts.map +1 -1
  324. package/dist/shared/catalog-config.js.map +1 -1
  325. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  326. package/dist/shared/connect-error-mapping.js +27 -4
  327. package/dist/shared/connect-error-mapping.js.map +1 -1
  328. package/dist/shared/error-detail.d.ts +10 -0
  329. package/dist/shared/error-detail.d.ts.map +1 -1
  330. package/dist/shared/error-detail.js.map +1 -1
  331. package/dist/shared/error-details/auth.js +6 -0
  332. package/dist/shared/error-details/auth.js.map +1 -1
  333. package/dist/shared/errors.d.ts +5 -1
  334. package/dist/shared/errors.d.ts.map +1 -1
  335. package/dist/shared/errors.js +3 -0
  336. package/dist/shared/errors.js.map +1 -1
  337. package/dist/shared/ledger-codes.d.ts +3 -1
  338. package/dist/shared/ledger-codes.d.ts.map +1 -1
  339. package/dist/shared/ledger-codes.js +6 -3
  340. package/dist/shared/ledger-codes.js.map +1 -1
  341. package/dist/shared/rate-limit.schemas.d.ts +1 -1
  342. package/dist/wired-services.d.ts.map +1 -1
  343. package/dist/wired-services.js +3 -1
  344. package/dist/wired-services.js.map +1 -1
  345. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"notifications_pb.js","names":[],"sources":["../../../../src/gen/notifications/v1/notifications_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file notifications/v1/notifications.proto (package notifications.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { AlertDirection, AlertPriceSource } from \"../../alerts/v1/price_alerts_pb.js\";\nimport { file_alerts_v1_price_alerts } from \"../../alerts/v1/price_alerts_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file notifications/v1/notifications.proto.\n */\nexport const file_notifications_v1_notifications: GenFile = /*@__PURE__*/\n fileDesc(\"CiRub3RpZmljYXRpb25zL3YxL25vdGlmaWNhdGlvbnMucHJvdG8SEG5vdGlmaWNhdGlvbnMudjEiOAoLRXJyb3JEZXRhaWwSKQoEY29kZRgBIAEoDjIbLm5vdGlmaWNhdGlvbnMudjEuRXJyb3JDb2RlIt4DCgxOb3RpZmljYXRpb24SFwoPbm90aWZpY2F0aW9uX2lkGAEgASgGEjAKBHR5cGUYAiABKA4yIi5ub3RpZmljYXRpb25zLnYxLk5vdGlmaWNhdGlvblR5cGUSOAoIY2F0ZWdvcnkYAyABKA4yJi5ub3RpZmljYXRpb25zLnYxLk5vdGlmaWNhdGlvbkNhdGVnb3J5Eg0KBXRpdGxlGAQgASgJEgwKBHRleHQYBSABKAkSLgoKY3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amp, file_polyester_api_options]);\n\n/**\n * ErrorDetail is attached to Notification API errors as an error detail of\n * type notifications.v1.ErrorDetail.\n *\n * @generated from message notifications.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"notifications.v1.ErrorDetail\"> & {\n /**\n * Stable error code.\n *\n * @generated from field: notifications.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n};\n\n/**\n * Describes the message notifications.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 0);\n\n/**\n * Notification is one notification of the caller.\n *\n * @generated from message notifications.v1.Notification\n */\nexport type Notification = Message<\"notifications.v1.Notification\"> & {\n /**\n * Public notification ID.\n *\n * @generated from field: fixed64 notification_id = 1;\n */\n notificationId: bigint;\n\n /**\n * What the notification reports.\n *\n * @generated from field: notifications.v1.NotificationType type = 2;\n */\n type: NotificationType;\n\n /**\n * Category of the type.\n *\n * @generated from field: notifications.v1.NotificationCategory category = 3;\n */\n category: NotificationCategory;\n\n /**\n * Short plain-text title, the same for every notification of a type, for\n * example \"Price alert\".\n *\n * @generated from field: string title = 4;\n */\n title: string;\n\n /**\n * Plain-text summary of what happened, at most 4096 bytes. It may span\n * several lines.\n *\n * @generated from field: string text = 5;\n */\n text: string;\n\n /**\n * When the notification was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 6;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the caller marked it read. Omitted while it is unread.\n *\n * @generated from field: google.protobuf.Timestamp read_at = 7;\n */\n readAt?: Timestamp | undefined;\n\n /**\n * What happened, as typed values. Exactly one is set, the one type names.\n * A client that does not recognize the type, for example one added after\n * it was built, shows the title and text only.\n *\n * @generated from oneof notifications.v1.Notification.detail\n */\n detail: {\n /**\n * The price alert that fired.\n *\n * @generated from field: notifications.v1.PriceAlertNotice price_alert = 10;\n */\n value: PriceAlertNotice;\n case: \"priceAlert\";\n } | {\n /**\n * The action approved from the linked Telegram account.\n *\n * @generated from field: notifications.v1.TelegramApprovalNotice telegram_approval = 11;\n */\n value: TelegramApprovalNotice;\n case: \"telegramApproval\";\n } | {\n /**\n * The broker vault payout address change.\n *\n * @generated from field: notifications.v1.BrokerAllowlistNotice broker_allowlist = 12;\n */\n value: BrokerAllowlistNotice;\n case: \"brokerAllowlist\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message notifications.v1.Notification.\n * Use `create(NotificationSchema)` to create a new message.\n */\nexport const NotificationSchema: GenMessage<Notification> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 1);\n\n/**\n * PriceAlertNotice is a price alert that fired, as it was when it fired.\n *\n * @generated from message notifications.v1.PriceAlertNotice\n */\nexport type PriceAlertNotice = Message<\"notifications.v1.PriceAlertNotice\"> & {\n /**\n * Public alert ID, as the Price Alert API returns it.\n *\n * @generated from field: fixed64 alert_id = 1;\n */\n alertId: bigint;\n\n /**\n * Numeric spot market identifier; resolve its symbol with GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 2;\n */\n symbolId: number;\n\n /**\n * Price crossing the alert waited for.\n *\n * @generated from field: alerts.v1.AlertDirection direction = 3;\n */\n direction: AlertDirection;\n\n /**\n * Price the alert watched.\n *\n * @generated from field: alerts.v1.AlertPriceSource price_source = 4;\n */\n priceSource: AlertPriceSource;\n\n /**\n * Alert price in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 5;\n */\n priceTicks: bigint;\n\n /**\n * Price that fired the alert, in quote units scaled by 1e9.\n *\n * @generated from field: int64 triggered_price_ticks = 6;\n */\n triggeredPriceTicks: bigint;\n\n /**\n * When the alert fired.\n *\n * @generated from field: google.protobuf.Timestamp triggered_at = 7;\n */\n triggeredAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.PriceAlertNotice.\n * Use `create(PriceAlertNoticeSchema)` to create a new message.\n */\nexport const PriceAlertNoticeSchema: GenMessage<PriceAlertNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 2);\n\n/**\n * NoticeField is one labelled value of a notice, for example \"Market\" and\n * \"BTC/USDT\".\n *\n * @generated from message notifications.v1.NoticeField\n */\nexport type NoticeField = Message<\"notifications.v1.NoticeField\"> & {\n /**\n * Short label, in plain words: 1 to 64 bytes.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * The value, in plain words, with its unit or asset when it has one: 1 to\n * 256 bytes.\n *\n * @generated from field: string value = 2;\n */\n value: string;\n};\n\n/**\n * Describes the message notifications.v1.NoticeField.\n * Use `create(NoticeFieldSchema)` to create a new message.\n */\nexport const NoticeFieldSchema: GenMessage<NoticeField> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 3);\n\n/**\n * TelegramApprovalNotice is an action approved from the Telegram account\n * linked to the caller's account, as the approval recorded it.\n *\n * @generated from message notifications.v1.TelegramApprovalNotice\n */\nexport type TelegramApprovalNotice = Message<\"notifications.v1.TelegramApprovalNotice\"> & {\n /**\n * The approval's ID, as the Assistant API returns it.\n *\n * @generated from field: fixed64 approval_id = 1;\n */\n approvalId: bigint;\n\n /**\n * What the approval approved.\n *\n * @generated from field: notifications.v1.TelegramApprovalAction action = 2;\n */\n action: TelegramApprovalAction;\n\n /**\n * Public ID of the trading account (sub-account) the action acted on.\n *\n * @generated from field: fixed64 account_id = 3;\n */\n accountId: bigint;\n\n /**\n * What approving did, written from the exact action: 1 to 512 bytes.\n *\n * @generated from field: string summary = 4;\n */\n summary: string;\n\n /**\n * The action's key parameters in display order, such as the market, side,\n * quantity and prices, from the same exact action: at most 16.\n *\n * @generated from field: repeated notifications.v1.NoticeField parameters = 5;\n */\n parameters: NoticeField[];\n\n /**\n * When the approval was given.\n *\n * @generated from field: google.protobuf.Timestamp approved_at = 6;\n */\n approvedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.TelegramApprovalNotice.\n * Use `create(TelegramApprovalNoticeSchema)` to create a new message.\n */\nexport const TelegramApprovalNoticeSchema: GenMessage<TelegramApprovalNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 4);\n\n/**\n * BrokerAllowlistNotice is a change of a QuickSwap broker vault's payout\n * address allowlist, as the broker's records show it. Read the change with\n * QuickSwapBrokerService.ListVaultAllowlistChanges.\n *\n * @generated from message notifications.v1.BrokerAllowlistNotice\n */\nexport type BrokerAllowlistNotice = Message<\"notifications.v1.BrokerAllowlistNotice\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public sub-account ID of the vault.\n *\n * @generated from field: fixed64 vault_account_id = 2;\n */\n vaultAccountId: bigint;\n\n /**\n * Public ID of the change, as ListVaultAllowlistChanges returns it.\n *\n * @generated from field: fixed64 change_id = 3;\n */\n changeId: bigint;\n\n /**\n * What happened to the change.\n *\n * @generated from field: notifications.v1.BrokerAllowlistEvent event = 4;\n */\n event: BrokerAllowlistEvent;\n\n /**\n * What the change does.\n *\n * @generated from field: notifications.v1.BrokerAllowlistAction action = 5;\n */\n action: BrokerAllowlistAction;\n\n /**\n * Destination chain identifier of the address.\n *\n * @generated from field: uint64 destination_chain_id = 6;\n */\n destinationChainId: bigint;\n\n /**\n * The address, in canonical form.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * The requesting member's name for an added address; empty when none.\n *\n * @generated from field: string label = 8;\n */\n label: string;\n\n /**\n * Public account ID of the member who requested the change.\n *\n * @generated from field: fixed64 requested_by_account_id = 9;\n */\n requestedByAccountId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.BrokerAllowlistNotice.\n * Use `create(BrokerAllowlistNoticeSchema)` to create a new message.\n */\nexport const BrokerAllowlistNoticeSchema: GenMessage<BrokerAllowlistNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 5);\n\n/**\n * ListNotificationsRequest lists the caller's notifications.\n *\n * @generated from message notifications.v1.ListNotificationsRequest\n */\nexport type ListNotificationsRequest = Message<\"notifications.v1.ListNotificationsRequest\"> & {\n /**\n * Return only notifications in these categories. Empty returns every\n * category.\n *\n * @generated from field: repeated notifications.v1.NotificationCategory categories = 1;\n */\n categories: NotificationCategory[];\n\n /**\n * Return only read or only unread notifications. Unspecified returns both.\n *\n * @generated from field: notifications.v1.ReadState read_state = 2;\n */\n readState: ReadState;\n\n /**\n * Return only notifications created at or after this time. Omitted means\n * no lower bound.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 3;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Return only notifications created before this time. Omitted means no\n * upper bound. Must be after start_time when both are set.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 4;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Maximum number of notifications to return: default 25, max 100.\n *\n * @generated from field: uint32 limit = 5;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed and exclusive cursor from a previous response's\n * next_page_token. It is bound to the caller, categories, read_state,\n * start_time and end_time; reuse it only with the same values.\n *\n * @generated from field: string page_token = 6;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message notifications.v1.ListNotificationsRequest.\n * Use `create(ListNotificationsRequestSchema)` to create a new message.\n */\nexport const ListNotificationsRequestSchema: GenMessage<ListNotificationsRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 6);\n\n/**\n * ListNotificationsResponse returns one page of the caller's notifications.\n *\n * @generated from message notifications.v1.ListNotificationsResponse\n */\nexport type ListNotificationsResponse = Message<\"notifications.v1.ListNotificationsResponse\"> & {\n /**\n * Notifications, newest first.\n *\n * @generated from field: repeated notifications.v1.Notification notifications = 1;\n */\n notifications: Notification[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message notifications.v1.ListNotificationsResponse.\n * Use `create(ListNotificationsResponseSchema)` to create a new message.\n */\nexport const ListNotificationsResponseSchema: GenMessage<ListNotificationsResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 7);\n\n/**\n * GetNotificationRequest reads one notification of the caller.\n *\n * @generated from message notifications.v1.GetNotificationRequest\n */\nexport type GetNotificationRequest = Message<\"notifications.v1.GetNotificationRequest\"> & {\n /**\n * Public notification ID.\n *\n * @generated from field: fixed64 notification_id = 1;\n */\n notificationId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationRequest.\n * Use `create(GetNotificationRequestSchema)` to create a new message.\n */\nexport const GetNotificationRequestSchema: GenMessage<GetNotificationRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 8);\n\n/**\n * GetNotificationResponse returns the notification.\n *\n * @generated from message notifications.v1.GetNotificationResponse\n */\nexport type GetNotificationResponse = Message<\"notifications.v1.GetNotificationResponse\"> & {\n /**\n * The notification.\n *\n * @generated from field: notifications.v1.Notification notification = 1;\n */\n notification?: Notification | undefined;\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationResponse.\n * Use `create(GetNotificationResponseSchema)` to create a new message.\n */\nexport const GetNotificationResponseSchema: GenMessage<GetNotificationResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 9);\n\n/**\n * GetNotificationCountsRequest counts the caller's notifications.\n *\n * @generated from message notifications.v1.GetNotificationCountsRequest\n */\nexport type GetNotificationCountsRequest = Message<\"notifications.v1.GetNotificationCountsRequest\"> & {\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationCountsRequest.\n * Use `create(GetNotificationCountsRequestSchema)` to create a new message.\n */\nexport const GetNotificationCountsRequestSchema: GenMessage<GetNotificationCountsRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 10);\n\n/**\n * TypeCount counts the caller's notifications of one type.\n *\n * @generated from message notifications.v1.TypeCount\n */\nexport type TypeCount = Message<\"notifications.v1.TypeCount\"> & {\n /**\n * The type.\n *\n * @generated from field: notifications.v1.NotificationType type = 1;\n */\n type: NotificationType;\n\n /**\n * Category of the type.\n *\n * @generated from field: notifications.v1.NotificationCategory category = 2;\n */\n category: NotificationCategory;\n\n /**\n * Number of notifications of the type.\n *\n * @generated from field: uint64 total = 3;\n */\n total: bigint;\n\n /**\n * Number of those the caller has not read.\n *\n * @generated from field: uint64 unread = 4;\n */\n unread: bigint;\n};\n\n/**\n * Describes the message notifications.v1.TypeCount.\n * Use `create(TypeCountSchema)` to create a new message.\n */\nexport const TypeCountSchema: GenMessage<TypeCount> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 11);\n\n/**\n * GetNotificationCountsResponse returns exact counts of the caller's\n * notifications, as of one moment.\n *\n * @generated from message notifications.v1.GetNotificationCountsResponse\n */\nexport type GetNotificationCountsResponse = Message<\"notifications.v1.GetNotificationCountsResponse\"> & {\n /**\n * Number of notifications.\n *\n * @generated from field: uint64 total = 1;\n */\n total: bigint;\n\n /**\n * Number of notifications the caller has not read.\n *\n * @generated from field: uint64 unread = 2;\n */\n unread: bigint;\n\n /**\n * Counts of every type, in ascending enum order, including types with no\n * notification.\n *\n * @generated from field: repeated notifications.v1.TypeCount types = 3;\n */\n types: TypeCount[];\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationCountsResponse.\n * Use `create(GetNotificationCountsResponseSchema)` to create a new message.\n */\nexport const GetNotificationCountsResponseSchema: GenMessage<GetNotificationCountsResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 12);\n\n/**\n * MarkNotificationsReadRequest marks notifications of the caller read.\n *\n * @generated from message notifications.v1.MarkNotificationsReadRequest\n */\nexport type MarkNotificationsReadRequest = Message<\"notifications.v1.MarkNotificationsReadRequest\"> & {\n /**\n * Public notification IDs: one to 100, distinct.\n *\n * @generated from field: repeated fixed64 notification_ids = 1;\n */\n notificationIds: bigint[];\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsReadRequest.\n * Use `create(MarkNotificationsReadRequestSchema)` to create a new message.\n */\nexport const MarkNotificationsReadRequestSchema: GenMessage<MarkNotificationsReadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 13);\n\n/**\n * MarkNotificationsReadResponse reports what MarkNotificationsRead changed.\n *\n * @generated from message notifications.v1.MarkNotificationsReadResponse\n */\nexport type MarkNotificationsReadResponse = Message<\"notifications.v1.MarkNotificationsReadResponse\"> & {\n /**\n * Number of notifications this call marked read. Notifications already\n * read are not counted.\n *\n * @generated from field: uint32 changed = 1;\n */\n changed: number;\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsReadResponse.\n * Use `create(MarkNotificationsReadResponseSchema)` to create a new message.\n */\nexport const MarkNotificationsReadResponseSchema: GenMessage<MarkNotificationsReadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 14);\n\n/**\n * MarkNotificationsUnreadRequest marks notifications of the caller unread.\n *\n * @generated from message notifications.v1.MarkNotificationsUnreadRequest\n */\nexport type MarkNotificationsUnreadRequest = Message<\"notifications.v1.MarkNotificationsUnreadRequest\"> & {\n /**\n * Public notification IDs: one to 100, distinct.\n *\n * @generated from field: repeated fixed64 notification_ids = 1;\n */\n notificationIds: bigint[];\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsUnreadRequest.\n * Use `create(MarkNotificationsUnreadRequestSchema)` to create a new message.\n */\nexport const MarkNotificationsUnreadRequestSchema: GenMessage<MarkNotificationsUnreadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 15);\n\n/**\n * MarkNotificationsUnreadResponse reports what MarkNotificationsUnread\n * changed.\n *\n * @generated from message notifications.v1.MarkNotificationsUnreadResponse\n */\nexport type MarkNotificationsUnreadResponse = Message<\"notifications.v1.MarkNotificationsUnreadResponse\"> & {\n /**\n * Number of notifications this call marked unread. Notifications already\n * unread are not counted.\n *\n * @generated from field: uint32 changed = 1;\n */\n changed: number;\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsUnreadResponse.\n * Use `create(MarkNotificationsUnreadResponseSchema)` to create a new message.\n */\nexport const MarkNotificationsUnreadResponseSchema: GenMessage<MarkNotificationsUnreadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 16);\n\n/**\n * MarkAllNotificationsReadRequest marks every unread notification of the\n * caller read, within the given categories.\n *\n * @generated from message notifications.v1.MarkAllNotificationsReadRequest\n */\nexport type MarkAllNotificationsReadRequest = Message<\"notifications.v1.MarkAllNotificationsReadRequest\"> & {\n /**\n * Mark only notifications in these categories. Empty marks every category.\n *\n * @generated from field: repeated notifications.v1.NotificationCategory categories = 1;\n */\n categories: NotificationCategory[];\n\n /**\n * Mark only this notification and older ones: pass the newest notification\n * the caller has shown, so one that arrives later stays unread. Zero marks\n * every notification that exists when the call is processed.\n *\n * @generated from field: fixed64 through_notification_id = 2;\n */\n throughNotificationId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.MarkAllNotificationsReadRequest.\n * Use `create(MarkAllNotificationsReadRequestSchema)` to create a new message.\n */\nexport const MarkAllNotificationsReadRequestSchema: GenMessage<MarkAllNotificationsReadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 17);\n\n/**\n * MarkAllNotificationsReadResponse reports what MarkAllNotificationsRead\n * changed.\n *\n * @generated from message notifications.v1.MarkAllNotificationsReadResponse\n */\nexport type MarkAllNotificationsReadResponse = Message<\"notifications.v1.MarkAllNotificationsReadResponse\"> & {\n /**\n * Number of notifications this call marked read.\n *\n * @generated from field: uint64 changed = 1;\n */\n changed: bigint;\n};\n\n/**\n * Describes the message notifications.v1.MarkAllNotificationsReadResponse.\n * Use `create(MarkAllNotificationsReadResponseSchema)` to create a new message.\n */\nexport const MarkAllNotificationsReadResponseSchema: GenMessage<MarkAllNotificationsReadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 18);\n\n/**\n * ErrorCode identifies a Notification API error.\n *\n * @generated from enum notifications.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No code.\n *\n * @generated from enum value: ERROR_UNSPECIFIED = 0;\n */\n ERROR_UNSPECIFIED = 0,\n\n /**\n * No notification of the caller has this ID. Another account's\n * notification is reported the same way.\n *\n * @generated from enum value: NOTIFICATION_NOT_FOUND = 1;\n */\n NOTIFICATION_NOT_FOUND = 1,\n\n /**\n * A required service is temporarily unavailable; retry the same request.\n *\n * @generated from enum value: SERVICE_UNAVAILABLE = 2;\n */\n SERVICE_UNAVAILABLE = 2,\n}\n\n/**\n * Describes the enum notifications.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 0);\n\n/**\n * NotificationType is what a notification reports. Each type belongs to one\n * category, and its detail is the matching field of Notification.detail.\n *\n * @generated from enum notifications.v1.NotificationType\n */\nexport enum NotificationType {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: TYPE_UNSPECIFIED = 0;\n */\n TYPE_UNSPECIFIED = 0,\n\n /**\n * A price alert of the caller fired. Category ALERTS; detail price_alert.\n *\n * @generated from enum value: PRICE_ALERT = 1;\n */\n PRICE_ALERT = 1,\n\n /**\n * An action was approved from the Telegram account linked to the caller's\n * account. Category SECURITY; detail telegram_approval. If the caller did\n * not approve it, the linked Telegram account may be in someone else's\n * hands: unlink it and review the account's sessions.\n *\n * @generated from enum value: TELEGRAM_APPROVAL = 2;\n */\n TELEGRAM_APPROVAL = 2,\n\n /**\n * A payout address of a QuickSwap broker vault the caller is an Owner or\n * Finance member of was requested to be added or removed, or the change\n * was applied or not. Category SECURITY; detail broker_allowlist. If no\n * member of the broker requested it, act before the address becomes\n * payable: an added address is payable 24 hours after it is listed.\n *\n * @generated from enum value: BROKER_ALLOWLIST_CHANGE = 3;\n */\n BROKER_ALLOWLIST_CHANGE = 3,\n}\n\n/**\n * Describes the enum notifications.v1.NotificationType.\n */\nexport const NotificationTypeSchema: GenEnum<NotificationType> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 1);\n\n/**\n * NotificationCategory groups notification types for filtering and counts.\n *\n * @generated from enum notifications.v1.NotificationCategory\n */\nexport enum NotificationCategory {\n /**\n * Not set. Rejected in requests and never returned.\n *\n * @generated from enum value: CATEGORY_UNSPECIFIED = 0;\n */\n CATEGORY_UNSPECIFIED = 0,\n\n /**\n * Alerts the caller set, such as price alerts.\n *\n * @generated from enum value: ALERTS = 1;\n */\n ALERTS = 1,\n\n /**\n * Security of the account, such as actions approved from a linked\n * Telegram account.\n *\n * @generated from enum value: SECURITY = 2;\n */\n SECURITY = 2,\n}\n\n/**\n * Describes the enum notifications.v1.NotificationCategory.\n */\nexport const NotificationCategorySchema: GenEnum<NotificationCategory> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 2);\n\n/**\n * ReadState filters notifications by whether the caller has read them.\n *\n * @generated from enum notifications.v1.ReadState\n */\nexport enum ReadState {\n /**\n * Read and unread notifications.\n *\n * @generated from enum value: READ_STATE_UNSPECIFIED = 0;\n */\n READ_STATE_UNSPECIFIED = 0,\n\n /**\n * Only notifications the caller has not read.\n *\n * @generated from enum value: UNREAD = 1;\n */\n UNREAD = 1,\n\n /**\n * Only notifications the caller has read.\n *\n * @generated from enum value: READ = 2;\n */\n READ = 2,\n}\n\n/**\n * Describes the enum notifications.v1.ReadState.\n */\nexport const ReadStateSchema: GenEnum<ReadState> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 3);\n\n/**\n * TelegramApprovalAction is what an approval from Telegram approved.\n *\n * @generated from enum notifications.v1.TelegramApprovalAction\n */\nexport enum TelegramApprovalAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * Place one order.\n *\n * @generated from enum value: PLACE_ORDER = 1;\n */\n PLACE_ORDER = 1,\n\n /**\n * Place several limit orders together.\n *\n * @generated from enum value: PLACE_ORDERS = 2;\n */\n PLACE_ORDERS = 2,\n\n /**\n * Change open limit orders.\n *\n * @generated from enum value: MODIFY_ORDERS = 3;\n */\n MODIFY_ORDERS = 3,\n\n /**\n * Cancel an order or a trigger.\n *\n * @generated from enum value: CANCEL_ORDER = 4;\n */\n CANCEL_ORDER = 4,\n\n /**\n * Cancel every open order of a market or of the account.\n *\n * @generated from enum value: CANCEL_ALL_ORDERS = 5;\n */\n CANCEL_ALL_ORDERS = 5,\n\n /**\n * Change a trigger.\n *\n * @generated from enum value: MODIFY_TRIGGER = 6;\n */\n MODIFY_TRIGGER = 6,\n\n /**\n * Pause a trigger.\n *\n * @generated from enum value: PAUSE_TRIGGER = 7;\n */\n PAUSE_TRIGGER = 7,\n\n /**\n * Resume a paused trigger.\n *\n * @generated from enum value: RESUME_TRIGGER = 8;\n */\n RESUME_TRIGGER = 8,\n\n /**\n * Swap between assets within the trading account.\n *\n * @generated from enum value: SWAP = 9;\n */\n SWAP = 9,\n}\n\n/**\n * Describes the enum notifications.v1.TelegramApprovalAction.\n */\nexport const TelegramApprovalActionSchema: GenEnum<TelegramApprovalAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 4);\n\n/**\n * BrokerAllowlistEvent is what happened to a broker vault payout address\n * change.\n *\n * @generated from enum notifications.v1.BrokerAllowlistEvent\n */\nexport enum BrokerAllowlistEvent {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: BROKER_ALLOWLIST_EVENT_UNSPECIFIED = 0;\n */\n BROKER_ALLOWLIST_EVENT_UNSPECIFIED = 0,\n\n /**\n * A member requested the change.\n *\n * @generated from enum value: CHANGE_REQUESTED = 1;\n */\n CHANGE_REQUESTED = 1,\n\n /**\n * The change was applied.\n *\n * @generated from enum value: CHANGE_APPLIED = 2;\n */\n CHANGE_APPLIED = 2,\n\n /**\n * The change was not applied, and never will be; nothing changed.\n *\n * @generated from enum value: CHANGE_NOT_APPLIED = 3;\n */\n CHANGE_NOT_APPLIED = 3,\n}\n\n/**\n * Describes the enum notifications.v1.BrokerAllowlistEvent.\n */\nexport const BrokerAllowlistEventSchema: GenEnum<BrokerAllowlistEvent> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 5);\n\n/**\n * BrokerAllowlistAction is what a broker vault payout address change does.\n *\n * @generated from enum notifications.v1.BrokerAllowlistAction\n */\nexport enum BrokerAllowlistAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: BROKER_ALLOWLIST_ACTION_UNSPECIFIED = 0;\n */\n BROKER_ALLOWLIST_ACTION_UNSPECIFIED = 0,\n\n /**\n * Adds the address to the vault's payout address allowlist.\n *\n * @generated from enum value: ADD_DESTINATION = 1;\n */\n ADD_DESTINATION = 1,\n\n /**\n * Removes the address from the vault's payout address allowlist.\n *\n * @generated from enum value: REMOVE_DESTINATION = 2;\n */\n REMOVE_DESTINATION = 2,\n}\n\n/**\n * Describes the enum notifications.v1.BrokerAllowlistAction.\n */\nexport const BrokerAllowlistActionSchema: GenEnum<BrokerAllowlistAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 6);\n\n/**\n * NotificationService serves the caller's notification center. Every method\n * takes a session token: notifications of the account are read and marked on\n * the website and in the app, never with an API key.\n *\n * @generated from service notifications.v1.NotificationService\n */\nexport const NotificationService: GenService<{\n /**\n * ListNotifications lists the caller's notifications, newest first.\n *\n * @generated from rpc notifications.v1.NotificationService.ListNotifications\n */\n listNotifications: {\n methodKind: \"unary\";\n input: typeof ListNotificationsRequestSchema;\n output: typeof ListNotificationsResponseSchema;\n },\n /**\n * GetNotification reads one notification of the caller.\n *\n * @generated from rpc notifications.v1.NotificationService.GetNotification\n */\n getNotification: {\n methodKind: \"unary\";\n input: typeof GetNotificationRequestSchema;\n output: typeof GetNotificationResponseSchema;\n },\n /**\n * GetNotificationCounts counts the caller's notifications and unread\n * notifications, by type.\n *\n * @generated from rpc notifications.v1.NotificationService.GetNotificationCounts\n */\n getNotificationCounts: {\n methodKind: \"unary\";\n input: typeof GetNotificationCountsRequestSchema;\n output: typeof GetNotificationCountsResponseSchema;\n },\n /**\n * MarkNotificationsRead marks notifications of the caller read. Either\n * every ID is the caller's and each is marked, or nothing changes and the\n * call fails with NOTIFICATION_NOT_FOUND.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkNotificationsRead\n */\n markNotificationsRead: {\n methodKind: \"unary\";\n input: typeof MarkNotificationsReadRequestSchema;\n output: typeof MarkNotificationsReadResponseSchema;\n },\n /**\n * MarkNotificationsUnread marks notifications of the caller unread. Either\n * every ID is the caller's and each is marked, or nothing changes and the\n * call fails with NOTIFICATION_NOT_FOUND.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkNotificationsUnread\n */\n markNotificationsUnread: {\n methodKind: \"unary\";\n input: typeof MarkNotificationsUnreadRequestSchema;\n output: typeof MarkNotificationsUnreadResponseSchema;\n },\n /**\n * MarkAllNotificationsRead marks every unread notification of the caller\n * read, within the given categories and up to the given notification.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkAllNotificationsRead\n */\n markAllNotificationsRead: {\n methodKind: \"unary\";\n input: typeof MarkAllNotificationsReadRequestSchema;\n output: typeof MarkAllNotificationsReadResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_notifications_v1_notifications, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,sCACX,uBAAS,gqLAAgqL;CAAC;CAA6B;CAAgC;AAA0B,CAAC;;;;;AAqBpwL,MAAa,oBACX,0BAAY,qCAAqC,CAAC;;;;;AAiGpD,MAAa,qBACX,0BAAY,qCAAqC,CAAC;;;;;AA8DpD,MAAa,yBACX,0BAAY,qCAAqC,CAAC;;;;;AA6BpD,MAAa,oBACX,0BAAY,qCAAqC,CAAC;;;;;AAyDpD,MAAa,+BACX,0BAAY,qCAAqC,CAAC;;;;;AA8EpD,MAAa,8BACX,0BAAY,qCAAqC,CAAC;;;;;AA4DpD,MAAa,iCACX,0BAAY,qCAAqC,CAAC;;;;;AA2BpD,MAAa,kCACX,0BAAY,qCAAqC,CAAC;;;;;AAoBpD,MAAa,+BACX,0BAAY,qCAAqC,CAAC;;;;;AAoBpD,MAAa,gCACX,0BAAY,qCAAqC,CAAC;;;;;A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ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file notifications/v1/notifications.proto (package notifications.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { AlertDirection, AlertPriceSource } from \"../../alerts/v1/price_alerts_pb.js\";\nimport { file_alerts_v1_price_alerts } from \"../../alerts/v1/price_alerts_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file notifications/v1/notifications.proto.\n */\nexport const file_notifications_v1_notifications: GenFile = /*@__PURE__*/\n fileDesc(\"CiRub3RpZmljYXRpb25zL3YxL25vdGlmaWNhdGlvbnMucHJvdG8SEG5vdGlmaWNhdGlvbnMudjEiOAoLRXJyb3JEZXRhaWwSKQoEY29kZRgBIAEoDjIbLm5vdGlmaWNhdGlvbnMudjEuRXJyb3JDb2RlIp0ECgxOb3RpZmljYXRpb24SFwoPbm90aWZpY2F0aW9uX2lkGAEgASgGEjAKBHR5cGUYAiABKA4yIi5ub3RpZmljYXRpb25zLnYxLk5vdGlmaWNhdGlvblR5cGUSOAoIY2F0ZWdvcnkYAyABKA4yJi5ub3RpZmljYXRpb25zLnYxLk5vdGlmaWNhdGlvbkNhdGVnb3J5Eg0KBXRpdGxlGAQgASgJEgwKBHRleHQYBSABKAkSLgoKY3JlYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKwoHcmVhZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASOQoLcHJpY2VfYWxlcnQYCiABKAsyIi5ub3R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maWNhdGlvbnN2MWIGcHJvdG8z\", [file_alerts_v1_price_alerts, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * ErrorDetail is attached to Notification API errors as an error detail of\n * type notifications.v1.ErrorDetail.\n *\n * @generated from message notifications.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"notifications.v1.ErrorDetail\"> & {\n /**\n * Stable error code.\n *\n * @generated from field: notifications.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n};\n\n/**\n * Describes the message notifications.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 0);\n\n/**\n * Notification is one notification of the caller.\n *\n * @generated from message notifications.v1.Notification\n */\nexport type Notification = Message<\"notifications.v1.Notification\"> & {\n /**\n * Public notification ID.\n *\n * @generated from field: fixed64 notification_id = 1;\n */\n notificationId: bigint;\n\n /**\n * What the notification reports.\n *\n * @generated from field: notifications.v1.NotificationType type = 2;\n */\n type: NotificationType;\n\n /**\n * Category of the type.\n *\n * @generated from field: notifications.v1.NotificationCategory category = 3;\n */\n category: NotificationCategory;\n\n /**\n * Short plain-text title, the same for every notification of a type, for\n * example \"Price alert\".\n *\n * @generated from field: string title = 4;\n */\n title: string;\n\n /**\n * Plain-text summary of what happened, at most 4096 bytes. It may span\n * several lines.\n *\n * @generated from field: string text = 5;\n */\n text: string;\n\n /**\n * When the notification was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 6;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the caller marked it read. Omitted while it is unread.\n *\n * @generated from field: google.protobuf.Timestamp read_at = 7;\n */\n readAt?: Timestamp | undefined;\n\n /**\n * What happened, as typed values. Exactly one is set, the one type names.\n * A client that does not recognize the type, for example one added after\n * it was built, shows the title and text only.\n *\n * @generated from oneof notifications.v1.Notification.detail\n */\n detail: {\n /**\n * The price alert that fired.\n *\n * @generated from field: notifications.v1.PriceAlertNotice price_alert = 10;\n */\n value: PriceAlertNotice;\n case: \"priceAlert\";\n } | {\n /**\n * The action approved from the linked Telegram account.\n *\n * @generated from field: notifications.v1.TelegramApprovalNotice telegram_approval = 11;\n */\n value: TelegramApprovalNotice;\n case: \"telegramApproval\";\n } | {\n /**\n * The broker vault payout address change.\n *\n * @generated from field: notifications.v1.BrokerAllowlistNotice broker_allowlist = 12;\n */\n value: BrokerAllowlistNotice;\n case: \"brokerAllowlist\";\n } | {\n /**\n * The Telegram account linked.\n *\n * @generated from field: notifications.v1.TelegramLinkNotice telegram_link = 13;\n */\n value: TelegramLinkNotice;\n case: \"telegramLink\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message notifications.v1.Notification.\n * Use `create(NotificationSchema)` to create a new message.\n */\nexport const NotificationSchema: GenMessage<Notification> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 1);\n\n/**\n * PriceAlertNotice is a price alert that fired, as it was when it fired.\n *\n * @generated from message notifications.v1.PriceAlertNotice\n */\nexport type PriceAlertNotice = Message<\"notifications.v1.PriceAlertNotice\"> & {\n /**\n * Public alert ID, as the Price Alert API returns it.\n *\n * @generated from field: fixed64 alert_id = 1;\n */\n alertId: bigint;\n\n /**\n * Numeric spot market identifier; resolve its symbol with GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 2;\n */\n symbolId: number;\n\n /**\n * Price crossing the alert waited for.\n *\n * @generated from field: alerts.v1.AlertDirection direction = 3;\n */\n direction: AlertDirection;\n\n /**\n * Price the alert watched.\n *\n * @generated from field: alerts.v1.AlertPriceSource price_source = 4;\n */\n priceSource: AlertPriceSource;\n\n /**\n * Alert price in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 5;\n */\n priceTicks: bigint;\n\n /**\n * Price that fired the alert, in quote units scaled by 1e9.\n *\n * @generated from field: int64 triggered_price_ticks = 6;\n */\n triggeredPriceTicks: bigint;\n\n /**\n * When the alert fired.\n *\n * @generated from field: google.protobuf.Timestamp triggered_at = 7;\n */\n triggeredAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.PriceAlertNotice.\n * Use `create(PriceAlertNoticeSchema)` to create a new message.\n */\nexport const PriceAlertNoticeSchema: GenMessage<PriceAlertNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 2);\n\n/**\n * NoticeField is one labelled value of a notice, for example \"Market\" and\n * \"BTC/USDT\".\n *\n * @generated from message notifications.v1.NoticeField\n */\nexport type NoticeField = Message<\"notifications.v1.NoticeField\"> & {\n /**\n * Short label, in plain words: 1 to 64 bytes.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * The value, in plain words, with its unit or asset when it has one: 1 to\n * 256 bytes.\n *\n * @generated from field: string value = 2;\n */\n value: string;\n};\n\n/**\n * Describes the message notifications.v1.NoticeField.\n * Use `create(NoticeFieldSchema)` to create a new message.\n */\nexport const NoticeFieldSchema: GenMessage<NoticeField> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 3);\n\n/**\n * TelegramApprovalNotice is an action approved from the Telegram account\n * linked to the caller's account, as the approval recorded it.\n *\n * @generated from message notifications.v1.TelegramApprovalNotice\n */\nexport type TelegramApprovalNotice = Message<\"notifications.v1.TelegramApprovalNotice\"> & {\n /**\n * The approval's ID, as the Assistant API returns it.\n *\n * @generated from field: fixed64 approval_id = 1;\n */\n approvalId: bigint;\n\n /**\n * What the approval approved.\n *\n * @generated from field: notifications.v1.TelegramApprovalAction action = 2;\n */\n action: TelegramApprovalAction;\n\n /**\n * Public ID of the trading account (sub-account) the action acted on.\n *\n * @generated from field: fixed64 account_id = 3;\n */\n accountId: bigint;\n\n /**\n * What approving did, written from the exact action: 1 to 512 bytes.\n *\n * @generated from field: string summary = 4;\n */\n summary: string;\n\n /**\n * The action's key parameters in display order, such as the market, side,\n * quantity and prices, from the same exact action: at most 16.\n *\n * @generated from field: repeated notifications.v1.NoticeField parameters = 5;\n */\n parameters: NoticeField[];\n\n /**\n * When the approval was given.\n *\n * @generated from field: google.protobuf.Timestamp approved_at = 6;\n */\n approvedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.TelegramApprovalNotice.\n * Use `create(TelegramApprovalNoticeSchema)` to create a new message.\n */\nexport const TelegramApprovalNoticeSchema: GenMessage<TelegramApprovalNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 4);\n\n/**\n * BrokerAllowlistNotice is a change of a QuickSwap broker vault's payout\n * address allowlist, as the broker's records show it. Read the change with\n * QuickSwapBrokerService.ListVaultAllowlistChanges.\n *\n * @generated from message notifications.v1.BrokerAllowlistNotice\n */\nexport type BrokerAllowlistNotice = Message<\"notifications.v1.BrokerAllowlistNotice\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public sub-account ID of the vault.\n *\n * @generated from field: fixed64 vault_account_id = 2;\n */\n vaultAccountId: bigint;\n\n /**\n * Public ID of the change, as ListVaultAllowlistChanges returns it.\n *\n * @generated from field: fixed64 change_id = 3;\n */\n changeId: bigint;\n\n /**\n * What happened to the change.\n *\n * @generated from field: notifications.v1.BrokerAllowlistEvent event = 4;\n */\n event: BrokerAllowlistEvent;\n\n /**\n * What the change does.\n *\n * @generated from field: notifications.v1.BrokerAllowlistAction action = 5;\n */\n action: BrokerAllowlistAction;\n\n /**\n * Destination chain identifier of the address.\n *\n * @generated from field: uint64 destination_chain_id = 6;\n */\n destinationChainId: bigint;\n\n /**\n * The address, in canonical form.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * The requesting member's name for an added address; empty when none.\n *\n * @generated from field: string label = 8;\n */\n label: string;\n\n /**\n * Public account ID of the member who requested the change.\n *\n * @generated from field: fixed64 requested_by_account_id = 9;\n */\n requestedByAccountId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.BrokerAllowlistNotice.\n * Use `create(BrokerAllowlistNoticeSchema)` to create a new message.\n */\nexport const BrokerAllowlistNoticeSchema: GenMessage<BrokerAllowlistNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 5);\n\n/**\n * ListNotificationsRequest lists the caller's notifications.\n *\n * @generated from message notifications.v1.ListNotificationsRequest\n */\nexport type ListNotificationsRequest = Message<\"notifications.v1.ListNotificationsRequest\"> & {\n /**\n * Return only notifications in these categories. Empty returns every\n * category.\n *\n * @generated from field: repeated notifications.v1.NotificationCategory categories = 1;\n */\n categories: NotificationCategory[];\n\n /**\n * Return only read or only unread notifications. Unspecified returns both.\n *\n * @generated from field: notifications.v1.ReadState read_state = 2;\n */\n readState: ReadState;\n\n /**\n * Return only notifications created at or after this time. Omitted means\n * no lower bound.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 3;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Return only notifications created before this time. Omitted means no\n * upper bound. Must be after start_time when both are set.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 4;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Maximum number of notifications to return: default 25, max 100.\n *\n * @generated from field: uint32 limit = 5;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed and exclusive cursor from a previous response's\n * next_page_token. It is bound to the caller, categories, read_state,\n * start_time and end_time; reuse it only with the same values.\n *\n * @generated from field: string page_token = 6;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message notifications.v1.ListNotificationsRequest.\n * Use `create(ListNotificationsRequestSchema)` to create a new message.\n */\nexport const ListNotificationsRequestSchema: GenMessage<ListNotificationsRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 6);\n\n/**\n * ListNotificationsResponse returns one page of the caller's notifications.\n *\n * @generated from message notifications.v1.ListNotificationsResponse\n */\nexport type ListNotificationsResponse = Message<\"notifications.v1.ListNotificationsResponse\"> & {\n /**\n * Notifications, newest first.\n *\n * @generated from field: repeated notifications.v1.Notification notifications = 1;\n */\n notifications: Notification[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message notifications.v1.ListNotificationsResponse.\n * Use `create(ListNotificationsResponseSchema)` to create a new message.\n */\nexport const ListNotificationsResponseSchema: GenMessage<ListNotificationsResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 7);\n\n/**\n * GetNotificationRequest reads one notification of the caller.\n *\n * @generated from message notifications.v1.GetNotificationRequest\n */\nexport type GetNotificationRequest = Message<\"notifications.v1.GetNotificationRequest\"> & {\n /**\n * Public notification ID.\n *\n * @generated from field: fixed64 notification_id = 1;\n */\n notificationId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationRequest.\n * Use `create(GetNotificationRequestSchema)` to create a new message.\n */\nexport const GetNotificationRequestSchema: GenMessage<GetNotificationRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 8);\n\n/**\n * GetNotificationResponse returns the notification.\n *\n * @generated from message notifications.v1.GetNotificationResponse\n */\nexport type GetNotificationResponse = Message<\"notifications.v1.GetNotificationResponse\"> & {\n /**\n * The notification.\n *\n * @generated from field: notifications.v1.Notification notification = 1;\n */\n notification?: Notification | undefined;\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationResponse.\n * Use `create(GetNotificationResponseSchema)` to create a new message.\n */\nexport const GetNotificationResponseSchema: GenMessage<GetNotificationResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 9);\n\n/**\n * GetNotificationCountsRequest counts the caller's notifications.\n *\n * @generated from message notifications.v1.GetNotificationCountsRequest\n */\nexport type GetNotificationCountsRequest = Message<\"notifications.v1.GetNotificationCountsRequest\"> & {\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationCountsRequest.\n * Use `create(GetNotificationCountsRequestSchema)` to create a new message.\n */\nexport const GetNotificationCountsRequestSchema: GenMessage<GetNotificationCountsRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 10);\n\n/**\n * TypeCount counts the caller's notifications of one type.\n *\n * @generated from message notifications.v1.TypeCount\n */\nexport type TypeCount = Message<\"notifications.v1.TypeCount\"> & {\n /**\n * The type.\n *\n * @generated from field: notifications.v1.NotificationType type = 1;\n */\n type: NotificationType;\n\n /**\n * Category of the type.\n *\n * @generated from field: notifications.v1.NotificationCategory category = 2;\n */\n category: NotificationCategory;\n\n /**\n * Number of notifications of the type.\n *\n * @generated from field: uint64 total = 3;\n */\n total: bigint;\n\n /**\n * Number of those the caller has not read.\n *\n * @generated from field: uint64 unread = 4;\n */\n unread: bigint;\n};\n\n/**\n * Describes the message notifications.v1.TypeCount.\n * Use `create(TypeCountSchema)` to create a new message.\n */\nexport const TypeCountSchema: GenMessage<TypeCount> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 11);\n\n/**\n * GetNotificationCountsResponse returns exact counts of the caller's\n * notifications, as of one moment.\n *\n * @generated from message notifications.v1.GetNotificationCountsResponse\n */\nexport type GetNotificationCountsResponse = Message<\"notifications.v1.GetNotificationCountsResponse\"> & {\n /**\n * Number of notifications.\n *\n * @generated from field: uint64 total = 1;\n */\n total: bigint;\n\n /**\n * Number of notifications the caller has not read.\n *\n * @generated from field: uint64 unread = 2;\n */\n unread: bigint;\n\n /**\n * Counts of every type, in ascending enum order, including types with no\n * notification.\n *\n * @generated from field: repeated notifications.v1.TypeCount types = 3;\n */\n types: TypeCount[];\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationCountsResponse.\n * Use `create(GetNotificationCountsResponseSchema)` to create a new message.\n */\nexport const GetNotificationCountsResponseSchema: GenMessage<GetNotificationCountsResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 12);\n\n/**\n * MarkNotificationsReadRequest marks notifications of the caller read.\n *\n * @generated from message notifications.v1.MarkNotificationsReadRequest\n */\nexport type MarkNotificationsReadRequest = Message<\"notifications.v1.MarkNotificationsReadRequest\"> & {\n /**\n * Public notification IDs: one to 100, distinct.\n *\n * @generated from field: repeated fixed64 notification_ids = 1;\n */\n notificationIds: bigint[];\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsReadRequest.\n * Use `create(MarkNotificationsReadRequestSchema)` to create a new message.\n */\nexport const MarkNotificationsReadRequestSchema: GenMessage<MarkNotificationsReadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 13);\n\n/**\n * MarkNotificationsReadResponse reports what MarkNotificationsRead changed.\n *\n * @generated from message notifications.v1.MarkNotificationsReadResponse\n */\nexport type MarkNotificationsReadResponse = Message<\"notifications.v1.MarkNotificationsReadResponse\"> & {\n /**\n * Number of notifications this call marked read. Notifications already\n * read are not counted.\n *\n * @generated from field: uint32 changed = 1;\n */\n changed: number;\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsReadResponse.\n * Use `create(MarkNotificationsReadResponseSchema)` to create a new message.\n */\nexport const MarkNotificationsReadResponseSchema: GenMessage<MarkNotificationsReadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 14);\n\n/**\n * MarkNotificationsUnreadRequest marks notifications of the caller unread.\n *\n * @generated from message notifications.v1.MarkNotificationsUnreadRequest\n */\nexport type MarkNotificationsUnreadRequest = Message<\"notifications.v1.MarkNotificationsUnreadRequest\"> & {\n /**\n * Public notification IDs: one to 100, distinct.\n *\n * @generated from field: repeated fixed64 notification_ids = 1;\n */\n notificationIds: bigint[];\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsUnreadRequest.\n * Use `create(MarkNotificationsUnreadRequestSchema)` to create a new message.\n */\nexport const MarkNotificationsUnreadRequestSchema: GenMessage<MarkNotificationsUnreadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 15);\n\n/**\n * MarkNotificationsUnreadResponse reports what MarkNotificationsUnread\n * changed.\n *\n * @generated from message notifications.v1.MarkNotificationsUnreadResponse\n */\nexport type MarkNotificationsUnreadResponse = Message<\"notifications.v1.MarkNotificationsUnreadResponse\"> & {\n /**\n * Number of notifications this call marked unread. Notifications already\n * unread are not counted.\n *\n * @generated from field: uint32 changed = 1;\n */\n changed: number;\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsUnreadResponse.\n * Use `create(MarkNotificationsUnreadResponseSchema)` to create a new message.\n */\nexport const MarkNotificationsUnreadResponseSchema: GenMessage<MarkNotificationsUnreadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 16);\n\n/**\n * MarkAllNotificationsReadRequest marks every unread notification of the\n * caller read, within the given categories.\n *\n * @generated from message notifications.v1.MarkAllNotificationsReadRequest\n */\nexport type MarkAllNotificationsReadRequest = Message<\"notifications.v1.MarkAllNotificationsReadRequest\"> & {\n /**\n * Mark only notifications in these categories. Empty marks every category.\n *\n * @generated from field: repeated notifications.v1.NotificationCategory categories = 1;\n */\n categories: NotificationCategory[];\n\n /**\n * Mark only this notification and older ones: pass the newest notification\n * the caller has shown, so one that arrives later stays unread. Zero marks\n * every notification that exists when the call is processed.\n *\n * @generated from field: fixed64 through_notification_id = 2;\n */\n throughNotificationId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.MarkAllNotificationsReadRequest.\n * Use `create(MarkAllNotificationsReadRequestSchema)` to create a new message.\n */\nexport const MarkAllNotificationsReadRequestSchema: GenMessage<MarkAllNotificationsReadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 17);\n\n/**\n * MarkAllNotificationsReadResponse reports what MarkAllNotificationsRead\n * changed.\n *\n * @generated from message notifications.v1.MarkAllNotificationsReadResponse\n */\nexport type MarkAllNotificationsReadResponse = Message<\"notifications.v1.MarkAllNotificationsReadResponse\"> & {\n /**\n * Number of notifications this call marked read.\n *\n * @generated from field: uint64 changed = 1;\n */\n changed: bigint;\n};\n\n/**\n * Describes the message notifications.v1.MarkAllNotificationsReadResponse.\n * Use `create(MarkAllNotificationsReadResponseSchema)` to create a new message.\n */\nexport const MarkAllNotificationsReadResponseSchema: GenMessage<MarkAllNotificationsReadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 18);\n\n/**\n * TelegramLinkNotice is a Telegram account linked to the caller's account, as\n * the link was confirmed.\n *\n * @generated from message notifications.v1.TelegramLinkNotice\n */\nexport type TelegramLinkNotice = Message<\"notifications.v1.TelegramLinkNotice\"> & {\n /**\n * When the caller confirmed the link.\n *\n * @generated from field: google.protobuf.Timestamp linked_at = 1;\n */\n linkedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.TelegramLinkNotice.\n * Use `create(TelegramLinkNoticeSchema)` to create a new message.\n */\nexport const TelegramLinkNoticeSchema: GenMessage<TelegramLinkNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 19);\n\n/**\n * ErrorCode identifies a Notification API error.\n *\n * @generated from enum notifications.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No code.\n *\n * @generated from enum value: ERROR_UNSPECIFIED = 0;\n */\n ERROR_UNSPECIFIED = 0,\n\n /**\n * No notification of the caller has this ID. Another account's\n * notification is reported the same way.\n *\n * @generated from enum value: NOTIFICATION_NOT_FOUND = 1;\n */\n NOTIFICATION_NOT_FOUND = 1,\n\n /**\n * A required service is temporarily unavailable; retry the same request.\n *\n * @generated from enum value: SERVICE_UNAVAILABLE = 2;\n */\n SERVICE_UNAVAILABLE = 2,\n}\n\n/**\n * Describes the enum notifications.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 0);\n\n/**\n * NotificationType is what a notification reports. Each type belongs to one\n * category, and its detail is the matching field of Notification.detail.\n *\n * @generated from enum notifications.v1.NotificationType\n */\nexport enum NotificationType {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: TYPE_UNSPECIFIED = 0;\n */\n TYPE_UNSPECIFIED = 0,\n\n /**\n * A price alert of the caller fired. Category ALERTS; detail price_alert.\n *\n * @generated from enum value: PRICE_ALERT = 1;\n */\n PRICE_ALERT = 1,\n\n /**\n * An action was approved from the Telegram account linked to the caller's\n * account. Category SECURITY; detail telegram_approval. If the caller did\n * not approve it, the linked Telegram account may be in someone else's\n * hands: unlink it and review the account's sessions.\n *\n * @generated from enum value: TELEGRAM_APPROVAL = 2;\n */\n TELEGRAM_APPROVAL = 2,\n\n /**\n * A payout address of a QuickSwap broker vault the caller is an Owner or\n * Finance member of was requested to be added or removed, or the change\n * was applied or not. Category SECURITY; detail broker_allowlist. If no\n * member of the broker requested it, act before the address becomes\n * payable: an added address is payable 24 hours after it is listed.\n *\n * @generated from enum value: BROKER_ALLOWLIST_CHANGE = 3;\n */\n BROKER_ALLOWLIST_CHANGE = 3,\n\n /**\n * A Telegram account was linked to the caller's account. Category SECURITY;\n * detail telegram_link. The linked Telegram account also receives it. If the\n * caller did not link it, unlink it and review the account's sessions.\n *\n * @generated from enum value: TELEGRAM_LINKED = 4;\n */\n TELEGRAM_LINKED = 4,\n}\n\n/**\n * Describes the enum notifications.v1.NotificationType.\n */\nexport const NotificationTypeSchema: GenEnum<NotificationType> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 1);\n\n/**\n * NotificationCategory groups notification types for filtering and counts.\n *\n * @generated from enum notifications.v1.NotificationCategory\n */\nexport enum NotificationCategory {\n /**\n * Not set. Rejected in requests and never returned.\n *\n * @generated from enum value: CATEGORY_UNSPECIFIED = 0;\n */\n CATEGORY_UNSPECIFIED = 0,\n\n /**\n * Alerts the caller set, such as price alerts.\n *\n * @generated from enum value: ALERTS = 1;\n */\n ALERTS = 1,\n\n /**\n * Security of the account, such as actions approved from a linked\n * Telegram account.\n *\n * @generated from enum value: SECURITY = 2;\n */\n SECURITY = 2,\n}\n\n/**\n * Describes the enum notifications.v1.NotificationCategory.\n */\nexport const NotificationCategorySchema: GenEnum<NotificationCategory> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 2);\n\n/**\n * ReadState filters notifications by whether the caller has read them.\n *\n * @generated from enum notifications.v1.ReadState\n */\nexport enum ReadState {\n /**\n * Read and unread notifications.\n *\n * @generated from enum value: READ_STATE_UNSPECIFIED = 0;\n */\n READ_STATE_UNSPECIFIED = 0,\n\n /**\n * Only notifications the caller has not read.\n *\n * @generated from enum value: UNREAD = 1;\n */\n UNREAD = 1,\n\n /**\n * Only notifications the caller has read.\n *\n * @generated from enum value: READ = 2;\n */\n READ = 2,\n}\n\n/**\n * Describes the enum notifications.v1.ReadState.\n */\nexport const ReadStateSchema: GenEnum<ReadState> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 3);\n\n/**\n * TelegramApprovalAction is what an approval from Telegram approved.\n *\n * @generated from enum notifications.v1.TelegramApprovalAction\n */\nexport enum TelegramApprovalAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * Place one order.\n *\n * @generated from enum value: PLACE_ORDER = 1;\n */\n PLACE_ORDER = 1,\n\n /**\n * Place several limit orders together.\n *\n * @generated from enum value: PLACE_ORDERS = 2;\n */\n PLACE_ORDERS = 2,\n\n /**\n * Change open limit orders.\n *\n * @generated from enum value: MODIFY_ORDERS = 3;\n */\n MODIFY_ORDERS = 3,\n\n /**\n * Cancel an order or a trigger.\n *\n * @generated from enum value: CANCEL_ORDER = 4;\n */\n CANCEL_ORDER = 4,\n\n /**\n * Cancel every open order of a market or of the account.\n *\n * @generated from enum value: CANCEL_ALL_ORDERS = 5;\n */\n CANCEL_ALL_ORDERS = 5,\n\n /**\n * Change a trigger.\n *\n * @generated from enum value: MODIFY_TRIGGER = 6;\n */\n MODIFY_TRIGGER = 6,\n\n /**\n * Pause a trigger.\n *\n * @generated from enum value: PAUSE_TRIGGER = 7;\n */\n PAUSE_TRIGGER = 7,\n\n /**\n * Resume a paused trigger.\n *\n * @generated from enum value: RESUME_TRIGGER = 8;\n */\n RESUME_TRIGGER = 8,\n\n /**\n * Swap between assets within the trading account.\n *\n * @generated from enum value: SWAP = 9;\n */\n SWAP = 9,\n}\n\n/**\n * Describes the enum notifications.v1.TelegramApprovalAction.\n */\nexport const TelegramApprovalActionSchema: GenEnum<TelegramApprovalAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 4);\n\n/**\n * BrokerAllowlistEvent is what happened to a broker vault payout address\n * change.\n *\n * @generated from enum notifications.v1.BrokerAllowlistEvent\n */\nexport enum BrokerAllowlistEvent {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: BROKER_ALLOWLIST_EVENT_UNSPECIFIED = 0;\n */\n BROKER_ALLOWLIST_EVENT_UNSPECIFIED = 0,\n\n /**\n * A member requested the change.\n *\n * @generated from enum value: CHANGE_REQUESTED = 1;\n */\n CHANGE_REQUESTED = 1,\n\n /**\n * The change was applied.\n *\n * @generated from enum value: CHANGE_APPLIED = 2;\n */\n CHANGE_APPLIED = 2,\n\n /**\n * The change was not applied, and never will be; nothing changed.\n *\n * @generated from enum value: CHANGE_NOT_APPLIED = 3;\n */\n CHANGE_NOT_APPLIED = 3,\n}\n\n/**\n * Describes the enum notifications.v1.BrokerAllowlistEvent.\n */\nexport const BrokerAllowlistEventSchema: GenEnum<BrokerAllowlistEvent> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 5);\n\n/**\n * BrokerAllowlistAction is what a broker vault payout address change does.\n *\n * @generated from enum notifications.v1.BrokerAllowlistAction\n */\nexport enum BrokerAllowlistAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: BROKER_ALLOWLIST_ACTION_UNSPECIFIED = 0;\n */\n BROKER_ALLOWLIST_ACTION_UNSPECIFIED = 0,\n\n /**\n * Adds the address to the vault's payout address allowlist.\n *\n * @generated from enum value: ADD_DESTINATION = 1;\n */\n ADD_DESTINATION = 1,\n\n /**\n * Removes the address from the vault's payout address allowlist.\n *\n * @generated from enum value: REMOVE_DESTINATION = 2;\n */\n REMOVE_DESTINATION = 2,\n}\n\n/**\n * Describes the enum notifications.v1.BrokerAllowlistAction.\n */\nexport const BrokerAllowlistActionSchema: GenEnum<BrokerAllowlistAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 6);\n\n/**\n * NotificationService serves the caller's notification center: the\n * notifications of the caller's main account. ListNotifications,\n * GetNotification and GetNotificationCounts also take an API key of the main\n * account whose policy grants READ_NOTIFICATIONS; a key scoped to a\n * sub-account is refused with PERMISSION_DENIED (AUTH_API_KEY_ACCESS_DENIED),\n * since notifications belong to the main account. Marking notifications read\n * or unread takes a session token only.\n *\n * @generated from service notifications.v1.NotificationService\n */\nexport const NotificationService: GenService<{\n /**\n * ListNotifications lists the caller's notifications, newest first.\n *\n * @generated from rpc notifications.v1.NotificationService.ListNotifications\n */\n listNotifications: {\n methodKind: \"unary\";\n input: typeof ListNotificationsRequestSchema;\n output: typeof ListNotificationsResponseSchema;\n },\n /**\n * GetNotification reads one notification of the caller.\n *\n * @generated from rpc notifications.v1.NotificationService.GetNotification\n */\n getNotification: {\n methodKind: \"unary\";\n input: typeof GetNotificationRequestSchema;\n output: typeof GetNotificationResponseSchema;\n },\n /**\n * GetNotificationCounts counts the caller's notifications and unread\n * notifications, by type.\n *\n * @generated from rpc notifications.v1.NotificationService.GetNotificationCounts\n */\n getNotificationCounts: {\n methodKind: \"unary\";\n input: typeof GetNotificationCountsRequestSchema;\n output: typeof GetNotificationCountsResponseSchema;\n },\n /**\n * MarkNotificationsRead marks notifications of the caller read. Either\n * every ID is the caller's and each is marked, or nothing changes and the\n * call fails with NOTIFICATION_NOT_FOUND.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkNotificationsRead\n */\n markNotificationsRead: {\n methodKind: \"unary\";\n input: typeof MarkNotificationsReadRequestSchema;\n output: typeof MarkNotificationsReadResponseSchema;\n },\n /**\n * MarkNotificationsUnread marks notifications of the caller unread. Either\n * every ID is the caller's and each is marked, or nothing changes and the\n * call fails with NOTIFICATION_NOT_FOUND.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkNotificationsUnread\n */\n markNotificationsUnread: {\n methodKind: \"unary\";\n input: typeof MarkNotificationsUnreadRequestSchema;\n output: typeof MarkNotificationsUnreadResponseSchema;\n },\n /**\n * MarkAllNotificationsRead marks every unread notification of the caller\n * read, within the given categories and up to the given notification.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkAllNotificationsRead\n */\n markAllNotificationsRead: {\n methodKind: \"unary\";\n input: typeof MarkAllNotificationsReadRequestSchema;\n output: typeof MarkAllNotificationsReadResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_notifications_v1_notifications, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,sCACX,uBAAS,42LAA42L;CAAC;CAA6B;CAAgC;AAA0B,CAAC;;;;;AAqBh9L,MAAa,oBACX,0BAAY,qCAAqC,CAAC;;;;;AAyGpD,MAAa,qBACX,0BAAY,qCAAqC,CAAC;;;;;AA8DpD,MAAa,yBACX,0BAAY,qCAAqC,CAAC;;;;;AA6BpD,MAAa,oBACX,0BAAY,qCAAqC,CAAC;;;;;AAyDpD,MAAa,+BACX,0BAAY,qCAAqC,CAAC;;;;;AA8EpD,MAAa,8BACX,0BAAY,qCAAqC,CAAC;;;;;AA4DpD,MAAa,iCACX,0BAAY,qCAAqC,CAAC;;;;;AA2BpD,MAAa,kCACX,0BAAY,qCAAqC,CAAC;;;;;AAoBpD,MAAa,+BACX,0BAAY,qCAAqC,CAAC;;;;;AAoBpD,MAAa,gCACX,0BAAY,qCAAqC,CAAC;;;;;AAcpD,MAAa,qCACX,0BAAY,qCAAqC,EAAE;;;;;AAyCrD,MAAa,kBACX,0BAAY,qCAAqC,EAAE;;;;;AAoCrD,MAAa,sCACX,0BAAY,qCAAqC,EAAE;;;;;AAoBrD,MAAa,qCACX,0BAAY,qCAAqC,EAAE;;;;;AAqBrD,MAAa,sCACX,0BAAY,qCAAqC,EAAE;;;;;AAoBrD,MAAa,uCACX,0BAAY,qCAAqC,EAAE;;;;;AAsBrD,MAAa,wCACX,0BAAY,qCAAqC,EAAE;;;;;AA8BrD,MAAa,wCACX,0BAAY,qCA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AAA;;;;;;CAOA,uBAAA,uBAAA,mBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,kBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,uBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,oBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,mBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,oBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,UAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,+BACX,uBAAS,qCAAqC,CAAC;;;;;;;AAQjD,IAAY,uBAAL,yBAAA,sBAAA;;;;;;CAML,qBAAA,qBAAA,wCAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,sBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,oBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,6BACX,uBAAS,qCAAqC,CAAC;;;;;;AAOjD,IAAY,wBAAL,yBAAA,uBAAA;;;;;;CAML,sBAAA,sBAAA,yCAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,qBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,qCAAqC,CAAC;;;;;;;;;;;;AAajD,MAAa,sBAoEX,0BAAY,qCAAqC,CAAC"}
@@ -13,6 +13,21 @@ declare const file_orders_v1_orders: GenFile;
13
13
  * MarketIoc configures a market order. Market orders always execute as
14
14
  * immediate-or-cancel and therefore cannot rest or be post-only.
15
15
  *
16
+ * The order fills only up to its protection price, a BUY at or below it and
17
+ * a SELL at or above it. The protection price is the reference price
18
+ * (client_ref_price_ticks, or the server's reference when it is omitted)
19
+ * moved by the maximum slippage, up for a BUY and down for a SELL, then put
20
+ * on the pair's tick grid toward the reference: a BUY's is rounded down and
21
+ * a SELL's up, so it never allows more than the slippage and can be up to
22
+ * one tick tighter. Neither client_ref_price_ticks nor max_slippage_ticks
23
+ * has to be a multiple of the pair's tick size; only the protection price
24
+ * is. For example, on a pair whose tick size is 0.01, a reference of
25
+ * 73840.125 and a slippage of 50.12 give a BUY protection price of 73890.24
26
+ * (73890.245 rounded down) and a SELL protection price of 73790.01
27
+ * (73790.005 rounded up). The order's price_ticks shows the protection
28
+ * price; market_client_ref_price_ticks and market_max_slippage_ticks show
29
+ * the values exactly as given.
30
+ *
16
31
  * @generated from message orders.v1.MarketIoc
17
32
  */
18
33
  type MarketIoc = Message<"orders.v1.MarketIoc"> & {
@@ -23,7 +38,11 @@ type MarketIoc = Message<"orders.v1.MarketIoc"> & {
23
38
  */
24
39
  maxSlippage: {
25
40
  /**
26
- * Positive maximum absolute price delta in Q9 execution-price ticks (1 tick = 1e-9 quote units).
41
+ * Positive maximum absolute price delta in quote units scaled by 1e9. The
42
+ * "ticks" in this name are 1e-9 quote units, not the pair's tick size,
43
+ * and the value need not be a multiple of the pair's tick size: the
44
+ * protection price derived from it is put on the tick grid toward the
45
+ * reference, as MarketIoc describes.
27
46
  *
28
47
  * @generated from field: int64 max_slippage_ticks = 1;
29
48
  */
@@ -45,8 +64,12 @@ type MarketIoc = Message<"orders.v1.MarketIoc"> & {
45
64
  value?: undefined;
46
65
  };
47
66
  /**
48
- * Optional positive client reference price in quote units scaled by 1e9.
49
- * When omitted, admission uses server-side reference pricing.
67
+ * Optional positive client reference price in quote units scaled by 1e9
68
+ * (1e-9 quote units, not the pair's tick size). It need not be on the
69
+ * pair's tick grid; only the protection price derived from it is, as
70
+ * MarketIoc describes. When omitted, admission uses server-side reference
71
+ * pricing. A reference too far from the server's is refused with
72
+ * ERROR_CODE_STALE_QUOTE.
50
73
  *
51
74
  * @generated from field: int64 client_ref_price_ticks = 3;
52
75
  */
@@ -589,7 +612,7 @@ type CancelOrderRequest = Message<"orders.v1.CancelOrderRequest"> & {
589
612
  */
590
613
  key: {
591
614
  /**
592
- * Order ID as fixed64. Exactly one of order_id or client_order_id.
615
+ * Public order ID. Exactly one of order_id or client_order_id.
593
616
  *
594
617
  * @generated from field: fixed64 order_id = 1;
595
618
  */
@@ -646,7 +669,7 @@ type CancelOrderResponse = Message<"orders.v1.CancelOrderResponse"> & {
646
669
  */
647
670
  status: CancelOrderResponse_Status;
648
671
  /**
649
- * Order ID as fixed64.
672
+ * Public order ID.
650
673
  *
651
674
  * @generated from field: fixed64 order_id = 2;
652
675
  */
@@ -774,6 +797,17 @@ type ErrorDetail = Message<"orders.v1.ErrorDetail"> & {
774
797
  * @generated from field: optional uint32 level_index = 9;
775
798
  */
776
799
  levelIndex?: number | undefined;
800
+ /**
801
+ * The price band limit the order's limit price is past, when a preview is
802
+ * not admissible with PRICE_BAND_VIOLATION: the highest admitted buy price
803
+ * for a buy, the lowest admitted sell price for a sell, as the market last
804
+ * published its band. REST returns priceBandLimit as a decimal string in
805
+ * quote asset units per base asset unit, for example "1837.5". Protobuf
806
+ * uses quote units scaled by 1e9. Omitted for every other error.
807
+ *
808
+ * @generated from field: optional int64 price_band_limit_ticks = 10;
809
+ */
810
+ priceBandLimitTicks?: bigint | undefined;
777
811
  };
778
812
  /**
779
813
  * Describes the message orders.v1.ErrorDetail.
@@ -872,10 +906,10 @@ type TakeProfitPolicy = Message<"orders.v1.TakeProfitPolicy"> & {
872
906
  /**
873
907
  * Price the take-profit watches. Unspecified or LAST_PRICE watches the last
874
908
  * traded price. INDEX_PRICE watches the market's index price; on a market
875
- * without an index price the order is rejected with terminal reason
876
- * INDEX_PRICE_UNAVAILABLE before any fill, and a modify that adds such a leg
877
- * is refused with ERROR_CODE_TRIGGER_PRICE_SOURCE_UNSUPPORTED, leaving the
878
- * order and its legs unchanged. MARK_PRICE is not supported. A modify naming
909
+ * without an index price the order is rejected before any fill with
910
+ * reject_reason ERROR_CODE_TRIGGER_PRICE_SOURCE_UNSUPPORTED, and a modify
911
+ * that adds such a leg is refused with the same code, leaving the order and
912
+ * its legs unchanged. MARK_PRICE is not supported. A modify naming
879
913
  * another source replaces the leg.
880
914
  *
881
915
  * @generated from field: orders.v1.TriggerPriceSource trigger_price_source = 3;
@@ -910,10 +944,10 @@ type StopLossPolicy = Message<"orders.v1.StopLossPolicy"> & {
910
944
  /**
911
945
  * Price the stop-loss watches. Unspecified or LAST_PRICE watches the last
912
946
  * traded price. INDEX_PRICE watches the market's index price; on a market
913
- * without an index price the order is rejected with terminal reason
914
- * INDEX_PRICE_UNAVAILABLE before any fill, and a modify that adds such a leg
915
- * is refused with ERROR_CODE_TRIGGER_PRICE_SOURCE_UNSUPPORTED, leaving the
916
- * order and its legs unchanged. MARK_PRICE is not supported. A modify naming
947
+ * without an index price the order is rejected before any fill with
948
+ * reject_reason ERROR_CODE_TRIGGER_PRICE_SOURCE_UNSUPPORTED, and a modify
949
+ * that adds such a leg is refused with the same code, leaving the order and
950
+ * its legs unchanged. MARK_PRICE is not supported. A modify naming
917
951
  * another source replaces the leg.
918
952
  *
919
953
  * @generated from field: orders.v1.TriggerPriceSource trigger_price_source = 3;
@@ -970,7 +1004,11 @@ type TrailingStopPolicy = Message<"orders.v1.TrailingStopPolicy"> & {
970
1004
  */
971
1005
  maxSlippage: {
972
1006
  /**
973
- * Positive maximum absolute price delta in Q9 execution-price ticks (1 tick = 1e-9 quote units).
1007
+ * Positive maximum absolute price delta in quote units scaled by 1e9. The
1008
+ * "ticks" in this name are 1e-9 quote units, not the pair's tick size,
1009
+ * and the value need not be a multiple of the pair's tick size: the
1010
+ * child's protection price, the price that fired it moved by this delta,
1011
+ * is put on the tick grid toward that price, as MarketIoc describes.
974
1012
  *
975
1013
  * @generated from field: int64 max_slippage_ticks = 6;
976
1014
  */
@@ -1003,10 +1041,10 @@ type TrailingStopPolicy = Message<"orders.v1.TrailingStopPolicy"> & {
1003
1041
  * Price the trailing stop watches and trails: its peak or trough, activation
1004
1042
  * and fire all follow this price. Unspecified or LAST_PRICE watches the last
1005
1043
  * traded price. INDEX_PRICE watches the market's index price; on a market
1006
- * without an index price the order is rejected with terminal reason
1007
- * INDEX_PRICE_UNAVAILABLE before any fill, and a modify that adds such a leg
1008
- * is refused with ERROR_CODE_TRIGGER_PRICE_SOURCE_UNSUPPORTED, leaving the
1009
- * order and its legs unchanged. MARK_PRICE is not supported. A modify naming
1044
+ * without an index price the order is rejected before any fill with
1045
+ * reject_reason ERROR_CODE_TRIGGER_PRICE_SOURCE_UNSUPPORTED, and a modify
1046
+ * that adds such a leg is refused with the same code, leaving the order and
1047
+ * its legs unchanged. MARK_PRICE is not supported. A modify naming
1010
1048
  * another source replaces the leg.
1011
1049
  *
1012
1050
  * @generated from field: orders.v1.TriggerPriceSource trigger_price_source = 8;
@@ -1760,7 +1798,7 @@ type ModifyOrderRequest = Message<"orders.v1.ModifyOrderRequest"> & {
1760
1798
  */
1761
1799
  key: {
1762
1800
  /**
1763
- * Order ID as fixed64.
1801
+ * Public order ID.
1764
1802
  *
1765
1803
  * @generated from field: fixed64 order_id = 2;
1766
1804
  */
@@ -1926,7 +1964,7 @@ type BatchReplaceOrderItem = Message<"orders.v1.BatchReplaceOrderItem"> & {
1926
1964
  */
1927
1965
  key: {
1928
1966
  /**
1929
- * Order ID as fixed64. Exactly one of order_id or client_order_id.
1967
+ * Public order ID. Exactly one of order_id or client_order_id.
1930
1968
  *
1931
1969
  * @generated from field: fixed64 order_id = 1;
1932
1970
  */
@@ -2164,7 +2202,7 @@ declare const BatchReplaceOrdersResponseSchema: GenMessage<BatchReplaceOrdersRes
2164
2202
  */
2165
2203
  type BatchCancelItem = Message<"orders.v1.BatchCancelItem"> & {
2166
2204
  /**
2167
- * Order ID as fixed64. Exactly one of order_id or client_order_id.
2205
+ * Public order ID. Exactly one of order_id or client_order_id.
2168
2206
  *
2169
2207
  * @generated from field: fixed64 order_id = 1;
2170
2208
  */
@@ -2670,7 +2708,10 @@ declare enum ErrorCode {
2670
2708
  */
2671
2709
  PAIR_DISABLED = 16,
2672
2710
  /**
2673
- * Referenced order could not be resolved.
2711
+ * Referenced order could not be resolved: no order of the account has that
2712
+ * order ID or client order ID, or an ended order can no longer be
2713
+ * confirmed under it (see OrdersService.CancelOrder). Read the order to
2714
+ * tell an ended order from one that was never placed.
2674
2715
  *
2675
2716
  * @generated from enum value: ERROR_CODE_ORDER_UNKNOWN = 17;
2676
2717
  */
@@ -3997,7 +4038,16 @@ declare enum ErrorCode {
3997
4038
  *
3998
4039
  * @generated from enum value: ERROR_CODE_TRIGGER_ACTIVATION_PRICE_NOT_MODIFIABLE = 315;
3999
4040
  */
4000
- TRIGGER_ACTIVATION_PRICE_NOT_MODIFIABLE = 315
4041
+ TRIGGER_ACTIVATION_PRICE_NOT_MODIFIABLE = 315,
4042
+ /**
4043
+ * The OCO's client list ID is empty, longer than 36 characters, or has a
4044
+ * character other than a letter, digit, period, underscore, colon, slash or
4045
+ * hyphen. Answered by CreateOco and by the ListTriggers client_list_id
4046
+ * filter. Nothing changed.
4047
+ *
4048
+ * @generated from enum value: ERROR_CODE_CLIENT_LIST_ID_INVALID = 318;
4049
+ */
4050
+ CLIENT_LIST_ID_INVALID = 318
4001
4051
  }
4002
4052
  /**
4003
4053
  * Describes the enum orders.v1.ErrorCode.
@@ -4240,10 +4290,24 @@ declare const OrdersService: GenService<{
4240
4290
  * ERROR_CODE_ORDER_ALREADY_TERMINAL, including a cancel retried after a
4241
4291
  * timeout once the order has ended: treat it as already done. A repeat
4242
4292
  * while an earlier cancel of the order is still in progress is accepted
4243
- * again and changes nothing. A client order ID keeps naming its order for
4244
- * at least a minute after the order ends; a cancel by client order ID sent
4245
- * later may return ERROR_CODE_ORDER_UNKNOWN instead. Retry by order ID, or
4246
- * read the order, to tell an ended order from an unknown one.
4293
+ * again and changes nothing.
4294
+ * By client order ID, an ended order returns
4295
+ * ERROR_CODE_ORDER_ALREADY_TERMINAL for at least a minute after it ends;
4296
+ * later the client order ID may name no order, and the cancel returns
4297
+ * ERROR_CODE_ORDER_UNKNOWN.
4298
+ * By order ID, an ended order returns ERROR_CODE_ORDER_ALREADY_TERMINAL
4299
+ * while the exchange can still confirm that it placed an order under that
4300
+ * ID. After some exchange maintenance, such as a market listing or a
4301
+ * recovery, an order that ended before it can no longer be confirmed and
4302
+ * returns ERROR_CODE_ORDER_UNKNOWN, as an order ID that was never placed
4303
+ * does.
4304
+ * ERROR_CODE_ORDER_UNKNOWN therefore does not prove that an order never
4305
+ * existed. A client that knows the order ended, for example when retrying a
4306
+ * cancel that timed out, can treat it as done: an open order is never
4307
+ * reported unknown under its own order ID and symbol. Otherwise retry by
4308
+ * client order ID within its window, or read the order with
4309
+ * OrdersReadService.GetOrder to tell an ended order from one that was never
4310
+ * placed.
4247
4311
  *
4248
4312
  * @generated from rpc orders.v1.OrdersService.CancelOrder
4249
4313
  */
@@ -4320,6 +4384,14 @@ declare const OrdersService: GenService<{
4320
4384
  };
4321
4385
  /**
4322
4386
  * Modifies an existing order using explicit behavior policy.
4387
+ * A modify of an order that has already ended is refused with
4388
+ * ERROR_CODE_ORDER_ALREADY_TERMINAL; one naming no order is refused with
4389
+ * ERROR_CODE_ORDER_UNKNOWN. An ended order is told apart as for
4390
+ * CancelOrder: by client order ID it returns
4391
+ * ERROR_CODE_ORDER_ALREADY_TERMINAL for at least a minute after it ends; by
4392
+ * order ID it returns ERROR_CODE_ORDER_UNKNOWN once the exchange can no
4393
+ * longer confirm that it placed an order under that ID. Read the order with
4394
+ * OrdersReadService.GetOrder to tell the two apart.
4323
4395
  *
4324
4396
  * @generated from rpc orders.v1.OrdersService.ModifyOrder
4325
4397
  */
@@ -4330,7 +4402,9 @@ declare const OrdersService: GenService<{
4330
4402
  };
4331
4403
  /**
4332
4404
  * Amends or replaces same-symbol orders and returns after authoritative
4333
- * admission.
4405
+ * admission. An item naming an ended order is refused with
4406
+ * ERROR_CODE_ORDER_ALREADY_TERMINAL or ERROR_CODE_ORDER_UNKNOWN as for
4407
+ * ModifyOrder.
4334
4408
  *
4335
4409
  * @generated from rpc orders.v1.OrdersService.BatchReplaceOrders
4336
4410
  */
@@ -4341,7 +4415,9 @@ declare const OrdersService: GenService<{
4341
4415
  };
4342
4416
  /**
4343
4417
  * Cancels multiple orders by explicit ID in a single request.
4344
- * Per-item results are returned; partial success is the default.
4418
+ * Per-item results are returned; partial success is the default. An item
4419
+ * naming an ended order is rejected with ERROR_CODE_ORDER_ALREADY_TERMINAL
4420
+ * or ERROR_CODE_ORDER_UNKNOWN as for CancelOrder.
4345
4421
  * Final state is confirmed via the order update stream or read path.
4346
4422
  *
4347
4423
  * @generated from rpc orders.v1.OrdersService.BatchCancelOrders
@@ -1 +1 @@
1
- {"version":3,"file":"orders_pb.d.ts","names":[],"sources":["../../../../src/gen/orders/v1/orders_pb.ts"],"mappings":";;;;;;;;;;cAgBa,uBAAuB;;;;;;;KASxB,YAAY;;;;;;EAMtB;;;;;;IAME;IACA;;;;;;;;;;IAUA;IACA;;IACI;IAAiB;;;;;;;;EAQvB;;;;;;cAOW,iBAAiB,WAAW;;;;;;KAQ7B,WAAW;;;;;;EAMrB;;;;;;;EAQA;;;;;;;;;;;;;;;;;;;;EAqBA;;;;;;cAOW,gBAAgB,WAAW;;;;;;;KAS5B,WAAW;;;;;;EAMrB;;;;;;EAOA;;;;;;;;EASA,WAAW;;;;;;;;;;;;;;;;;;;;EAqBX;;;;;;cAOW,gBAAgB,WAAW;;;;;;KAQ5B,WAAW;;;;;;EAMrB;;;;;;cAOW,gBAAgB,WAAW;;;;;;KAQ5B,WAAW;;;;;;EAMrB;;;;;;cAOW,gBAAgB,WAAW;;;;;;;;;KAW5B,YAAY;;;;;;EAMtB,WAAW;;;;;;;;EASX;;;;;;cAOW,iBAAiB,WAAW;;;;;;;KAS7B,cAAc;;;;;;EAMxB;;;;;;EAOA,MAAM;;;;;;EAON;;;;;;;IAOE;IACA;;;;;;;;;;;;;IAaA;IACA;;;;;;;;;;;;;;;;;IAiBA;IACA;;IACI;IAAiB;;;;;;;;EAQvB;;;;;;IAME,OAAO;IACP;;;;;;;IAOA,OAAO;IACP;;;;;;;IAOA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