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

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 (28) hide show
  1. package/CHANGELOG.md +3 -1
  2. package/dist/services/account-activity/account-activity.schemas.d.ts +4 -4
  3. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  4. package/dist/services/api-keys/api-keys.schemas.d.ts +6 -6
  5. package/dist/services/assistant/assistant-events.schemas.d.ts +26 -26
  6. package/dist/services/assistant/assistant.schemas.d.ts +1 -1
  7. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
  8. package/dist/services/candles/candles.schemas.d.ts +10 -10
  9. package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
  10. package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +8 -8
  11. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  12. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +5 -5
  13. package/dist/services/lifecycle/lifecycle.schemas.d.ts +65 -65
  14. package/dist/services/orderbook/orderbook.d.ts.map +1 -1
  15. package/dist/services/orderbook/orderbook.js +5 -19
  16. package/dist/services/orderbook/orderbook.js.map +1 -1
  17. package/dist/services/orders/order-errors.schemas.d.ts +6 -6
  18. package/dist/services/orders/orders-batch.schemas.d.ts +72 -72
  19. package/dist/services/orders/orders-input.schemas.d.ts +10 -10
  20. package/dist/services/orders/orders-output.schemas.d.ts +14 -14
  21. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  22. package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
  23. package/dist/services/subaccounts/subaccounts.schemas.d.ts +17 -17
  24. package/dist/services/system/system.schemas.d.ts +6 -6
  25. package/dist/services/trades/trades.schemas.d.ts +1 -1
  26. package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
  27. package/dist/services/triggers/triggers-output.schemas.d.ts +41 -41
  28. package/package.json +1 -1
@@ -277,7 +277,7 @@ declare const LifecycleFlowStepActivitySchema: v.SchemaWithPipe<readonly [v.Obje
277
277
  }>]>;
278
278
  declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
279
279
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
280
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
280
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
281
281
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
282
282
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
283
283
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -426,7 +426,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
426
426
  readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
