@polyester/sdk 0.35.0-devnet-20261111140253 → 0.35.0-devnet-20261112024759

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 (152) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/dist/client.d.ts +6 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +6 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/gen/ai/v1/assistant_pb.d.ts +2 -2
  7. package/dist/gen/ai/v1/assistant_pb.js +2 -2
  8. package/dist/gen/index.d.ts +11 -11
  9. package/dist/gen/index.js +9 -9
  10. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
  11. package/dist/gen/orders/v1/orders_read_pb.d.ts +1 -1
  12. package/dist/index.d.ts +10 -2
  13. package/dist/services/accounts/accounts.d.ts +1 -1
  14. package/dist/services/accounts/accounts.js +1 -1
  15. package/dist/services/accounts/accounts.js.map +1 -1
  16. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  17. package/dist/services/api-keys/api-keys.d.ts +18 -3
  18. package/dist/services/api-keys/api-keys.d.ts.map +1 -1
  19. package/dist/services/api-keys/api-keys.js +27 -3
  20. package/dist/services/api-keys/api-keys.js.map +1 -1
  21. package/dist/services/api-keys/api-keys.schemas.d.ts +112 -1
  22. package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
  23. package/dist/services/api-keys/api-keys.schemas.js +26 -2
  24. package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
  25. package/dist/services/api-keys/api-keys.types.d.ts +2 -2
  26. package/dist/services/api-keys/index.d.ts +2 -2
  27. package/dist/services/assistant/assistant-events.schemas.d.ts +4646 -0
  28. package/dist/services/assistant/assistant-events.schemas.d.ts.map +1 -0
  29. package/dist/services/assistant/assistant-events.schemas.js +485 -0
  30. package/dist/services/assistant/assistant-events.schemas.js.map +1 -0
  31. package/dist/services/assistant/assistant.codecs.d.ts +24 -0
  32. package/dist/services/assistant/assistant.codecs.d.ts.map +1 -0
  33. package/dist/services/assistant/assistant.codecs.js +88 -0
  34. package/dist/services/assistant/assistant.codecs.js.map +1 -0
  35. package/dist/services/assistant/assistant.d.ts +76 -0
  36. package/dist/services/assistant/assistant.d.ts.map +1 -0
  37. package/dist/services/assistant/assistant.js +133 -0
  38. package/dist/services/assistant/assistant.js.map +1 -0
  39. package/dist/services/assistant/assistant.schemas.d.ts +184 -0
  40. package/dist/services/assistant/assistant.schemas.d.ts.map +1 -0
  41. package/dist/services/assistant/assistant.schemas.js +135 -0
  42. package/dist/services/assistant/assistant.schemas.js.map +1 -0
  43. package/dist/services/assistant/assistant.types.d.ts +4 -0
  44. package/dist/services/assistant/service.d.ts +8 -0
  45. package/dist/services/assistant/service.d.ts.map +1 -0
  46. package/dist/services/assistant/service.js +9 -0
  47. package/dist/services/assistant/service.js.map +1 -0
  48. package/dist/services/auth/profile/profile.d.ts +2 -2
  49. package/dist/services/auth/profile/profile.js +2 -2
  50. package/dist/services/auth/profile/profile.js.map +1 -1
  51. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
  52. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
  53. package/dist/services/balances/balances.js +1 -1
  54. package/dist/services/candles/candles.js +1 -1
  55. package/dist/services/candles/candles.schemas.js +5 -2
  56. package/dist/services/candles/candles.schemas.js.map +1 -1
  57. package/dist/services/changelog/changelog.schemas.d.ts +17 -17
  58. package/dist/services/checkpoints/checkpoints.d.ts +2 -2
  59. package/dist/services/checkpoints/checkpoints.js +2 -2
  60. package/dist/services/checkpoints/checkpoints.js.map +1 -1
  61. package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
  62. package/dist/services/deposit/deposit.d.ts +2 -2
  63. package/dist/services/deposit/deposit.js +2 -2
  64. package/dist/services/deposit/deposit.js.map +1 -1
  65. package/dist/services/guard-signer/guard-signer.d.ts +1 -1
  66. package/dist/services/guard-signer/guard-signer.js +1 -1
  67. package/dist/services/guard-signer/guard-signer.js.map +1 -1
  68. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  69. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
  70. package/dist/services/lifecycle/lifecycle.schemas.d.ts +54 -54
  71. package/dist/services/market-data/market-data.js +1 -1
  72. package/dist/services/market-overview/market-overview.schemas.d.ts +1 -1
  73. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  74. package/dist/services/orders/order-errors.schemas.d.ts +1 -1
  75. package/dist/services/orders/orders-batch.schemas.d.ts +32 -32
  76. package/dist/services/orders/orders-input.schemas.d.ts +4 -4
  77. package/dist/services/orders/orders-input.schemas.js +1 -1
  78. package/dist/services/orders/orders-modify.schemas.js +1 -1
  79. package/dist/services/orders/orders-output.schemas.d.ts +25 -25
  80. package/dist/services/orders/orders-output.schemas.js +3 -3
  81. package/dist/services/orders/orders-risk.schemas.js +1 -1
  82. package/dist/services/orders/orders.codecs.js +1 -1
  83. package/dist/services/orders/orders.js +3 -3
  84. package/dist/services/policies/api-key-policies/api-key-policies.d.ts +2 -2
  85. package/dist/services/policies/api-key-policies/api-key-policies.js +2 -2
  86. package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -1
  87. package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +2 -2
  88. package/dist/services/policies/subaccount-policies/subaccount-policies.js +2 -2
  89. package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -1
  90. package/dist/services/price-alerts/price-alerts.codecs.d.ts +20 -0
  91. package/dist/services/price-alerts/price-alerts.codecs.d.ts.map +1 -0
  92. package/dist/services/price-alerts/price-alerts.codecs.js +66 -0
  93. package/dist/services/price-alerts/price-alerts.codecs.js.map +1 -0
  94. package/dist/services/price-alerts/price-alerts.d.ts +38 -0
  95. package/dist/services/price-alerts/price-alerts.d.ts.map +1 -0
  96. package/dist/services/price-alerts/price-alerts.js +60 -0
  97. package/dist/services/price-alerts/price-alerts.js.map +1 -0
  98. package/dist/services/price-alerts/price-alerts.schemas.d.ts +309 -0
  99. package/dist/services/price-alerts/price-alerts.schemas.d.ts.map +1 -0
  100. package/dist/services/price-alerts/price-alerts.schemas.js +130 -0
  101. package/dist/services/price-alerts/price-alerts.schemas.js.map +1 -0
  102. package/dist/services/price-alerts/price-alerts.types.d.ts +3 -0
  103. package/dist/services/price-alerts/service.d.ts +8 -0
  104. package/dist/services/price-alerts/service.d.ts.map +1 -0
  105. package/dist/services/price-alerts/service.js +9 -0
  106. package/dist/services/price-alerts/service.js.map +1 -0
  107. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  108. package/dist/services/social-verification/social-verification.d.ts +1 -1
  109. package/dist/services/social-verification/social-verification.js +1 -1
  110. package/dist/services/social-verification/social-verification.js.map +1 -1
  111. package/dist/services/subaccounts/subaccounts.d.ts +6 -6
  112. package/dist/services/subaccounts/subaccounts.js +6 -6
  113. package/dist/services/subaccounts/subaccounts.js.map +1 -1
  114. package/dist/services/subaccounts/subaccounts.schemas.d.ts +21 -21
  115. package/dist/services/system/service.d.ts +8 -0
  116. package/dist/services/system/service.d.ts.map +1 -0
  117. package/dist/services/system/service.js +9 -0
  118. package/dist/services/system/service.js.map +1 -0
  119. package/dist/services/system/system.d.ts +25 -0
  120. package/dist/services/system/system.d.ts.map +1 -0
  121. package/dist/services/system/system.js +24 -0
  122. package/dist/services/system/system.js.map +1 -0
  123. package/dist/services/trades/trades.js +1 -1
  124. package/dist/services/trades/trades.schemas.d.ts +2 -2
  125. package/dist/services/trades/trades.schemas.js +1 -1
  126. package/dist/services/trading-withdraws/trading-withdraws.d.ts +1 -1
  127. package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
  128. package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
  129. package/dist/services/triggers/trigger-child-order.schemas.js +1 -1
  130. package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
  131. package/dist/services/triggers/trigger-input.schemas.js +1 -1
  132. package/dist/services/triggers/triggers-output.schemas.d.ts +63 -63
  133. package/dist/services/triggers/triggers.codecs.js +1 -1
  134. package/dist/services/triggers/triggers.js +2 -2
  135. package/dist/services/vip/vip.d.ts +1 -1
  136. package/dist/services/vip/vip.js +1 -1
  137. package/dist/services/vip/vip.js.map +1 -1
  138. package/dist/shared/connect-error-mapping.d.ts.map +1 -1
  139. package/dist/shared/connect-error-mapping.js +1 -0
  140. package/dist/shared/connect-error-mapping.js.map +1 -1
  141. package/dist/shared/error-detail.d.ts +18 -10
  142. package/dist/shared/error-detail.d.ts.map +1 -1
  143. package/dist/shared/error-detail.js +2 -0
  144. package/dist/shared/error-detail.js.map +1 -1
  145. package/dist/shared/error-details/alerts.js +15 -0
  146. package/dist/shared/error-details/alerts.js.map +1 -0
  147. package/dist/shared/error-details/assistant.js +15 -0
  148. package/dist/shared/error-details/assistant.js.map +1 -0
  149. package/dist/wired-services.d.ts.map +1 -1
  150. package/dist/wired-services.js +11 -5
  151. package/dist/wired-services.js.map +1 -1
  152. package/package.json +1 -1
