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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/CHANGELOG.md +3 -1
  2. package/dist/browser-core.js +1 -1
  3. package/dist/gen/ai/v1/assistant_pb.d.ts +1 -1
  4. package/dist/gen/ai/v1/assistant_pb.js +1 -1
  5. package/dist/gen/alerts/v1/price_alerts_pb.d.ts +1 -1
  6. package/dist/gen/auth/v1/address_book_pb.d.ts +1 -1
  7. package/dist/gen/auth/v1/api_keys_pb.d.ts +1 -1
  8. package/dist/gen/auth/v1/auth_pb.d.ts +2 -2
  9. package/dist/gen/auth/v1/auth_pb.js +1 -1
  10. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  11. package/dist/gen/auth/v1/mfa_pb.d.ts +1 -1
  12. package/dist/gen/auth/v1/policies_pb.d.ts +1 -1
  13. package/dist/gen/auth/v1/profile_pb.d.ts +1 -1
  14. package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
  15. package/dist/gen/auth/v1/social_verification_pb.d.ts +1 -1
  16. package/dist/gen/auth/v1/subaccounts_pb.d.ts +2 -2
  17. package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
  18. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  19. package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
  20. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
  21. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
  22. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +1 -1
  23. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +1 -1
  24. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +1 -1
  25. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +4 -3
  26. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  27. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +3 -2
  28. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  29. package/dist/gen/chain/zipper/v1/reason_pb.d.ts +1 -1
  30. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +1 -1
  31. package/dist/gen/changelog/v1/changelog_pb.d.ts +1 -1
  32. package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
  33. package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
  34. package/dist/gen/fees/v1/fees_pb.d.ts +1 -1
  35. package/dist/gen/index.js +21 -21
  36. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +3 -2
  37. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
  38. package/dist/gen/ledger/read/v1/ledger_read_pb.js +2 -1
  39. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  40. package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +1 -1
  41. package/dist/gen/marketdata/v1/asset_info_pb.d.ts +1 -1
  42. package/dist/gen/marketdata/v1/heatmap_pb.d.ts +1 -4
  43. package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
  44. package/dist/gen/marketdata/v1/heatmap_pb.js +0 -3
  45. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  46. package/dist/gen/marketdata/v1/marketdata_pb.d.ts +1 -1
  47. package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +1 -1
  48. package/dist/gen/notifications/v1/notifications_pb.d.ts +1 -1
  49. package/dist/gen/orderbook/v1/orderbook_pb.d.ts +29 -80
  50. package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
  51. package/dist/gen/orderbook/v1/orderbook_pb.js +3 -77
  52. package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
  53. package/dist/gen/orders/v1/orders_pb.d.ts +127 -72
  54. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  55. package/dist/gen/orders/v1/orders_pb.js +37 -19
  56. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  57. package/dist/gen/orders/v1/orders_read_pb.d.ts +31 -13
  58. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  59. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  60. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +1 -1
  61. package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
  62. package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
  63. package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -1
  64. package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
  65. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +88 -61
  66. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  67. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +1 -1
  68. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  69. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +15 -12
  70. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  71. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +8 -4
  72. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  73. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +46 -43
  74. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -1
  75. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +10 -10
  76. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -1
  77. package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
  78. package/dist/gen/system/v1/system_pb.d.ts +1 -1
  79. package/dist/gen/tradews/v1/trade_ws_pb.d.ts +1 -1
  80. package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +1 -1
  81. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +3 -2
  82. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  83. package/dist/gen/transfer/v1/internal_transfer_pb.js +2 -1
  84. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  85. package/dist/gen/triggers/v1/triggers_pb.d.ts +66 -50
  86. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  87. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  88. package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
  89. package/dist/index.js +1 -1
  90. package/dist/realtime/snapshot-then-stream.js +1 -1
  91. package/dist/server-core.js +3 -3
  92. package/dist/services/accounts/accounts.js +1 -1
  93. package/dist/services/accounts/accounts.schemas.js +1 -1
  94. package/dist/services/address-book/address-book.js +1 -1
  95. package/dist/services/api-keys/api-keys.js +1 -1
  96. package/dist/services/api-keys/api-keys.schemas.js +1 -1
  97. package/dist/services/assistant/assistant-events.schemas.d.ts +28 -28
  98. package/dist/services/assistant/assistant.js +1 -1
  99. package/dist/services/assistant/assistant.schemas.d.ts +1 -1
  100. package/dist/services/assistant/assistant.schemas.js +1 -1
  101. package/dist/services/auth/account-signer-auth.js +2 -2
  102. package/dist/services/auth/auth.js +1 -1
  103. package/dist/services/auth/profile/profile.js +2 -2
  104. package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
  105. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
  106. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
  107. package/dist/services/balances/balances.js +1 -1
  108. package/dist/services/candles/candles.js +2 -2
  109. package/dist/services/chain-analytics/chain-analytics.js +1 -1
  110. package/dist/services/changelog/changelog.js +1 -1
  111. package/dist/services/changelog/changelog.schemas.d.ts +38 -38
  112. package/dist/services/checkpoints/checkpoints.js +1 -1
  113. package/dist/services/claims/claims.js +1 -1
  114. package/dist/services/claims/claims.schemas.js +1 -1
  115. package/dist/services/deposit/deposit.js +1 -1
  116. package/dist/services/dust-conversion/dust-conversion.js +1 -1
  117. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +8 -8
  118. package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
  119. package/dist/services/fees/fees.js +1 -1
  120. package/dist/services/guard-signer/guard-signer.js +1 -1
  121. package/dist/services/guard-signer/guard-signer.schemas.js +1 -1
  122. package/dist/services/heatmap/heatmap.js +2 -2
  123. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  124. package/dist/services/internal-transfers/internal-transfers.js +1 -1
  125. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +12 -12
  126. package/dist/services/lifecycle/lifecycle.js +3 -3
  127. package/dist/services/lifecycle/lifecycle.schemas.d.ts +42 -42
  128. package/dist/services/lifecycle/lifecycle.schemas.js +2 -2
  129. package/dist/services/market-data/market-data.js +3 -3
  130. package/dist/services/market-overview/market-overview.js +2 -2
  131. package/dist/services/market-overview/market-overview.schemas.js +1 -1
  132. package/dist/services/notifications/notifications.js +1 -1
  133. package/dist/services/orderbook/orderbook.codecs.js +2 -42
  134. package/dist/services/orderbook/orderbook.codecs.js.map +1 -1
  135. package/dist/services/orderbook/orderbook.d.ts +3 -1
  136. package/dist/services/orderbook/orderbook.d.ts.map +1 -1
  137. package/dist/services/orderbook/orderbook.js +19 -12
  138. package/dist/services/orderbook/orderbook.js.map +1 -1
  139. package/dist/services/orderbook/orderbook.schemas.d.ts +12 -11
  140. package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
  141. package/dist/services/orderbook/orderbook.schemas.js +10 -12
  142. package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
  143. package/dist/services/orders/order-errors.schemas.d.ts +2 -2
  144. package/dist/services/orders/order-errors.schemas.js +1 -1
  145. package/dist/services/orders/orders-batch.schemas.d.ts +47 -47
  146. package/dist/services/orders/orders-batch.schemas.js +2 -2
  147. package/dist/services/orders/orders-input.schemas.d.ts +6 -6
  148. package/dist/services/orders/orders-input.schemas.js +2 -2
  149. package/dist/services/orders/orders-modify.schemas.js +2 -2
  150. package/dist/services/orders/orders-output.schemas.d.ts +14 -14
  151. package/dist/services/orders/orders-risk.schemas.js +3 -3
  152. package/dist/services/orders/orders.js +2 -2
  153. package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
  154. package/dist/services/policies/shared.codecs.js +1 -1
  155. package/dist/services/policies/subaccount-policies/subaccount-policies.js +2 -2
  156. package/dist/services/price-alerts/price-alerts.js +1 -1
  157. package/dist/services/price-alerts/price-alerts.schemas.d.ts +10 -10
  158. package/dist/services/rate-limits/rate-limits.js +1 -1
  159. package/dist/services/rewards/rewards.js +1 -1
  160. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  161. package/dist/services/social-verification/social-verification.js +1 -1
  162. package/dist/services/social-verification/social-verification.schemas.js +1 -1
  163. package/dist/services/statement-exports/statement-exports.js +1 -1
  164. package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
  165. package/dist/services/subaccounts/subaccounts.js +3 -3
  166. package/dist/services/subaccounts/subaccounts.schemas.d.ts +5 -5
  167. package/dist/services/system/system.js +1 -1
  168. package/dist/services/system/system.schemas.d.ts +13 -13
  169. package/dist/services/trades/trades.js +2 -2
  170. package/dist/services/trades/trades.schemas.d.ts +1 -1
  171. package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
  172. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
  173. package/dist/services/trading-withdraws/wallet-message.js +1 -1
  174. package/dist/services/transfers/transfers.js +2 -2
  175. package/dist/services/triggers/trigger-child-order.schemas.js +3 -3
  176. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  177. package/dist/services/triggers/trigger-input.schemas.js +2 -2
  178. package/dist/services/triggers/triggers-output.schemas.d.ts +38 -38
  179. package/dist/services/triggers/triggers.js +2 -2
  180. package/dist/services/vip/vip.js +1 -1
  181. package/dist/services/vip/vip.schemas.js +1 -1
  182. package/dist/services/zipper/zipper.js +1 -1
  183. package/dist/services/zipper/zipper.schemas.js +1 -1
  184. package/dist/shared/error-details/alerts.js +1 -1
  185. package/dist/shared/error-details/assistant.js +1 -1
  186. package/dist/shared/error-details/auth.js +1 -1
  187. package/dist/shared/error-details/claims.js +1 -1
  188. package/dist/shared/error-details/internal-transfer.js +1 -1
  189. package/dist/shared/error-details/ledger.js +1 -1
  190. package/dist/shared/error-details/market-overview.js +1 -1
  191. package/dist/shared/error-details/notifications.js +1 -1
  192. package/dist/shared/error-details/orders.js +1 -1
  193. package/dist/shared/error-details/profile.js +1 -1
  194. package/dist/shared/error-details/rate-limit.js +1 -1
  195. package/dist/shared/error-details/withdraw.js +1 -1
  196. package/dist/shared/rate-limit.schemas.js +1 -1
  197. package/dist/utils/cookies.js +1 -1
  198. package/dist/wired-services.js +18 -18
  199. package/package.json +1 -1