427
427
  }, undefined>, v.TransformAction<{
428
428
  sequence: number;
429
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
429
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
430
430
  assetIds?: {
431
431
  zippedAssetId: number;
432
432
  unifiedAssetId: number;
@@ -490,7 +490,7 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
490
490
  refundAddress: string;
491
491
  }, Omit<{
492
492
  sequence: number;
493
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
493
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
494
494
  assetIds?: {
495
495
  zippedAssetId: number;
496
496
  unifiedAssetId: number;
@@ -557,8 +557,8 @@ declare const LifecycleFlowStepSchema: v.SchemaWithPipe<readonly [v.ObjectSchema
557
557
  }>]>;
558
558
  declare const LifecycleFlowTimelineItemSchema: v.ObjectSchema<{
559
559
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
560
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
561
- readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
560
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
561
+ readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
562
562
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
563
563
  }, undefined>;
564
564
  declare const LifecycleFlowSummaryProgressSchema: v.ObjectSchema<{
@@ -576,7 +576,7 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
576
576
  readonly smartAccountAddress: v.StringSchema<undefined>;
577
577
  readonly flowId: v.StringSchema<undefined>;
578
578
  readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
579
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
579
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
580
580
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
581
581
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
582
582
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -656,8 +656,8 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
656
656
  }, undefined>, undefined>;
657
657
  readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
658
658
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
659
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
660
- readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
659
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
660
+ readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
661
661
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
662
662
  }, undefined>, undefined>, readonly []>;
663
663
  readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -669,12 +669,12 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
669
669
  * `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
670
670
  * `accountSelector`.
671
671
  */
672
- readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
672
+ readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
673
673
  }, undefined>, v.TransformAction<{
674
674
  smartAccountAddress: string;
675
675
  flowId: string;
676
676
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
677
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
677
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
678
678
  assetIds?: {
679
679
  zippedAssetId: number;
680
680
  unifiedAssetId: number;
@@ -726,18 +726,18 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
726
726
  } | undefined;
727
727
  progressTimeline: {
728
728
  sequence: number;
729
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
730
- status: "unspecified" | "completed" | "planned" | "current";
729
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
730
+ status: "unspecified" | "planned" | "completed" | "current";
731
731
  expectedDurationMs: number;
732
732
  }[];
733
733
  estimatedCompletionUnixMs: number;
734
734
  isDelayed: boolean;
735
- participation: "owner" | "unspecified" | "recipient";
735
+ participation: "unspecified" | "owner" | "recipient";
736
736
  }, Omit<{
737
737
  smartAccountAddress: string;
738
738
  flowId: string;
739
739
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
740
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
740
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
741
741
  assetIds?: {
742
742
  zippedAssetId: number;
743
743
  unifiedAssetId: number;
@@ -789,13 +789,13 @@ declare const LifecycleFlowSummarySchema: v.SchemaWithPipe<readonly [v.ObjectSch
789
789
  } | undefined;
790
790
  progressTimeline: {
791
791
  sequence: number;
792
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
793
- status: "unspecified" | "completed" | "planned" | "current";
792
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
793
+ status: "unspecified" | "planned" | "completed" | "current";
794
794
  expectedDurationMs: number;
795
795
  }[];
796
796
  estimatedCompletionUnixMs: number;
797
797
  isDelayed: boolean;
798
- participation: "owner" | "unspecified" | "recipient";
798
+ participation: "unspecified" | "owner" | "recipient";
799
799
  }, "amountE18"> & {
800
800
  amount?: string;
801
801
  }>]>;
@@ -804,7 +804,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
804
804
  readonly smartAccountAddress: v.StringSchema<undefined>;
805
805
  readonly flowId: v.StringSchema<undefined>;
806
806
  readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
807
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
807
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
808
808
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
809
809
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
810
810
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -884,8 +884,8 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
884
884
  }, undefined>, undefined>;
885
885
  readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
886
886
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
887
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
888
- readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
887
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
888
+ readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
889
889
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
890
890
  }, undefined>, undefined>, readonly []>;
891
891
  readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -897,12 +897,12 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
897
897
  * `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
898
898
  * `accountSelector`.
899
899
  */
900
- readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
900
+ readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
901
901
  }, undefined>, v.TransformAction<{
902
902
  smartAccountAddress: string;
903
903
  flowId: string;
904
904
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
905
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
905
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
906
906
  assetIds?: {
907
907
  zippedAssetId: number;
908
908
  unifiedAssetId: number;
@@ -954,18 +954,18 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
954
954
  } | undefined;
955
955
  progressTimeline: {
956
956
  sequence: number;
957
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
958
- status: "unspecified" | "completed" | "planned" | "current";
957
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
958
+ status: "unspecified" | "planned" | "completed" | "current";
959
959
  expectedDurationMs: number;
960
960
  }[];
961
961
  estimatedCompletionUnixMs: number;
962
962
  isDelayed: boolean;
963
- participation: "owner" | "unspecified" | "recipient";
963
+ participation: "unspecified" | "owner" | "recipient";
964
964
  }, Omit<{
965
965
  smartAccountAddress: string;
966
966
  flowId: string;
967
967
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
968
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
968
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
969
969
  assetIds?: {
970
970
  zippedAssetId: number;
971
971
  unifiedAssetId: number;
@@ -1017,19 +1017,19 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
1017
1017
  } | undefined;
1018
1018
  progressTimeline: {
1019
1019
  sequence: number;
1020
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1021
- status: "unspecified" | "completed" | "planned" | "current";
1020
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1021
+ status: "unspecified" | "planned" | "completed" | "current";
1022
1022
  expectedDurationMs: number;
1023
1023
  }[];
1024
1024
  estimatedCompletionUnixMs: number;
1025
1025
  isDelayed: boolean;
1026
- participation: "owner" | "unspecified" | "recipient";
1026
+ participation: "unspecified" | "owner" | "recipient";
1027
1027
  }, "amountE18"> & {
1028
1028
  amount?: string;
1029
1029
  }>]>, undefined>;
1030
1030
  readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1031
1031
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1032
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1032
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1033
1033
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
1034
1034
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1035
1035
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1178,7 +1178,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
1178
1178
  readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