@@ -7,7 +7,7 @@ declare const LifecycleAssetIdsSchema: v.ObjectSchema<{
7
7
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
8
8
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
9
9
  }, undefined>;
10
- declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "failed" | "completed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded">]>;
10
+ declare const LifecycleFlowStateEnumSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "failed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded">]>;
11
11
  declare const LifecycleZipperReasonSchema: v.ObjectSchema<{
12
12
  readonly code: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
13
13
  readonly reasonId: v.StringSchema<undefined>;
@@ -17,7 +17,7 @@ declare const ListLifecycleFlowsInputSchema: v.SchemaWithPipe<readonly [v.Strict
17
17
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 500, undefined>]>, 100>;
18
18
  readonly sort: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["newest", "oldest"], undefined>, "newest">, v.TransformAction<"newest" | "oldest", Sort.NEWEST | Sort.OLDEST>]>;
19
19
  readonly flowKind: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["deposit", "withdraw", "transfer"], undefined>, undefined>, v.TransformAction<"deposit" | "withdraw" | "transfer" | undefined, FlowKind>]>;
20
- readonly flowState: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["pending_source", "pending_polyester_chain", "pending_ledger", "completed", "failed", "dropped", "refunded"], undefined>, undefined>, v.TransformAction<"failed" | "completed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded" | undefined, FlowState>]>;
20
+ readonly flowState: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["pending_source", "pending_polyester_chain", "pending_ledger", "completed", "failed", "dropped", "refunded"], undefined>, undefined>, v.TransformAction<"completed" | "failed" | "pending_source" | "pending_polyester_chain" | "pending_ledger" | "dropped" | "refunded" | undefined, FlowState>]>;
21
21
  readonly txRef: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "txHash is required.">, v.CheckAction<string, "txHash must be a valid EVM hash or chain-native transaction id.">, v.TransformAction<string, string>]>, undefined>;
22
22
  readonly scope: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["all", "open", "terminal"], undefined>, "all">, v.TransformAction<"open" | "all" | "terminal", ListScope.LIST_ALL | ListScope.LIST_OPEN_ONLY | ListScope.LIST_TERMINAL_ONLY>]>;
23
23
  readonly accountSelector: v.OptionalSchema<v.SchemaWithPipe<readonly [v.VariantSchema<"kind", [v.StrictObjectSchema<{
@@ -241,7 +241,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
241
241
  }>]>;
242
242
  declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
243
243
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
244
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
244
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
245
245
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
246
246
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
247
247
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -390,7 +390,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
390
390
  readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
391
391
  }, undefined>, v.TransformAction<{
392
392
  sequence: number;
393
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
393
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
394
394
  assetIds?: {
395
395
  zippedAssetId: number;
396
396
  unifiedAssetId: number;
@@ -454,7 +454,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
454
454
  refundAddress: string;
455
455
  }, Omit<{
456
456
  sequence: number;
457
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
457
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
458
458
  assetIds?: {
459
459
  zippedAssetId: number;
460
460
  unifiedAssetId: number;
@@ -521,7 +521,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
521
521
  }>]>;
522
522
  declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
523
523
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
524
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
524
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
525
525
  readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
526
526
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
527
527
  }, undefined>;