@@ -500,7 +500,7 @@ declare const AutoWithdrawStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
500
500
  readonly hi: v.BigintSchema<undefined>;
501
501
  readonly lo: v.BigintSchema<undefined>;
502
502
  }, undefined>, undefined>;
503
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted">]>;
503
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting">]>;
504
504
  readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawStepReason | null>]>;
505
505
  readonly intentId: v.OptionalSchema<v.StringSchema<undefined>, "">;
506
506
  readonly txHash: v.OptionalSchema<v.StringSchema<undefined>, "">;
@@ -524,7 +524,7 @@ declare const AutoWithdrawStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
524
524
  hi: bigint;
525
525
  lo: bigint;
526
526
  } | undefined;
527
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
527
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
528
528
  reason: AutoWithdrawStepReason | null;
529
529
  intentId: string;
530
530
  txHash: string;
@@ -538,7 +538,7 @@ declare const AutoWithdrawStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<
538
538
  txHash: string | null;
539
539
  assetId: number;
540
540
  destinationAddress: string;
541
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
541
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
542
542
  reason: AutoWithdrawStepReason | null;
543
543
  }>]>;
544
544
  /**
@@ -559,7 +559,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
559
559
  seconds: bigint;
560
560
  nanos: number;
561
561
  }, number>]>;
562
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "paying" | "partially_failed" | "failed" | "skipped">]>;
562
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "completed" | "planned" | "paying" | "partially_failed" | "skipped">]>;
563
563
  readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawRunReason | null>]>;
564
564
  readonly steps: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
565
565
  readonly assetId: v.NumberSchema<undefined>;
@@ -581,7 +581,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
581
581
  readonly hi: v.BigintSchema<undefined>;
582
582
  readonly lo: v.BigintSchema<undefined>;
583
583
  }, undefined>, undefined>;
584
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted">]>;
584
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting">]>;
585
585
  readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawStepReason | null>]>;
586
586
  readonly intentId: v.OptionalSchema<v.StringSchema<undefined>, "">;
587
587
  readonly txHash: v.OptionalSchema<v.StringSchema<undefined>, "">;
@@ -605,7 +605,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
605
605
  hi: bigint;
606
606
  lo: bigint;
607
607
  } | undefined;
608
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
608
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
609
609
  reason: AutoWithdrawStepReason | null;
610
610
  intentId: string;
611
611
  txHash: string;
@@ -619,7 +619,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
619
619
  txHash: string | null;
620
620
  assetId: number;
621
621
  destinationAddress: string;
622
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
622
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
623
623
  reason: AutoWithdrawStepReason | null;
624
624
  }>]>, undefined>;
625
625
  readonly createdAt: v.SchemaWithPipe<readonly [v.ObjectSchema<{
@@ -640,7 +640,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
640
640
  runSeq: string;
641
641
  ruleVersion: number;
642
642
  scheduledFor: number;
643
- state: "unspecified" | "completed" | "planned" | "paying" | "partially_failed" | "failed" | "skipped";
643
+ state: "unspecified" | "failed" | "completed" | "planned" | "paying" | "partially_failed" | "skipped";
644
644
  reason: AutoWithdrawRunReason | null;
645
645
  steps: {
646
646
  destinationChainId: number;
@@ -652,7 +652,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
652
652
  txHash: string | null;
653
653
  assetId: number;
654
654
  destinationAddress: string;
655
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
655
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
656
656
  reason: AutoWithdrawStepReason | null;
657
657
  }[];
658
658
  createdAt: number;
@@ -662,7 +662,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
662
662
  runSeq: string;
663
663
  ruleVersion: number;
664
664
  scheduledFor: number;
665
- state: "unspecified" | "completed" | "planned" | "paying" | "partially_failed" | "failed" | "skipped";
665
+ state: "unspecified" | "failed" | "completed" | "planned" | "paying" | "partially_failed" | "skipped";
666
666
  reason: AutoWithdrawRunReason | null;
667
667
  steps: {
668
668
  destinationChainId: number;
@@ -674,7 +674,7 @@ declare const AutoWithdrawRunSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
674
674
  txHash: string | null;
675
675
  assetId: number;
676
676
  destinationAddress: string;
677
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
677
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
678
678
  reason: AutoWithdrawStepReason | null;
679
679
  }[];
680
680
  createdAt: number;
@@ -692,7 +692,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
692
692
  seconds: bigint;
693
693
  nanos: number;
694
694
  }, number>]>;
695
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "paying" | "partially_failed" | "failed" | "skipped">]>;
695
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "completed" | "planned" | "paying" | "partially_failed" | "skipped">]>;
696
696
  readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawRunReason | null>]>;
697
697
  readonly steps: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
698
698
  readonly assetId: v.NumberSchema<undefined>;
@@ -714,7 +714,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
714
714
  readonly hi: v.BigintSchema<undefined>;
715
715
  readonly lo: v.BigintSchema<undefined>;
716
716
  }, undefined>, undefined>;
717
- readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted">]>;
717
+ readonly state: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting">]>;
718
718
  readonly reason: v.SchemaWithPipe<readonly [v.OptionalSchema<v.StringSchema<undefined>, "">, v.TransformAction<string, AutoWithdrawStepReason | null>]>;
719
719
  readonly intentId: v.OptionalSchema<v.StringSchema<undefined>, "">;
720
720
  readonly txHash: v.OptionalSchema<v.StringSchema<undefined>, "">;
@@ -738,7 +738,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
738
738
  hi: bigint;
739
739
  lo: bigint;
740
740
  } | undefined;
741
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
741
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
742
742
  reason: AutoWithdrawStepReason | null;
743
743
  intentId: string;
744
744
  txHash: string;
@@ -752,7 +752,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
752
752
  txHash: string | null;
753
753
  assetId: number;
754
754
  destinationAddress: string;
755
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
755
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
756
756
  reason: AutoWithdrawStepReason | null;
757
757
  }>]>, undefined>;
758
758
  readonly createdAt: v.SchemaWithPipe<readonly [v.ObjectSchema<{
@@ -773,7 +773,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
773
773
  runSeq: string;
774
774
  ruleVersion: number;
775
775
  scheduledFor: number;
776
- state: "unspecified" | "completed" | "planned" | "paying" | "partially_failed" | "failed" | "skipped";
776
+ state: "unspecified" | "failed" | "completed" | "planned" | "paying" | "partially_failed" | "skipped";
777
777
  reason: AutoWithdrawRunReason | null;
778
778
  steps: {
779
779
  destinationChainId: number;
@@ -785,7 +785,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
785
785
  txHash: string | null;
786
786
  assetId: number;
787
787
  destinationAddress: string;
788
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
788
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
789
789
  reason: AutoWithdrawStepReason | null;
790
790
  }[];
791
791
  createdAt: number;
@@ -795,7 +795,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
795
795
  runSeq: string;
796
796
  ruleVersion: number;
797
797
  scheduledFor: number;
798
- state: "unspecified" | "completed" | "planned" | "paying" | "partially_failed" | "failed" | "skipped";
798
+ state: "unspecified" | "failed" | "completed" | "planned" | "paying" | "partially_failed" | "skipped";
799
799
  reason: AutoWithdrawRunReason | null;
800
800
  steps: {
801
801
  destinationChainId: number;
@@ -807,7 +807,7 @@ declare const ListAutoWithdrawRunsResultSchema: v.ObjectSchema<{
807
807
  txHash: string | null;
808
808
  assetId: number;
809
809
  destinationAddress: string;
810
- state: "unspecified" | "completed" | "failed" | "skipped" | "pending" | "submitting" | "submitted";
810
+ state: "unspecified" | "failed" | "submitted" | "pending" | "completed" | "skipped" | "submitting";
811
811
  reason: AutoWithdrawStepReason | null;
812
812
  }[];
813
813
  createdAt: number;
@@ -1,4 +1,3 @@
1
- import "../../gen/chain/withdraw/v1/auto_withdraw_pb.js";
2
1
  import { ValidationError } from "../../shared/errors.js";
3
2
  import { PROTOBUF_UINT32_MAX } from "../../shared/wire-bounds.js";
4
3
  import { BigIntStringSchema, OptionalTimestampMsSchema, PublicIdOrEmptySchema, TimestampMsSchema, U128Schema } from "../../shared/schemas.js";
@@ -7,6 +6,7 @@ import { fromU128, toU128 } from "../../utils/u128.js";
7
6
  import { decimalInputToScaled, scaledToDecimalOutput } from "../../shared/decimal-surface.js";
8
7
  import { PositiveUint32InputSchema } from "../shared.js";
9
8
  import { AccountScopeInputEntries, accountScopeToSubaccountId } from "../../shared/account-scope.js";
9
+ import "../../gen/chain/withdraw/v1/auto_withdraw_pb.js";
10
10
  import { AUTO_WITHDRAW_WEEKDAY_VALUES, AutoWithdrawCadenceCodec, AutoWithdrawPreviewStatusCodec, AutoWithdrawRunStateCodec, AutoWithdrawStepStateCodec, AutoWithdrawWeekdayCodec } from "./auto-withdraw.codecs.js";
11
11
  import * as v from "valibot";
12
12
  //#region src/services/auto-withdraw/auto-withdraw.schemas.ts
@@ -1,7 +1,7 @@
1
- import { AssetBalanceSchema, LedgerReadService } from "../../gen/ledger/read/v1/ledger_read_pb.js";
2
1
  import { parse } from "../../shared/validation.js";
3
2
  import { toConnectCallOptions } from "../../shared/request-options.js";
4
3
  import { tsObjToMs } from "../../utils/time.js";
4
+ import { AssetBalanceSchema, LedgerReadService } from "../../gen/ledger/read/v1/ledger_read_pb.js";
5
5
  import { resolveAccountScopedInput } from "../subaccount-resolver.js";
6
6
  import { accountScopeToSubaccountId } from "../../shared/account-scope.js";
7
7
  import { BalanceHistoryInputSchema, BalancesListInputSchema, EquityHistoryInputSchema, ExportStatementInputSchema, PortfolioEquityHistoryInputSchema, createBalanceHistoryResponseSchema, createEquityHistoryResponseSchema, createPortfolioEquityHistoryResponseSchema, createPortfolioEquitySnapshotResponseSchema, formatLedgerBalance } from "./balances.schemas.js";
@@ -1,12 +1,12 @@
1
- import { CandlePointSchema, MarketDataService } from "../../gen/marketdata/v1/marketdata_pb.js";
2
1
  import { parse } from "../../shared/validation.js";
3
2
  import { toConnectCallOptions } from "../../shared/request-options.js";
4
3
  import { SymbolIdInputSchema } from "../shared.js";
4
+ import { CandlePointSchema, MarketDataService } from "../../gen/marketdata/v1/marketdata_pb.js";
5
5
  import { TimeframeCodec } from "./candles.codecs.js";
6
6
  import { ListCandlesInputSchema, TimeframeSchema, createCandleColumnarIntSchema, createCandleColumnarSchema, formatCandleRow } from "./candles.schemas.js";
7
7
  import { connectReadyGatedProtoChannel } from "../../realtime/ready-gated-subscription.js";
8
- import * as v from "valibot";
9
8
  import { createClient } from "@connectrpc/connect";
9
+ import * as v from "valibot";
10
10
  //#region src/services/candles/candles.ts
11
11
  const SubscribeCandlesParamsSchema = v.object({
12
12
  symbolId: SymbolIdInputSchema,
@@ -1,6 +1,6 @@
1
- import { ChainAnalyticsService as ChainAnalyticsService$1 } from "../../gen/chain/analytics/v1/analytics_read_pb.js";
2
1
  import { parse } from "../../shared/validation.js";
3
2
  import { toConnectCallOptions } from "../../shared/request-options.js";
3
+ import { ChainAnalyticsService as ChainAnalyticsService$1 } from "../../gen/chain/analytics/v1/analytics_read_pb.js";
4
4
  import { GetUnifiedAssetBalancesInputSchema, GetZippedAssetSupplyGroupInputSchema, GetZippedAssetSupplyInputSchema, createUnifiedAssetBalancesResponseSchema, createZippedAssetSupplyGroupResponseSchema, createZippedAssetSupplyResponseSchema } from "./chain-analytics.schemas.js";
5
5
  import { createClient } from "@connectrpc/connect";
6
6
  //#region src/services/chain-analytics/chain-analytics.ts
@@ -1,6 +1,6 @@
1
- import { ChangelogService as ChangelogService$1 } from "../../gen/changelog/v1/changelog_pb.js";
2
1
  import { parse } from "../../shared/validation.js";
3
2
  import { toConnectCallOptions } from "../../shared/request-options.js";
3
+ import { ChangelogService as ChangelogService$1 } from "../../gen/changelog/v1/changelog_pb.js";
4
4
  import { GetChangelogDeploymentGroupInputSchema, GetChangelogDeploymentGroupResultSchema, GetChangelogPostInputSchema, GetChangelogPostResultSchema, ListChangelogChangesInputSchema, ListChangelogChangesResultSchema, ListChangelogDeploymentGroupsInputSchema, ListChangelogDeploymentGroupsResultSchema, ListChangelogPostsInputSchema, ListChangelogPostsResultSchema } from "./changelog.schemas.js";
5
5
  import { createClient } from "@connectrpc/connect";
6
6
  //#region src/services/changelog/changelog.ts
@@ -31,7 +31,7 @@ declare const ListChangelogChangesInputSchema: v.SchemaWithPipe<readonly [v.Stri
31
31
  }, undefined>, v.CheckAction<{
32
32
  categories: ("breaking_change" | "new_feature" | "improvement" | "bug_fix")[];
33
33
  actionRequired?: boolean | undefined;
34
- surfaces: ("assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
34
+ surfaces: ("assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
35
35
  audiences: ("all_users" | "traders" | "market_makers" | "developers")[];
36
36
  startTime?: number | undefined;
37
37
  endTime?: number | undefined;
@@ -42,7 +42,7 @@ declare const ListChangelogChangesInputSchema: v.SchemaWithPipe<readonly [v.Stri
42
42
  }, "endTime: must be after startTime">, v.TransformAction<{
43
43
  categories: ("breaking_change" | "new_feature" | "improvement" | "bug_fix")[];
44
44
  actionRequired?: boolean | undefined;
45
- surfaces: ("assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
45
+ surfaces: ("assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
46
46
  audiences: ("all_users" | "traders" | "market_makers" | "developers")[];
47
47
  startTime?: number | undefined;
48
48
  endTime?: number | undefined;
@@ -77,10 +77,10 @@ declare const ChangelogChangeSchema: v.ObjectSchema<{
77
77
  readonly actionRequired: v.BooleanSchema<undefined>;
78
78
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
79
79
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
80
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform">]>, undefined>, readonly []>;
80
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
81
81
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
82
82
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
83
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
83
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "pending" | "unavailable" | "ahead">]>;
84
84
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
85
85
  readonly seconds: v.BigintSchema<undefined>;
86
86
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -95,7 +95,7 @@ type ChangelogChange = v.InferOutput<typeof ChangelogChangeSchema>;
95
95
  declare const ChangelogSectionSchema: v.ObjectSchema<{
96
96
  readonly heading: v.StringSchema<undefined>;
97
97
  readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
98
- readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform">]>;
98
+ readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>;
99
99
  readonly changes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
100
100
  readonly id: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
101
101
  readonly title: v.StringSchema<undefined>;
@@ -105,10 +105,10 @@ declare const ChangelogSectionSchema: v.ObjectSchema<{
105
105
  readonly actionRequired: v.BooleanSchema<undefined>;
106
106
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
107
107
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
108
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform">]>, undefined>, readonly []>;
108
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
109
109
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
110
110
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
111
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
111
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "pending" | "unavailable" | "ahead">]>;
112
112
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
113
113
  readonly seconds: v.BigintSchema<undefined>;
114
114
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -278,7 +278,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
278
278
  readonly sections: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
279
279
  readonly heading: v.StringSchema<undefined>;
280
280
  readonly summary: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
281
- readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform">]>;
281
+ readonly surface: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>;
282
282
  readonly changes: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
283
283
  readonly id: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
284
284
  readonly title: v.StringSchema<undefined>;
@@ -288,10 +288,10 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
288
288
  readonly actionRequired: v.BooleanSchema<undefined>;
289
289
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
290
290
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
291
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform">]>, undefined>, readonly []>;
291
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
292
292
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
293
293
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
294
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
294
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "pending" | "unavailable" | "ahead">]>;
295
295
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
296
296
  readonly seconds: v.BigintSchema<undefined>;
297
297
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -327,7 +327,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
327
327
  sections: {
328
328
  heading: string;
329
329
  summary?: string | undefined;
330
- surface: "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform";
330
+ surface: "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap";
331
331
  changes: {
332
332
  id: string;
333
333
  title: string;
@@ -337,10 +337,10 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
337
337
  actionRequired: boolean;
338
338
  migrationGuidance?: string | undefined;
339
339
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
340
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
340
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
341
341
  environmentExceptions: {
342
342
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
343
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
343
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
344
344
  liveAt?: number | undefined;
345
345
  }[];
346
346
  }[];
@@ -349,7 +349,7 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
349
349
  sections: {
350
350
  heading: string;
351
351
  summary?: string | undefined;
352
- surface: "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform";
352
+ surface: "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap";
353
353
  changes: {
354
354
  id: string;
355
355
  title: string;
@@ -359,10 +359,10 @@ declare const ChangelogPostSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
359
359
  actionRequired: boolean;
360
360
  migrationGuidance?: string | undefined;
361
361
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
362
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
362
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
363
363
  environmentExceptions: {
364
364
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
365
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
365
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
366
366
  liveAt?: number | undefined;
367
367
  }[];
368
368
  }[];
@@ -398,10 +398,10 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
398
398
  readonly actionRequired: v.BooleanSchema<undefined>;
399
399
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
400
400
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
401
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform">]>, undefined>, readonly []>;
401
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
402
402
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
403
403
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
404
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
404
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "pending" | "unavailable" | "ahead">]>;
405
405
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
406
406
  readonly seconds: v.BigintSchema<undefined>;
407
407
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -430,10 +430,10 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
430
430
  actionRequired: boolean;
431
431
  migrationGuidance?: string | undefined;
432
432
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
433
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
433
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
434
434
  environmentExceptions: {
435
435
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
436
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
436
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
437
437
  liveAt?: number | undefined;
438
438
  }[];
439
439
  };
@@ -452,10 +452,10 @@ declare const ChangelogChangeEntrySchema: v.SchemaWithPipe<readonly [v.ObjectSch
452
452
  actionRequired: boolean;
453
453
  migrationGuidance?: string | undefined;
454
454
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
455
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
455
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
456
456
  environmentExceptions: {
457
457
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
458
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
458
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
459
459
  liveAt?: number | undefined;
460
460
  }[];
461
461
  }>]>;
@@ -472,10 +472,10 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
472
472
  readonly actionRequired: v.BooleanSchema<undefined>;
473
473
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
474
474
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
475
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform">]>, undefined>, readonly []>;
475
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
476
476
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
477
477
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
478
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
478
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "pending" | "unavailable" | "ahead">]>;
479
479
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
480
480
  readonly seconds: v.BigintSchema<undefined>;
481
481
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -504,10 +504,10 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
504
504
  actionRequired: boolean;
505
505
  migrationGuidance?: string | undefined;
506
506
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
507
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
507
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
508
508
  environmentExceptions: {
509
509
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
510
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
510
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
511
511
  liveAt?: number | undefined;
512
512
  }[];
513
513
  };
@@ -526,10 +526,10 @@ declare const ListChangelogChangesResultSchema: v.ObjectSchema<{
526
526
  actionRequired: boolean;
527
527
  migrationGuidance?: string | undefined;
528
528
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
529
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
529
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
530
530
  environmentExceptions: {
531
531
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
532
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
532
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
533
533
  liveAt?: number | undefined;
534
534
  }[];
535
535
  }>]>, undefined>, readonly []>;
@@ -678,10 +678,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
678
678
  readonly actionRequired: v.BooleanSchema<undefined>;
679
679
  readonly migrationGuidance: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
680
680
  readonly audiences: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "all_users" | "traders" | "market_makers" | "developers">]>, undefined>, readonly []>;
681
- readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform">]>, undefined>, readonly []>;
681
+ readonly surfaces: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap">]>, undefined>, readonly []>;
682
682
  readonly environmentExceptions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
683
683
  readonly environment: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "devnet" | "testnet" | "mainnet">]>;
684
- readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "unavailable" | "pending" | "ahead">]>;
684
+ readonly availability: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "pending" | "unavailable" | "ahead">]>;
685
685
  readonly liveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
686
686
  readonly seconds: v.BigintSchema<undefined>;
687
687
  readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
@@ -703,10 +703,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
703
703
  actionRequired: boolean;
704
704
  migrationGuidance?: string | undefined;
705
705
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
706
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
706
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
707
707
  environmentExceptions: {
708
708
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
709
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
709
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
710
710
  liveAt?: number | undefined;
711
711
  }[];
712
712
  };
@@ -723,10 +723,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
723
723
  actionRequired: boolean;
724
724
  migrationGuidance?: string | undefined;
725
725
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
726
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
726
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
727
727
  environmentExceptions: {
728
728
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
729
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
729
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
730
730
  liveAt?: number | undefined;
731
731
  }[];
732
732
  }>]>, undefined>, readonly []>;
@@ -765,10 +765,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
765
765
  actionRequired: boolean;
766
766
  migrationGuidance?: string | undefined;
767
767
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
768
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
768
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
769
769
  environmentExceptions: {
770
770
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
771
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
771
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
772
772
  liveAt?: number | undefined;
773
773
  }[];
774
774
  }[];
@@ -789,10 +789,10 @@ declare const ChangelogDeploymentGroupSchema: v.SchemaWithPipe<readonly [v.Objec
789
789
  actionRequired: boolean;
790
790
  migrationGuidance?: string | undefined;
791
791
  audiences: ("unspecified" | "all_users" | "traders" | "market_makers" | "developers")[];
792
- surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "market_data" | "accounts" | "api" | "quickswap" | "funding" | "explorer" | "documentation" | "platform")[];
792
+ surfaces: ("unspecified" | "assistant" | "rewards" | "trading" | "funding" | "accounts" | "api" | "explorer" | "documentation" | "platform" | "market_data" | "quickswap")[];
793
793
  environmentExceptions: {
794
794
  environment: "unspecified" | "devnet" | "testnet" | "mainnet";
795
- availability: "unspecified" | "unavailable" | "pending" | "ahead";
795
+ availability: "unspecified" | "pending" | "unavailable" | "ahead";
796
796
  liveAt?: number | undefined;
797
797
  }[];
798
798
  }[];
@@ -1,6 +1,6 @@
1
- import { CheckpointService } from "../../gen/checkpoints/v1/checkpoints_pb.js";
2
1
  import { parse } from "../../shared/validation.js";
3
2
  import { toConnectCallOptions } from "../../shared/request-options.js";
3
+ import { CheckpointService } from "../../gen/checkpoints/v1/checkpoints_pb.js";
4
4
  import { ListCheckpointsInputSchema, ListCheckpointsResultSchema } from "./checkpoints.schemas.js";
5
5
  import { createClient } from "@connectrpc/connect";
6
6
  //#region src/services/checkpoints/checkpoints.ts
@@ -1,6 +1,6 @@
1
- import { ClaimsService as ClaimsService$1 } from "../../gen/claims/v1/claims_pb.js";
2
1
  import { parse } from "../../shared/validation.js";
3
2
  import { toConnectCallOptions } from "../../shared/request-options.js";
3
+ import { ClaimsService as ClaimsService$1 } from "../../gen/claims/v1/claims_pb.js";
4
4
  import { ClaimDailyRewardInputSchema, ClaimDailyRewardResultSchema, DailyClaimStatusSchema } from "./claims.schemas.js";
5
5
  import { createClient } from "@connectrpc/connect";
6
6
  //#region src/services/claims/claims.ts
@@ -1,8 +1,8 @@
1
- import { ErrorCode } from "../../gen/claims/v1/claims_pb.js";
2
1
  import { OptionalPublicIdSchema, OptionalTimestampMsSchema, U128Schema, optionalSubaccountIdInputSchema } from "../../shared/schemas.js";
3
2
  import { enumLabelSchema } from "../../shared/proto-enum-codec.js";
4
3
  import { fromU128 } from "../../utils/u128.js";
5
4
  import { scaledToDecimalOutput } from "../../shared/decimal-surface.js";
5
+ import { ErrorCode } from "../../gen/claims/v1/claims_pb.js";
6
6
  import { ClaimPolicyCodec, DailyClaimStateCodec } from "./claims.codecs.js";
7
7
  import * as v from "valibot";
8
8
  //#region src/services/claims/claims.schemas.ts
@@ -1,8 +1,8 @@
1
- import { DepositAddressService } from "../../gen/chain/deposit/v1/deposit_pb.js";
2
1
  import { parse } from "../../shared/validation.js";
3
2
  import { removeUndefined } from "../../utils/remove-undefined.js";
4
3
  import { toConnectCallOptions } from "../../shared/request-options.js";
5
4
  import { resolveAccountScopedInput } from "../subaccount-resolver.js";
5
+ import { DepositAddressService } from "../../gen/chain/deposit/v1/deposit_pb.js";
6
6
  import { CreateDepositAddressInputSchema, DepositAddressSchema, DepositAddressesSchema, ListDepositAddressesInputSchema } from "./deposit.schemas.js";
7
7
  import { createClient } from "@connectrpc/connect";
8
8
  //#region src/services/deposit/deposit.ts
@@ -1,8 +1,8 @@
1
- import { DustConversionService as DustConversionService$1 } from "../../gen/transfer/v1/dust_conversion_pb.js";
2
1
  import { parse } from "../../shared/validation.js";
3
2
  import { removeUndefined } from "../../utils/remove-undefined.js";
4
3
  import { toConnectCallOptions } from "../../shared/request-options.js";
5
4
  import { resolveAccountScopedInput } from "../subaccount-resolver.js";
5
+ import { DustConversionService as DustConversionService$1 } from "../../gen/transfer/v1/dust_conversion_pb.js";
6
6
  import { CreateDustConversionInputSchema, DustConversionQuoteSchema, DustConversionSchema, GetDustConversionInputSchema, ListDustBalancesInputSchema, ListDustBalancesResultSchema, ListDustConversionsInputSchema, ListDustConversionsResultSchema, QuoteDustConversionInputSchema } from "./dust-conversion.schemas.js";
7
7
  import { createClient } from "@connectrpc/connect";
8
8
  //#region src/services/dust-conversion/dust-conversion.ts