1179
1179
  }, undefined>, v.TransformAction<{
1180
1180
  sequence: number;
1181
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1181
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1182
1182
  assetIds?: {
1183
1183
  zippedAssetId: number;
1184
1184
  unifiedAssetId: number;
@@ -1242,7 +1242,7 @@ declare const LifecycleFlowDetailSchema: v.ObjectSchema<{
1242
1242
  refundAddress: string;
1243
1243
  }, Omit<{
1244
1244
  sequence: number;
1245
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1245
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1246
1246
  assetIds?: {
1247
1247
  zippedAssetId: number;
1248
1248
  unifiedAssetId: number;
@@ -1314,7 +1314,7 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1314
1314
  readonly smartAccountAddress: v.StringSchema<undefined>;
1315
1315
  readonly flowId: v.StringSchema<undefined>;
1316
1316
  readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
1317
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1317
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1318
1318
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
1319
1319
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1320
1320
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1394,8 +1394,8 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1394
1394
  }, undefined>, undefined>;
1395
1395
  readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1396
1396
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1397
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1398
- readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
1397
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1398
+ readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
1399
1399
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
1400
1400
  }, undefined>, undefined>, readonly []>;
1401
1401
  readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -1407,12 +1407,12 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1407
1407
  * `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
1408
1408
  * `accountSelector`.
1409
1409
  */
1410
- readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
1410
+ readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
1411
1411
  }, undefined>, v.TransformAction<{
1412
1412
  smartAccountAddress: string;
1413
1413
  flowId: string;
1414
1414
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
1415
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1415
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1416
1416
  assetIds?: {
1417
1417
  zippedAssetId: number;
1418
1418
  unifiedAssetId: number;
@@ -1464,18 +1464,18 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1464
1464
  } | undefined;
1465
1465
  progressTimeline: {
1466
1466
  sequence: number;
1467
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1468
- status: "unspecified" | "completed" | "planned" | "current";
1467
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1468
+ status: "unspecified" | "planned" | "completed" | "current";
1469
1469
  expectedDurationMs: number;
1470
1470
  }[];
1471
1471
  estimatedCompletionUnixMs: number;
1472
1472
  isDelayed: boolean;
1473
- participation: "owner" | "unspecified" | "recipient";
1473
+ participation: "unspecified" | "owner" | "recipient";
1474
1474
  }, Omit<{
1475
1475
  smartAccountAddress: string;
1476
1476
  flowId: string;
1477
1477
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
1478
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1478
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1479
1479
  assetIds?: {
1480
1480
  zippedAssetId: number;
1481
1481
  unifiedAssetId: number;
@@ -1527,13 +1527,13 @@ declare const ListLifecycleFlowsOutputSchema: v.ObjectSchema<{
1527
1527
  } | undefined;
1528
1528
  progressTimeline: {
1529
1529
  sequence: number;
1530
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1531
- status: "unspecified" | "completed" | "planned" | "current";
1530
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1531
+ status: "unspecified" | "planned" | "completed" | "current";
1532
1532
  expectedDurationMs: number;
1533
1533
  }[];
1534
1534
  estimatedCompletionUnixMs: number;
1535
1535
  isDelayed: boolean;
1536
- participation: "owner" | "unspecified" | "recipient";
1536
+ participation: "unspecified" | "owner" | "recipient";
1537
1537
  }, "amountE18"> & {
1538
1538
  amount?: string;
1539
1539
  }>]>, undefined>, readonly []>;
@@ -1545,7 +1545,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1545
1545
  readonly smartAccountAddress: v.StringSchema<undefined>;
1546
1546
  readonly flowId: v.StringSchema<undefined>;
1547
1547
  readonly flowKind: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "deposit" | "withdraw" | "transfer">]>;
1548
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1548
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1549
1549
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
1550
1550
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1551
1551
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1625,8 +1625,8 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1625
1625
  }, undefined>, undefined>;
1626
1626
  readonly progressTimeline: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1627
1627
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1628
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1629
- readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "completed" | "planned" | "current">]>;
1628
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1629
+ readonly status: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "planned" | "completed" | "current">]>;
1630
1630
  readonly expectedDurationMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
1631
1631
  }, undefined>, undefined>, readonly []>;
1632
1632
  readonly estimatedCompletionUnixMs: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
@@ -1638,12 +1638,12 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1638
1638
  * `"unspecified"` outside `listAccountFlows`, `getAccountFlow` and `listFlows` with an
1639
1639
  * `accountSelector`.
1640
1640
  */
1641
- readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "owner" | "unspecified" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
1641
+ readonly participation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "owner" | "recipient">]>, FlowParticipation.PARTICIPATION_UNSPECIFIED>;
1642
1642
  }, undefined>, v.TransformAction<{
1643
1643
  smartAccountAddress: string;
1644
1644
  flowId: string;
1645
1645
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
1646
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1646
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1647
1647
  assetIds?: {
1648
1648
  zippedAssetId: number;
1649
1649
  unifiedAssetId: number;
@@ -1695,18 +1695,18 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1695
1695
  } | undefined;
1696
1696
  progressTimeline: {
1697
1697
  sequence: number;
1698
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1699
- status: "unspecified" | "completed" | "planned" | "current";
1698
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1699
+ status: "unspecified" | "planned" | "completed" | "current";
1700
1700
  expectedDurationMs: number;
1701
1701
  }[];
1702
1702
  estimatedCompletionUnixMs: number;
1703
1703
  isDelayed: boolean;
1704
- participation: "owner" | "unspecified" | "recipient";
1704
+ participation: "unspecified" | "owner" | "recipient";
1705
1705
  }, Omit<{
1706
1706
  smartAccountAddress: string;
1707
1707
  flowId: string;
1708
1708
  flowKind: "unspecified" | "deposit" | "withdraw" | "transfer";
1709
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1709
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1710
1710
  assetIds?: {
1711
1711
  zippedAssetId: number;
1712
1712
  unifiedAssetId: number;
@@ -1758,19 +1758,19 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1758
1758
  } | undefined;
1759
1759
  progressTimeline: {
1760
1760
  sequence: number;
1761
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1762
- status: "unspecified" | "completed" | "planned" | "current";
1761
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1762
+ status: "unspecified" | "planned" | "completed" | "current";
1763
1763
  expectedDurationMs: number;
1764
1764
  }[];
1765
1765
  estimatedCompletionUnixMs: number;
1766
1766
  isDelayed: boolean;
1767
- participation: "owner" | "unspecified" | "recipient";
1767
+ participation: "unspecified" | "owner" | "recipient";
1768
1768
  }, "amountE18"> & {
1769
1769
  amount?: string;
1770
1770
  }>]>, undefined>;
1771
1771
  readonly observedSteps: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1772
1772
  readonly sequence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1773
- readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1773
+ readonly step: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
1774
1774
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
1775
1775
  readonly zippedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
1776
1776
  readonly unifiedAssetId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
@@ -1919,7 +1919,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1919
1919
  readonly refundAddress: v.OptionalSchema<v.StringSchema<undefined>, "">;
1920
1920
  }, undefined>, v.TransformAction<{
1921
1921
  sequence: number;
1922
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1922
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1923
1923
  assetIds?: {
1924
1924
  zippedAssetId: number;
1925
1925
  unifiedAssetId: number;
@@ -1983,7 +1983,7 @@ declare const GetLifecycleFlowOutputSchema: v.ObjectSchema<{
1983
1983
  refundAddress: string;
1984
1984
  }, Omit<{
1985
1985
  sequence: number;
1986
- step: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1986
+ step: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
1987
1987
  assetIds?: {
1988
1988
  zippedAssetId: number;
1989
1989
  unifiedAssetId: number;
@@ -2060,7 +2060,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
2060
2060
  readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
2061
2061
  readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
2062
2062
  readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
2063
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
2063
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
2064
2064
  readonly isOpen: v.BooleanSchema<undefined>;
2065
2065
  readonly isTerminal: v.BooleanSchema<undefined>;
2066
2066
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
@@ -2093,7 +2093,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
2093
2093
  txOccurrenceIndex?: number | undefined;
2094
2094
  sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2095
2095
  destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2096
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2096
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2097
2097
  isOpen: boolean;
2098
2098
  isTerminal: boolean;
2099
2099
  assetIds?: {
@@ -2120,7 +2120,7 @@ declare const LifecycleFlowTxMatchSchema: v.SchemaWithPipe<readonly [v.ObjectSch
2120
2120
  txOccurrenceIndex?: number | undefined;
2121
2121
  sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2122
2122
  destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2123
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2123
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2124
2124
  isOpen: boolean;
2125
2125
  isTerminal: boolean;
2126
2126
  assetIds?: {
@@ -2152,7 +2152,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
2152
2152
  readonly txOccurrenceIndex: v.SchemaWithPipe<readonly [v.OptionalSchema<v.BigintSchema<undefined>, undefined>, v.TransformAction<bigint | undefined, number>]>;
2153
2153
  readonly sourceDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
2154
2154
  readonly destinationDomain: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending">]>;
2155
- readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
2155
+ readonly currentStep: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.TransformAction<number, "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement">]>;
2156
2156
  readonly isOpen: v.BooleanSchema<undefined>;
2157
2157
  readonly isTerminal: v.BooleanSchema<undefined>;
2158
2158
  readonly assetIds: v.OptionalSchema<v.ObjectSchema<{
@@ -2185,7 +2185,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
2185
2185
  txOccurrenceIndex?: number | undefined;
2186
2186
  sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2187
2187
  destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2188
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2188
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2189
2189
  isOpen: boolean;
2190
2190
  isTerminal: boolean;
2191
2191
  assetIds?: {
@@ -2212,7 +2212,7 @@ declare const ListLifecycleFlowsByTxOutputSchema: v.ObjectSchema<{
2212
2212
  txOccurrenceIndex?: number | undefined;
2213
2213
  sourceDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2214
2214
  destinationDomain: "unspecified" | "trading" | "funding" | "external_chain" | "zipper" | "lending";
2215
- currentStep: "validation" | "unspecified" | "failed" | "execution" | "source" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2215
+ currentStep: "validation" | "unspecified" | "failed" | "source" | "execution" | "transfer" | "dropped" | "refunded" | "request" | "bridge_fulfillment" | "fulfilling" | "settlement";
2216
2216
  isOpen: boolean;
2217
2217
  isTerminal: boolean;
2218
2218
  assetIds?: {
@@ -1 +1 @@
1
- {"version":3,"file":"orderbook.d.ts","names":[],"sources":["../../../src/services/orderbook/orderbook.ts"],"mappings":";;;;;;;;UA8BU,gCAAgC,mBAAmB;EACzD;EACA;EACA;;UAGa,gCAAgC,mBAAmB;UAEnD;EACb;EACA,YAAY;;UAGC,yCAET,yBACA,KAAK;;;;cAOA;;EAKG,YAAA,YAAY,qBAAqB,UAAU,mBAAmB,QAAQ;;;;;EAU5E,IACF,OAAO,EAAE,kBAAkB,0BAC3B,UAAU,0BACX,QAAQ;;;;EAwBX,UAAU,OAAO;;;;;;;;;;EAajB,mBAAmB,OAAO,mCAAmC"}
1
+ {"version":3,"file":"orderbook.d.ts","names":[],"sources":["../../../src/services/orderbook/orderbook.ts"],"mappings":";;;;;;;;UA4BU,gCAAgC,mBAAmB;EACzD;EACA;EACA;;UAGa,gCAAgC,mBAAmB;UAEnD;EACb;EACA,YAAY;;UAGC,yCAET,yBACA,KAAK;;;;cAOA;;EAKG,YAAA,YAAY,qBAAqB,UAAU,mBAAmB,QAAQ;;;;;EAU5E,IACF,OAAO,EAAE,kBAAkB,0BAC3B,UAAU,0BACX,QAAQ;;;;EAwBX,UAAU,OAAO;;;;;;;;;;EAajB,mBAAmB,OAAO,mCAAmC"}
@@ -3,13 +3,11 @@ import { parse } from "../../shared/validation.js";
3
3
  import { toConnectCallOptions } from "../../shared/request-options.js";
4
4
  import { publicationHandlerErrorContext } from "../../shared/subscription-errors.js";
5
5
  import { decimalInputToScaled } from "../../shared/decimal-surface.js";
6
- import { isResourceNotFoundError } from "../../utils/errors.js";
7
6
  import { DepthTierCodec } from "../../shared/depth-tier.js";
8
7
  import { snapshotThenStream } from "../../realtime/snapshot-then-stream.js";
9
- import { GetOrderBookResponseSchema, OrderBookDeltaSchema, OrderbookService as OrderbookService$1 } from "../../gen/orderbook/v1/orderbook_pb.js";
8
+ import { OrderBookDeltaSchema, OrderbookService as OrderbookService$1 } from "../../gen/orderbook/v1/orderbook_pb.js";
10
9
  import { GetOrderbookInputSchema, createOrderbookDataSchema, formatOrderbookLevel } from "./orderbook.schemas.js";
11
10
  import { orderbookWsChannelDepth } from "./orderbook.codecs.js";
12
- import { create } from "@bufbuild/protobuf";
13
11
  import { createClient } from "@connectrpc/connect";
14
12
  //#region src/services/orderbook/orderbook.ts
15
13
  /**
@@ -139,22 +137,10 @@ var OrderbookService = class {
139
137
  }
140
138
  async function inputServiceFetch() {
141
139
  await scales.ready();
142
- let res;
143
- try {
144
- res = await client.getOrderBook({
145
- symbolId,
146
- depth: DepthTierCodec.inputToProto[channelDepth]
147
- });
148
- } catch (error) {
149
- if (!isResourceNotFoundError(error)) throw error;
150
- return create(GetOrderBookResponseSchema, {
151
- symbolId,
152
- bookSeq: 0n,
153
- available: true,
154
- bids: [],
155
- asks: []
156
- });
157
- }
140
+ const res = await client.getOrderBook({
141
+ symbolId,
142
+ depth: DepthTierCodec.inputToProto[channelDepth]
143
+ });
158
144
  if (!isBookAvailable(res)) throw new ServiceUnavailableError(`Order book for symbol ${symbolId} is not available yet`);
159
145
  if (res.bookEpoch < currentBookEpoch) throw new ServiceUnavailableError(`Order book snapshot for symbol ${symbolId} is from an older epoch`);
160
146
  return res;