@@ -541,7 +541,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
541
541
  readonly smartAccountAddress: v.StringSchema<undefined>;
542
542
  readonly flowId: v.StringSchema<undefined>;
543
543
  readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
544
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
544
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
545
545
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
546
546
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
547
547
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -621,7 +621,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
621
621
  }, undefined>, undefined>;
622
622
  readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
623
623
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
624
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
624
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
625
625
  readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
626
626
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
627
627
  }, undefined>, undefined>, readonly []>;
@@ -633,13 +633,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
633
633
  * transfer it sent, `"recipient"` for a transfer another account sent it.
634
634
  * `"unspecified"` outside an account-scoped `listFlows`.
635
635
  */
636
- readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
636
+ readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
637
637
  }, undefined>, v.TransformAction<{
638
638
  ownerAccountId: string;
639
639
  smartAccountAddress: string;
640
640
  flowId: string;
641
641
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
642
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
642
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
643
643
  assetIds?: {
644
644
  zippedAssetId: number;
645
645
  unifiedAssetId: number;
@@ -691,19 +691,19 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
691
691
  } | undefined;
692
692
  progressTimeline: {
693
693
  sequence: number;
694
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
694
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
695
695
  status: "unspecified" | "planned" | "completed" | "current";
696
696
  expectedDurationMs: number;
697
697
  }[];
698
698
  estimatedCompletionUnixMs: number;
699
699
  isDelayed: boolean;
700
- participation: "unspecified" | "owner" | "recipient";
700
+ participation: "owner" | "unspecified" | "recipient";
701
701
  }, Omit<{
702
702
  ownerAccountId: string;
703
703
  smartAccountAddress: string;
704
704
  flowId: string;
705
705
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
706
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
706
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
707
707
  assetIds?: {
708
708
  zippedAssetId: number;
709
709
  unifiedAssetId: number;
@@ -755,13 +755,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
755
755
  } | undefined;
756
756
  progressTimeline: {
757
757
  sequence: number;
758
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
758
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
759
759
  status: "unspecified" | "planned" | "completed" | "current";
760
760
  expectedDurationMs: number;
761
761
  }[];
762
762
  estimatedCompletionUnixMs: number;
763
763
  isDelayed: boolean;
764
- participation: "unspecified" | "owner" | "recipient";
764
+ participation: "owner" | "unspecified" | "recipient";
765
765
  }, "amountE18"> & {
766
766
  amount?: string;
767
767
  }>]>;
@@ -771,7 +771,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
771
771
  readonly smartAccountAddress: v.StringSchema<undefined>;
772
772
  readonly flowId: v.StringSchema<undefined>;
773
773
  readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
774
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
774
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
775
775
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
776
776
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
777
777
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -851,7 +851,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
851
851
  }, undefined>, undefined>;
852
852
  readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
853
853
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
854
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
854
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
855
855
  readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
856
856
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
857
857
  }, undefined>, undefined>, readonly []>;
@@ -863,13 +863,13 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
863
863
  * transfer it sent, `"recipient"` for a transfer another account sent it.
864
864
  * `"unspecified"` outside an account-scoped `listFlows`.
865
865
  */
866
- readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
866
+ readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
867
867
  }, undefined>, v.TransformAction<{
868
868
  ownerAccountId: string;
869
869
  smartAccountAddress: string;
870
870
  flowId: string;
871
871
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
872
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
872
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
873
873
  assetIds?: {
874
874
  zippedAssetId: number;
875
875
  unifiedAssetId: number;
@@ -921,19 +921,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
921
921
  } | undefined;
922
922
  progressTimeline: {
923
923
  sequence: number;
924
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
924
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
925
925
  status: "unspecified" | "planned" | "completed" | "current";
926
926
  expectedDurationMs: number;
927
927
  }[];
928
928
  estimatedCompletionUnixMs: number;
929
929
  isDelayed: boolean;
930
- participation: "unspecified" | "owner" | "recipient";
930
+ participation: "owner" | "unspecified" | "recipient";
931
931
  }, Omit<{
932
932
  ownerAccountId: string;
933
933
  smartAccountAddress: string;
934
934
  flowId: string;
935
935
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
936
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
936
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
937
937
  assetIds?: {
938
938
  zippedAssetId: number;
939
939
  unifiedAssetId: number;
@@ -985,19 +985,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
985
985
  } | undefined;
986
986
  progressTimeline: {
987
987
  sequence: number;
988
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
988
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
989
989
  status: "unspecified" | "planned" | "completed" | "current";
990
990
  expectedDurationMs: number;
991
991
  }[];
992
992
  estimatedCompletionUnixMs: number;
993
993
  isDelayed: boolean;
994
- participation: "unspecified" | "owner" | "recipient";
994
+ participation: "owner" | "unspecified" | "recipient";
995
995
  }, "amountE18"> & {
996
996
  amount?: string;
997
997
  }>]>, undefined>;
998
998
  readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
999
999
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1000
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1000
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1001
1001
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
1002
1002
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1003
1003
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1146,7 +1146,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
1146
1146
  readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
1147
1147
  }, undefined>, v.TransformAction<{
1148
1148
  sequence: number;
1149
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1149
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1150
1150
  assetIds?: {
1151
1151
  zippedAssetId: number;
1152
1152
  unifiedAssetId: number;
@@ -1210,7 +1210,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
1210
1210
  refundAddress: string;
1211
1211
  }, Omit<{
1212
1212
  sequence: number;
1213
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1213
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1214
1214
  assetIds?: {
1215
1215
  zippedAssetId: number;
1216
1216
  unifiedAssetId: number;
@@ -1283,7 +1283,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1283
1283
  readonly smartAccountAddress: v.StringSchema<undefined>;
1284
1284
  readonly flowId: v.StringSchema<undefined>;
1285
1285
  readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
1286
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1286
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1287
1287
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
1288
1288
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1289
1289
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1363,7 +1363,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1363
1363
  }, undefined>, undefined>;
1364
1364
  readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1365
1365
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1366
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1366
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1367
1367
  readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
1368
1368
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
1369
1369
  }, undefined>, undefined>, readonly []>;
@@ -1375,13 +1375,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1375
1375
  * transfer it sent, `"recipient"` for a transfer another account sent it.
1376
1376
  * `"unspecified"` outside an account-scoped `listFlows`.
1377
1377
  */
1378
- readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
1378
+ readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
1379
1379
  }, undefined>, v.TransformAction<{
1380
1380
  ownerAccountId: string;
1381
1381
  smartAccountAddress: string;
1382
1382
  flowId: string;
1383
1383
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
1384
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1384
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1385
1385
  assetIds?: {
1386
1386
  zippedAssetId: number;
1387
1387
  unifiedAssetId: number;
@@ -1433,19 +1433,19 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1433
1433
  } | undefined;
1434
1434
  progressTimeline: {
1435
1435
  sequence: number;
1436
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1436
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1437
1437
  status: "unspecified" | "planned" | "completed" | "current";
1438
1438
  expectedDurationMs: number;
1439
1439
  }[];
1440
1440
  estimatedCompletionUnixMs: number;
1441
1441
  isDelayed: boolean;
1442
- participation: "unspecified" | "owner" | "recipient";
1442
+ participation: "owner" | "unspecified" | "recipient";
1443
1443
  }, Omit<{
1444
1444
  ownerAccountId: string;
1445
1445
  smartAccountAddress: string;
1446
1446
  flowId: string;
1447
1447
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
1448
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1448
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1449
1449
  assetIds?: {
1450
1450
  zippedAssetId: number;
1451
1451
  unifiedAssetId: number;
@@ -1497,13 +1497,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1497
1497
  } | undefined;
1498
1498
  progressTimeline: {
1499
1499
  sequence: number;
1500
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1500
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1501
1501
  status: "unspecified" | "planned" | "completed" | "current";
1502
1502
  expectedDurationMs: number;
1503
1503
  }[];
1504
1504
  estimatedCompletionUnixMs: number;
1505
1505
  isDelayed: boolean;
1506
- participation: "unspecified" | "owner" | "recipient";
1506
+ participation: "owner" | "unspecified" | "recipient";
1507
1507
  }, "amountE18"> & {
1508
1508
  amount?: string;
1509
1509
  }>]>, undefined>, readonly []>;
@@ -1516,7 +1516,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1516
1516
  readonly smartAccountAddress: v.StringSchema<undefined>;
1517
1517
  readonly flowId: v.StringSchema<undefined>;
1518
1518
  readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
1519
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1519
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1520
1520
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
1521
1521
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1522
1522
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1596,7 +1596,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1596
1596
  }, undefined>, undefined>;
1597
1597
  readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1598
1598
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1599
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1599
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1600
1600
  readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
1601
1601
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
1602
1602
  }, undefined>, undefined>, readonly []>;
@@ -1608,13 +1608,13 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1608
1608
  * transfer it sent, `"recipient"` for a transfer another account sent it.
1609
1609
  * `"unspecified"` outside an account-scoped `listFlows`.
1610
1610
  */
1611
- readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
1611
+ readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
1612
1612
  }, undefined>, v.TransformAction<{
1613
1613
  ownerAccountId: string;
1614
1614
  smartAccountAddress: string;
1615
1615
  flowId: string;
1616
1616
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
1617
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1617
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1618
1618
  assetIds?: {
1619
1619
  zippedAssetId: number;
1620
1620
  unifiedAssetId: number;
@@ -1666,19 +1666,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1666
1666
  } | undefined;
1667
1667
  progressTimeline: {
1668
1668
  sequence: number;
1669
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1669
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1670
1670
  status: "unspecified" | "planned" | "completed" | "current";
1671
1671
  expectedDurationMs: number;
1672
1672
  }[];
1673
1673
  estimatedCompletionUnixMs: number;
1674
1674
  isDelayed: boolean;
1675
- participation: "unspecified" | "owner" | "recipient";
1675
+ participation: "owner" | "unspecified" | "recipient";
1676
1676
  }, Omit<{
1677
1677
  ownerAccountId: string;
1678
1678
  smartAccountAddress: string;
1679
1679
  flowId: string;
1680
1680
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
1681
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1681
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1682
1682
  assetIds?: {
1683
1683
  zippedAssetId: number;
1684
1684
  unifiedAssetId: number;
@@ -1730,19 +1730,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1730
1730
  } | undefined;
1731
1731
  progressTimeline: {
1732
1732
  sequence: number;
1733
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1733
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1734
1734
  status: "unspecified" | "planned" | "completed" | "current";
1735
1735
  expectedDurationMs: number;
1736
1736
  }[];
1737
1737
  estimatedCompletionUnixMs: number;
1738
1738
  isDelayed: boolean;
1739
- participation: "unspecified" | "owner" | "recipient";
1739
+ participation: "owner" | "unspecified" | "recipient";
1740
1740
  }, "amountE18"> & {
1741
1741
  amount?: string;
1742
1742
  }>]>, undefined>;
1743
1743
  readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1744
1744
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1745
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1745
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1746
1746
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
1747
1747
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1748
1748
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1891,7 +1891,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1891
1891
  readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
1892
1892
  }, undefined>, v.TransformAction<{
1893
1893
  sequence: number;
1894
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1894
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1895
1895
  assetIds?: {
1896
1896
  zippedAssetId: number;
1897
1897
  unifiedAssetId: number;
@@ -1955,7 +1955,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1955
1955
  refundAddress: string;
1956
1956
  }, Omit<{
1957
1957
  sequence: number;
1958
- step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1958
+ step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1959
1959
  assetIds?: {
1960
1960
  zippedAssetId: number;
1961
1961
  unifiedAssetId: number;
@@ -2033,7 +2033,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
2033
2033
  readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
2034
2034
  readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
2035
2035
  readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
2036
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
2036
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
2037
2037
  readonly isOpen: v.BooleanSchema<undefined>;
2038
2038
  readonly isTerminal: v.BooleanSchema<undefined>;
2039
2039
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
@@ -2067,7 +2067,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
2067
2067
  txOccurrenceIndex?: number | undefined;
2068
2068
  sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2069
2069
  destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2070
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2070
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2071
2071
  isOpen: boolean;
2072
2072
  isTerminal: boolean;
2073
2073
  assetIds?: {
@@ -2095,7 +2095,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
2095
2095
  txOccurrenceIndex?: number | undefined;
2096
2096
  sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2097
2097
  destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2098
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2098
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2099
2099
  isOpen: boolean;
2100
2100
  isTerminal: boolean;
2101
2101
  assetIds?: {
@@ -2128,7 +2128,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
2128
2128
  readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
2129
2129
  readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
2130
2130
  readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
2131
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
2131
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
2132
2132
  readonly isOpen: v.BooleanSchema<undefined>;
2133
2133
  readonly isTerminal: v.BooleanSchema<undefined>;
2134
2134
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
@@ -2162,7 +2162,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
2162
2162
  txOccurrenceIndex?: number | undefined;
2163
2163
  sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2164
2164
  destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2165
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2165
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2166
2166
  isOpen: boolean;
2167
2167
  isTerminal: boolean;
2168
2168
  assetIds?: {
@@ -2190,7 +2190,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
2190
2190
  txOccurrenceIndex?: number | undefined;
2191
2191
  sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2192
2192
  destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2193
- currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2193
+ currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2194
2194
  isOpen: boolean;
2195
2195
  isTerminal: boolean;
2196
2196
  assetIds?: {
@@ -2,8 +2,8 @@ import { parse } from "../../shared/validation.js";
2
2
  import { toConnectCallOptions } from "../../shared/request-options.js";
3
3
  import { deliverBatch } from "../../shared/subscription-errors.js";
4
4
  import { SymbolIdInputSchema } from "../shared.js";
5
- import { connectReadyGatedProtoChannel } from "../../realtime/ready-gated-subscription.js";
6
5
  import { MarketDataService as MarketDataService$1, MarketTradeBatchSchema } from "../../gen/marketdata/v1/marketdata_pb.js";
6
+ import { connectReadyGatedProtoChannel } from "../../realtime/ready-gated-subscription.js";
7
7
  import { isDev } from "../../utils/is-dev.js";
8
8
  import { GetMarketTradesInputSchema, SpotConfigSchema, TradeBackfillSchema, formatMarketTrade } from "./market-data.schemas.js";
9
9
  import { createClient } from "@connectrpc/connect";
@@ -77,7 +77,7 @@ declare const ListMarketOverviewInputSchema: v.SchemaWithPipe<readonly [v.Strict
77
77
  readonly symbolIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, undefined>, readonly []>;
78
78
  readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 4294967295, undefined>]>, 500>;
79
79
  readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
80
- readonly orderBy: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["change_24h_bps", "volume_24h_usd", "last_price", "date_added"], undefined>, "volume_24h_usd">, v.TransformAction<"change_24h_bps" | "volume_24h_usd" | "last_price" | "date_added", MarketOrderBy.ORDER_BY_CHANGE_24H_BPS | MarketOrderBy.ORDER_BY_VOLUME_24H_USD | MarketOrderBy.ORDER_BY_LAST_PRICE | MarketOrderBy.ORDER_BY_DATE_ADDED>]>;
80
+ readonly orderBy: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["change_24h_bps", "volume_24h_usd", "last_price", "date_added"], undefined>, "volume_24h_usd">, v.TransformAction<"last_price" | "change_24h_bps" | "volume_24h_usd" | "date_added", MarketOrderBy.ORDER_BY_CHANGE_24H_BPS | MarketOrderBy.ORDER_BY_VOLUME_24H_USD | MarketOrderBy.ORDER_BY_LAST_PRICE | MarketOrderBy.ORDER_BY_DATE_ADDED>]>;
81
81
  readonly sort: v.SchemaWithPipe<readonly [v.OptionalSchema<v.PicklistSchema<readonly ["asc", "desc"], undefined>, "desc">, v.TransformAction<"asc" | "desc", SortDirection.SORT_ASC | SortDirection.SORT_DESC>]>;
82
82
  readonly includeSparklines: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
83
83
  readonly sparklineIntervals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["1h", "24h", "1w", "1m"], undefined>, undefined>, readonly ["24h"]>, v.TransformAction<("1m" | "1h" | "1w" | "24h")[], (SparklineInterval.SPARKLINE_1H | SparklineInterval.SPARKLINE_24H | SparklineInterval.SPARKLINE_1W | SparklineInterval.SPARKLINE_1M)[]>]>;
@@ -10,7 +10,7 @@ declare const GetOrderbookInputSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
10
10
  depth: number;
11
11
  }, {
12
12
  symbolId: number;
13
- depth: 1 | 5 | 10 | 20 | 100 | 500 | 1000 | 200 | 50;
13
+ depth: 1 | 5 | 10 | 20 | 100 | 200 | 500 | 1000 | 50;
14
14
  protoDepth: Depth;
15
15
  }>]>;
16
16
  type GetOrderbookInput = v.InferInput<typeof GetOrderbookInputSchema>;
@@ -3,7 +3,7 @@ import * as v from "valibot";
3
3
  //#region src/services/orders/order-errors.schemas.d.ts
4
4
  type OrderErrorCode = keyof typeof ErrorCode;
5
5
  declare const OrderErrorDetailSchema: v.ObjectSchema<{
6
- readonly code: v.SchemaWithPipe<readonly [v.EnumSchema<typeof ErrorCode, undefined>, v.TransformAction<ErrorCode, "STALE_QUOTE" | "UNSPECIFIED" | "UNAUTHENTICATED" | "RATE_LIMIT_EXCEEDED" | "INTERNAL_ERROR" | "PERMISSION_DENIED" | "SUBACCOUNT_INACTIVE" | "BAD_REQUEST" | "INVALID_ARGUMENT" | "INSUFFICIENT_FUNDS" | "UNKNOWN_SYMBOL" | "BAD_PRICE" | "BAD_QTY" | "MIN_NOTIONAL" | "QTY_STEP_SIZE" | "CONFLICT_DUPLICATE_CLIENT_ORDER_ID" | "UNAVAILABLE" | "NOT_FOUND" | "UPSTREAM_ERROR" | "FEE_ASSET_NOT_ALLOWED" | "PAIR_DISABLED" | "ORDER_UNKNOWN" | "POLICY_MARKET_DENY" | "POLICY_MAX_NOTIONAL" | "POLICY_TRADING_HALTED" | "POLICY_SPOT_TRADE_DENY" | "API_KEY_ROOT_SCOPE_ONLY" | "API_KEY_SUB_SCOPE_ONLY" | "API_KEY_SUBACCOUNT_MISMATCH" | "API_KEY_POLICY_REQUIRED" | "API_KEY_UNKNOWN" | "API_KEY_MARKET_DENY" | "PRICE_TICK_SIZE" | "MIN_QTY" | "POST_ONLY_LIMIT_ONLY" | "BATCH_TOO_LARGE" | "POLICY_MAX_OPEN_ORDERS" | "MODIFICATION_REQUIRES_REPLACE" | "CONFLICT_IDEMPOTENCY_KEY_REUSE" | "MARKET_PRICE_UNAVAILABLE" | "PAIR_NOT_LISTED_YET" | "PAIR_DELISTED" | "PAIR_CANCEL_ONLY" | "PAIR_POST_ONLY" | "PAIR_REDUCE_ONLY" | "RISK_LIMIT" | "MARKET_HALTED" | "ACCOUNT_UNKNOWN" | "POST_ONLY_CROSS" | "REDUCE_ONLY_BLOCKED" | "PRICE_BAND_VIOLATION" | "MARKET_CAP_VIOLATION" | "EMPTY_BOOK" | "FOK_INSUFFICIENT_LIQUIDITY" | "ORDER_ALREADY_TERMINAL" | "TRIGGER_PRICE_INVALID" | "TRIGGER_PRICE_SOURCE_UNSUPPORTED" | "TRAILING_DISTANCE_INVALID" | "TRIGGER_NOT_FOUND" | "TRIGGER_STATUS_INVALID" | "TRIGGER_NOT_MODIFIABLE" | "CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID" | "MAX_SLIPPAGE_INVALID" | "VALIDATION_ERROR" | "OVERLOADED" | "MAX_QUOTE_DEBIT_TOO_SMALL" | "SUBACCOUNT_READ_FORBIDDEN" | "POLICY_SPOT_READ_DENY" | "API_KEY_SPOT_READ_DENY" | "CANCEL_REQUEST_EXPIRED" | "MAX_QTY" | "MAX_NOTIONAL" | "QTY_AT_OR_BELOW_FILLED" | "GATEWAY_MISCONFIGURED" | "INVALID_ORDER_ID" | "CHILD_QTY_RAISE_NOT_ALLOWED" | "ATTACHED_RISK_NOT_SUPPORTED" | "SETTLEMENT_BACKLOGGED" | "PRICE_LEVEL_QUANTITY_LIMIT" | "MARKET_QUOTE_STALE" | "MARKET_QUOTE_UNHEALTHY" | "INVALID_TIME_IN_FORCE" | "QUICKSWAP_NOT_PERMITTED" | "DUPLICATE_ORDER_ID" | "MAX_OPEN_ORDERS_TOTAL" | "STP_MODE_NOT_ALLOWED" | "PAIR_BACKLOGGED" | "PRICE_LEVELS_EXHAUSTED" | "CLIENT_ORDER_IDS_EXHAUSTED" | "ORDER_ID_CONFLICT" | "INVALID_SIDE" | "INVALID_ORDER_TYPE" | "INVALID_STP_MODE" | "INVALID_ORDER_FLAGS" | "BATCH_OTHER_ITEM_INVALID" | "REPLACE_ONTO_OWN_ID" | "INVALID_CLIENT_ORDER_ID" | "ORDER_SEQUENCE_EXHAUSTED" | "INVALID_HANDLING_MODE" | "FEE_SCHEDULE_UNAVAILABLE" | "POLICY_UNAVAILABLE" | "CANCEL_ALL_AFTER_TIMEOUT_INVALID" | "CANCEL_SCOPE_TOO_LARGE" | "RATE_LIMIT_POLICY_UNAVAILABLE" | "SYSTEM_RATE_LIMITED" | "ORDER_MODIFY_IN_PROGRESS" | "ORDER_PLACEMENT_PENDING" | "INVALID_MODIFY_BEHAVIOR" | "BATCH_REPLACE_ONLY_REQUIRED" | "BATCH_SINGLE_SYMBOL_REQUIRED" | "REQUEST_RECEIPTS_EXHAUSTED" | "INTENT_ID_INVALID" | "DRY_RUN_INVALID" | "CANCEL_ALL_AFTER_SCOPE_CONFLICT" | "NEW_ACCOUNT_CAPACITY_REACHED" | "TRIGGER_CHILD_PRICE_NOT_MODIFIABLE" | "TRIGGER_GENERATIONS_EXHAUSTED" | "TRIGGER_CONTROL_SHARE_EXHAUSTED" | "TRIGGER_CONTROLS_BUSY" | "TRIGGER_TYPE_NOT_SUPPORTED" | "INVALID_TRIGGER_TYPE" | "TRIGGER_DIRECTION_INVALID" | "TRIGGER_QTY_INVALID" | "TRIGGER_BUY_REQUIRES_LIMIT" | "ACCOUNT_ROUTING_INVALID" | "TRIGGER_LIMIT_EXCEEDED" | "TRIGGER_CONTROL_IN_PROGRESS" | "TRIGGER_PATCH_EMPTY" | "CLIENT_TRIGGER_ID_INVALID" | "TRIGGER_ACTIVATION_PRICE_INVALID" | "SLIPPAGE_TICKS_INVALID" | "SLIPPAGE_BPS_INVALID" | "TRIGGER_CONTROL_OUTCOME_UNKNOWN" | "TRIGGER_CAPACITY_REACHED" | "RESERVATION_CAPACITY_REACHED" | "CLIENT_ORDER_ID_CAPACITY_REACHED" | "ACCOUNT_RESERVATION_LIMIT_REACHED" | "INVALID_TRIGGER_CONTROL" | "TRIGGER_PATCH_NOT_ALLOWED" | "TRIGGER_PATCH_FIELD_UNKNOWN" | "TRIGGER_PATCH_VALUE_UNMASKED" | "TRIGGER_PATCH_PRICE_MODE_INVALID" | "ACCOUNT_ORDERS_SUSPENDED" | "TRAILING_SIDE_NOT_SUPPORTED" | "TRAILING_CHILD_NOT_MARKET" | "TWAP_DURATION_INVALID" | "LIMIT_CHILD_SLIPPAGE_SET" | "SLIPPAGE_BOUNDS_CONFLICT" | "TWAP_INTERVAL_INVALID" | "LADDER_LEVEL_REJECTED" | "LADDER_RANGE_TOO_NARROW" | "LADDER_LEVELS_INVALID" | "ORDER_LIMITS_UNAVAILABLE" | "ORDER_TYPE_NOT_ALLOWED_IN_AUCTION" | "POST_ONLY_NOT_ALLOWED_IN_AUCTION" | "QUICKSWAP_FEE_DETAILS_INCOMPLETE" | "QUICKSWAP_MARKET_NOT_PRICED" | "QUICKSWAP_BROKER_FEE_TERMS_MISMATCH" | "QUICKSWAP_FEE_RECIPIENT_IS_PAYER" | "QUICKSWAP_BROKER_FEE_TERMS_UNAVAILABLE" | "QUICKSWAP_BROKER_ACCOUNT_UNAVAILABLE" | "QUICKSWAP_ACCOUNT_OWNER_UNKNOWN" | "QUICKSWAP_DISABLED" | "QUICKSWAP_ATTACHED_RISK_NOT_ALLOWED" | "QUICKSWAP_ORDER_NOT_MODIFIABLE" | "QUICKSWAP_FEE_TOTAL_TOO_HIGH" | "QUICKSWAP_BROKER_FEE_TERMS_INVALID" | "QUICKSWAP_BROKER_INVALID" | "QUICKSWAP_FEE_SCHEDULE_INVALID" | "QUICKSWAP_MARKET_FEE_INVALID" | "QUICKSWAP_SETUP_INVALID" | "QUICKSWAP_CAPACITY_REACHED" | "ATTACHED_EXIT_WORKING" | "MARKET_TRIGGER_LIMIT_EXCEEDED" | "MARKET_TWAP_LIMIT_EXCEEDED" | "MARKET_LADDER_LIMIT_EXCEEDED" | "CHILD_QTY_EXCEEDS_REMAINING" | "ORDER_CANCEL_OUTCOME_UNKNOWN" | "ORDER_MODIFY_OUTCOME_UNKNOWN" | "ORDER_REPAIRING" | "ACCOUNT_REPAIRING" | "TRIGGER_WOULD_TRIGGER_IMMEDIATELY" | "ORDER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_SYMBOL_MISMATCH" | "MAX_OPEN_ORDERS_PER_PAIR" | "SELF_TRADE_PREVENTED" | "ATTACHED_LEGS_EXCEEDED" | "FEE_ASSET_INVALID" | "FEE_CEILING_INVALID" | "UNSUPPORTED_FIELD_SET" | "TRIGGER_FIRE_LIMIT_REACHED" | "CONDITION_FLAGS_INVALID" | "CONDITION_PARAMETER_SET" | "TWAP_CAPACITY_REACHED" | "CHILD_ORDER_INCONSISTENT" | "PATH_BODY_ID_MISMATCH" | "REQUEST_DEADLINE_EXCEEDED">]>;
6
+ readonly code: v.SchemaWithPipe<readonly [v.EnumSchema<typeof ErrorCode, undefined>, v.TransformAction<ErrorCode, "STALE_QUOTE" | "UNSPECIFIED" | "BAD_REQUEST" | "INVALID_ARGUMENT" | "INSUFFICIENT_FUNDS" | "UNKNOWN_SYMBOL" | "BAD_PRICE" | "BAD_QTY" | "MIN_NOTIONAL" | "QTY_STEP_SIZE" | "CONFLICT_DUPLICATE_CLIENT_ORDER_ID" | "UNAVAILABLE" | "UNAUTHENTICATED" | "PERMISSION_DENIED" | "NOT_FOUND" | "UPSTREAM_ERROR" | "FEE_ASSET_NOT_ALLOWED" | "PAIR_DISABLED" | "ORDER_UNKNOWN" | "INTERNAL_ERROR" | "SUBACCOUNT_INACTIVE" | "POLICY_MARKET_DENY" | "POLICY_MAX_NOTIONAL" | "POLICY_TRADING_HALTED" | "POLICY_SPOT_TRADE_DENY" | "API_KEY_ROOT_SCOPE_ONLY" | "API_KEY_SUB_SCOPE_ONLY" | "API_KEY_SUBACCOUNT_MISMATCH" | "API_KEY_POLICY_REQUIRED" | "API_KEY_UNKNOWN" | "API_KEY_MARKET_DENY" | "PRICE_TICK_SIZE" | "MIN_QTY" | "POST_ONLY_LIMIT_ONLY" | "BATCH_TOO_LARGE" | "POLICY_MAX_OPEN_ORDERS" | "MODIFICATION_REQUIRES_REPLACE" | "CONFLICT_IDEMPOTENCY_KEY_REUSE" | "MARKET_PRICE_UNAVAILABLE" | "PAIR_NOT_LISTED_YET" | "PAIR_DELISTED" | "PAIR_CANCEL_ONLY" | "PAIR_POST_ONLY" | "PAIR_REDUCE_ONLY" | "RISK_LIMIT" | "MARKET_HALTED" | "ACCOUNT_UNKNOWN" | "POST_ONLY_CROSS" | "REDUCE_ONLY_BLOCKED" | "PRICE_BAND_VIOLATION" | "MARKET_CAP_VIOLATION" | "EMPTY_BOOK" | "FOK_INSUFFICIENT_LIQUIDITY" | "ORDER_ALREADY_TERMINAL" | "TRIGGER_PRICE_INVALID" | "TRIGGER_PRICE_SOURCE_UNSUPPORTED" | "TRAILING_DISTANCE_INVALID" | "TRIGGER_NOT_FOUND" | "TRIGGER_STATUS_INVALID" | "TRIGGER_NOT_MODIFIABLE" | "CONFLICT_DUPLICATE_CLIENT_TRIGGER_ID" | "MAX_SLIPPAGE_INVALID" | "VALIDATION_ERROR" | "OVERLOADED" | "MAX_QUOTE_DEBIT_TOO_SMALL" | "RATE_LIMIT_EXCEEDED" | "SUBACCOUNT_READ_FORBIDDEN" | "POLICY_SPOT_READ_DENY" | "API_KEY_SPOT_READ_DENY" | "CANCEL_REQUEST_EXPIRED" | "MAX_QTY" | "MAX_NOTIONAL" | "QTY_AT_OR_BELOW_FILLED" | "GATEWAY_MISCONFIGURED" | "INVALID_ORDER_ID" | "CHILD_QTY_RAISE_NOT_ALLOWED" | "ATTACHED_RISK_NOT_SUPPORTED" | "SETTLEMENT_BACKLOGGED" | "PRICE_LEVEL_QUANTITY_LIMIT" | "MARKET_QUOTE_STALE" | "MARKET_QUOTE_UNHEALTHY" | "INVALID_TIME_IN_FORCE" | "QUICKSWAP_NOT_PERMITTED" | "DUPLICATE_ORDER_ID" | "MAX_OPEN_ORDERS_TOTAL" | "STP_MODE_NOT_ALLOWED" | "PAIR_BACKLOGGED" | "PRICE_LEVELS_EXHAUSTED" | "CLIENT_ORDER_IDS_EXHAUSTED" | "ORDER_ID_CONFLICT" | "INVALID_SIDE" | "INVALID_ORDER_TYPE" | "INVALID_STP_MODE" | "INVALID_ORDER_FLAGS" | "BATCH_OTHER_ITEM_INVALID" | "REPLACE_ONTO_OWN_ID" | "INVALID_CLIENT_ORDER_ID" | "ORDER_SEQUENCE_EXHAUSTED" | "INVALID_HANDLING_MODE" | "FEE_SCHEDULE_UNAVAILABLE" | "POLICY_UNAVAILABLE" | "CANCEL_ALL_AFTER_TIMEOUT_INVALID" | "CANCEL_SCOPE_TOO_LARGE" | "RATE_LIMIT_POLICY_UNAVAILABLE" | "SYSTEM_RATE_LIMITED" | "ORDER_MODIFY_IN_PROGRESS" | "ORDER_PLACEMENT_PENDING" | "INVALID_MODIFY_BEHAVIOR" | "BATCH_REPLACE_ONLY_REQUIRED" | "BATCH_SINGLE_SYMBOL_REQUIRED" | "REQUEST_RECEIPTS_EXHAUSTED" | "INTENT_ID_INVALID" | "DRY_RUN_INVALID" | "CANCEL_ALL_AFTER_SCOPE_CONFLICT" | "NEW_ACCOUNT_CAPACITY_REACHED" | "TRIGGER_CHILD_PRICE_NOT_MODIFIABLE" | "TRIGGER_GENERATIONS_EXHAUSTED" | "TRIGGER_CONTROL_SHARE_EXHAUSTED" | "TRIGGER_CONTROLS_BUSY" | "TRIGGER_TYPE_NOT_SUPPORTED" | "INVALID_TRIGGER_TYPE" | "TRIGGER_DIRECTION_INVALID" | "TRIGGER_QTY_INVALID" | "TRIGGER_BUY_REQUIRES_LIMIT" | "ACCOUNT_ROUTING_INVALID" | "TRIGGER_LIMIT_EXCEEDED" | "TRIGGER_CONTROL_IN_PROGRESS" | "TRIGGER_PATCH_EMPTY" | "CLIENT_TRIGGER_ID_INVALID" | "TRIGGER_ACTIVATION_PRICE_INVALID" | "SLIPPAGE_TICKS_INVALID" | "SLIPPAGE_BPS_INVALID" | "TRIGGER_CONTROL_OUTCOME_UNKNOWN" | "TRIGGER_CAPACITY_REACHED" | "RESERVATION_CAPACITY_REACHED" | "CLIENT_ORDER_ID_CAPACITY_REACHED" | "ACCOUNT_RESERVATION_LIMIT_REACHED" | "INVALID_TRIGGER_CONTROL" | "TRIGGER_PATCH_NOT_ALLOWED" | "TRIGGER_PATCH_FIELD_UNKNOWN" | "TRIGGER_PATCH_VALUE_UNMASKED" | "TRIGGER_PATCH_PRICE_MODE_INVALID" | "ACCOUNT_ORDERS_SUSPENDED" | "TRAILING_SIDE_NOT_SUPPORTED" | "TRAILING_CHILD_NOT_MARKET" | "TWAP_DURATION_INVALID" | "LIMIT_CHILD_SLIPPAGE_SET" | "SLIPPAGE_BOUNDS_CONFLICT" | "TWAP_INTERVAL_INVALID" | "LADDER_LEVEL_REJECTED" | "LADDER_RANGE_TOO_NARROW" | "LADDER_LEVELS_INVALID" | "ORDER_LIMITS_UNAVAILABLE" | "ORDER_TYPE_NOT_ALLOWED_IN_AUCTION" | "POST_ONLY_NOT_ALLOWED_IN_AUCTION" | "QUICKSWAP_FEE_DETAILS_INCOMPLETE" | "QUICKSWAP_MARKET_NOT_PRICED" | "QUICKSWAP_BROKER_FEE_TERMS_MISMATCH" | "QUICKSWAP_FEE_RECIPIENT_IS_PAYER" | "QUICKSWAP_BROKER_FEE_TERMS_UNAVAILABLE" | "QUICKSWAP_BROKER_ACCOUNT_UNAVAILABLE" | "QUICKSWAP_ACCOUNT_OWNER_UNKNOWN" | "QUICKSWAP_DISABLED" | "QUICKSWAP_ATTACHED_RISK_NOT_ALLOWED" | "QUICKSWAP_ORDER_NOT_MODIFIABLE" | "QUICKSWAP_FEE_TOTAL_TOO_HIGH" | "QUICKSWAP_BROKER_FEE_TERMS_INVALID" | "QUICKSWAP_BROKER_INVALID" | "QUICKSWAP_FEE_SCHEDULE_INVALID" | "QUICKSWAP_MARKET_FEE_INVALID" | "QUICKSWAP_SETUP_INVALID" | "QUICKSWAP_CAPACITY_REACHED" | "ATTACHED_EXIT_WORKING" | "MARKET_TRIGGER_LIMIT_EXCEEDED" | "MARKET_TWAP_LIMIT_EXCEEDED" | "MARKET_LADDER_LIMIT_EXCEEDED" | "CHILD_QTY_EXCEEDS_REMAINING" | "ORDER_CANCEL_OUTCOME_UNKNOWN" | "ORDER_MODIFY_OUTCOME_UNKNOWN" | "ORDER_REPAIRING" | "ACCOUNT_REPAIRING" | "TRIGGER_WOULD_TRIGGER_IMMEDIATELY" | "ORDER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_CREATE_OUTCOME_UNKNOWN" | "TRIGGER_SYMBOL_MISMATCH" | "MAX_OPEN_ORDERS_PER_PAIR" | "SELF_TRADE_PREVENTED" | "ATTACHED_LEGS_EXCEEDED" | "FEE_ASSET_INVALID" | "FEE_CEILING_INVALID" | "UNSUPPORTED_FIELD_SET" | "TRIGGER_FIRE_LIMIT_REACHED" | "CONDITION_FLAGS_INVALID" | "CONDITION_PARAMETER_SET" | "TWAP_CAPACITY_REACHED" | "CHILD_ORDER_INCONSISTENT" | "PATH_BODY_ID_MISMATCH" | "REQUEST_DEADLINE_EXCEEDED">]>;
7
7
  readonly violations: v.ArraySchema<v.ObjectSchema<{
8
8
  readonly fieldPath: v.StringSchema<undefined>;
9
9
  readonly ruleId: v.StringSchema<undefined>;