@zkp2p/cash 0.4.8 → 0.4.10

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.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { I as IntentStatus, C as CashPayoutInfo, a as IntentEntity, b as CashBuyerProfile, c as CashDepositInput, d as CreateDepositParamsArg, e as CashOrder, f as CashFill, g as CashCapabilities, h as CashoutResult, i as CashEstimate, j as CashFillStats, P as PrepareResult, k as CashPreparedStep, R as RelayExecutionResult, l as RelayQuote, m as RelayStatus, n as CashSourceCapabilities, T as TopUpResult, W as WithdrawResult } from './createCashClient-BJmz3v4_.cjs';
2
- export { o as CASH_ATTRIBUTION_CODE, p as CASH_REFERRAL_ATTRIBUTION_PREFIX, q as CashAsset, r as CashChain, s as CashClient, t as CashClientOptions, u as CashFillEta, v as CashLeg, w as CashMultiCurrencyLeg, x as CashNextAction, y as CashOrderState, z as CashPairFillStats, A as CashPayeeInput, B as CashPayout, D as CashPayoutPricing, E as CashPlatformCapability, F as CashPreparedStepKind, G as CashReceiveLeg, H as CashoutInput, J as CashoutOptions, K as CuratorPayeeDataInput, L as EstimateInput, M as EstimateOptions, N as MIN_CASHOUT_AMOUNT, O as OrdersOptions, Q as PreparedCashoutReceipt, S as RECOMMENDED_MIN_CASHOUT_AMOUNT, U as RelayOptions, V as RelayQuoteInput, X as RelaySourceInput, Y as RelayTransaction, Z as SignerOptions, _ as WatchOptions, $ as WithdrawOptions, a0 as buildCapabilities, a1 as createCashClient, a2 as normalizeCashPayee, a3 as toCashReferralAttributionCode } from './createCashClient-BJmz3v4_.cjs';
1
+ import { I as IntentStatus, C as CashPayoutInfo, a as IntentEntity, b as CashBuyerProfile, c as CashDepositInput, d as CreateDepositParamsArg, e as CashOrder, f as CashFill, g as CashCapabilities, h as CashoutResult, i as CashEstimate, j as CashFillStats, P as PrepareResult, k as CashPreparedStep, R as RelayExecutionResult, l as RelayQuote, m as RelayStatus, n as CashSourceCapabilities, T as TopUpResult, W as WithdrawResult } from './createCashClient-Br7uu4lQ.cjs';
2
+ export { o as CASH_ATTRIBUTION_CODE, p as CASH_REFERRAL_ATTRIBUTION_PREFIX, q as CashAsset, r as CashChain, s as CashClient, t as CashClientOptions, u as CashFillEta, v as CashLeg, w as CashMultiCurrencyLeg, x as CashNextAction, y as CashOrderState, z as CashPairFillStats, A as CashPayeeInput, B as CashPayout, D as CashPayoutPricing, E as CashPlatformCapability, F as CashPreparedStepKind, G as CashReceiveLeg, H as CashoutInput, J as CashoutOptions, K as CuratorPayeeDataInput, L as EstimateInput, M as EstimateOptions, N as MIN_CASHOUT_AMOUNT, O as OrdersOptions, Q as PreparedCashoutReceipt, S as RECOMMENDED_MIN_CASHOUT_AMOUNT, U as RelayOptions, V as RelayQuoteInput, X as RelaySourceInput, Y as RelayTransaction, Z as SignerOptions, _ as WatchOptions, $ as WithdrawOptions, a0 as buildCapabilities, a1 as createCashClient, a2 as normalizeCashPayee, a3 as toCashReferralAttributionCode } from './createCashClient-Br7uu4lQ.cjs';
3
3
  import { PaymentMethodCatalog, CurrencyType, OracleAdapterOverrides, OnchainCurrency, Zkp2pClient, PreparedTransaction } from '@zkp2p/sdk';
4
4
  export { CurrencyType, PreparedTransaction, RuntimeEnv } from '@zkp2p/sdk';
5
5
  import { Log, Abi } from 'viem';
@@ -377,65 +377,19 @@ declare const relayTransactionJsonSchema: z.ZodObject<{
377
377
  hash: z.ZodString;
378
378
  chainId: z.ZodNumber;
379
379
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
380
- }, "strip", z.ZodTypeAny, {
381
- chainId: number;
382
- hash: string;
383
- isBatchTx?: boolean | undefined;
384
- }, {
385
- chainId: number;
386
- hash: string;
387
- isBatchTx?: boolean | undefined;
388
- }>;
380
+ }, z.core.$strip>;
389
381
  declare const relayTransactionsJsonSchema: z.ZodObject<{
390
382
  origin: z.ZodArray<z.ZodObject<{
391
383
  hash: z.ZodString;
392
384
  chainId: z.ZodNumber;
393
385
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
394
- }, "strip", z.ZodTypeAny, {
395
- chainId: number;
396
- hash: string;
397
- isBatchTx?: boolean | undefined;
398
- }, {
399
- chainId: number;
400
- hash: string;
401
- isBatchTx?: boolean | undefined;
402
- }>, "many">;
386
+ }, z.core.$strip>>;
403
387
  destination: z.ZodArray<z.ZodObject<{
404
388
  hash: z.ZodString;
405
389
  chainId: z.ZodNumber;
406
390
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
407
- }, "strip", z.ZodTypeAny, {
408
- chainId: number;
409
- hash: string;
410
- isBatchTx?: boolean | undefined;
411
- }, {
412
- chainId: number;
413
- hash: string;
414
- isBatchTx?: boolean | undefined;
415
- }>, "many">;
416
- }, "strict", z.ZodTypeAny, {
417
- destination: {
418
- chainId: number;
419
- hash: string;
420
- isBatchTx?: boolean | undefined;
421
- }[];
422
- origin: {
423
- chainId: number;
424
- hash: string;
425
- isBatchTx?: boolean | undefined;
426
- }[];
427
- }, {
428
- destination: {
429
- chainId: number;
430
- hash: string;
431
- isBatchTx?: boolean | undefined;
432
- }[];
433
- origin: {
434
- chainId: number;
435
- hash: string;
436
- isBatchTx?: boolean | undefined;
437
- }[];
438
- }>;
391
+ }, z.core.$strip>>;
392
+ }, z.core.$strict>;
439
393
  declare const cashAssetJsonSchema: z.ZodObject<{
440
394
  chainId: z.ZodNumber;
441
395
  address: z.ZodString;
@@ -443,21 +397,7 @@ declare const cashAssetJsonSchema: z.ZodObject<{
443
397
  decimals: z.ZodNumber;
444
398
  name: z.ZodOptional<z.ZodString>;
445
399
  isNative: z.ZodOptional<z.ZodBoolean>;
446
- }, "strip", z.ZodTypeAny, {
447
- symbol: string;
448
- chainId: number;
449
- address: string;
450
- decimals: number;
451
- name?: string | undefined;
452
- isNative?: boolean | undefined;
453
- }, {
454
- symbol: string;
455
- chainId: number;
456
- address: string;
457
- decimals: number;
458
- name?: string | undefined;
459
- isNative?: boolean | undefined;
460
- }>;
400
+ }, z.core.$strip>;
461
401
  declare const cashChainJsonSchema: z.ZodObject<{
462
402
  id: z.ZodNumber;
463
403
  name: z.ZodString;
@@ -473,54 +413,8 @@ declare const cashChainJsonSchema: z.ZodObject<{
473
413
  decimals: z.ZodNumber;
474
414
  name: z.ZodOptional<z.ZodString>;
475
415
  isNative: z.ZodOptional<z.ZodBoolean>;
476
- }, "strip", z.ZodTypeAny, {
477
- symbol: string;
478
- chainId: number;
479
- address: string;
480
- decimals: number;
481
- name?: string | undefined;
482
- isNative?: boolean | undefined;
483
- }, {
484
- symbol: string;
485
- chainId: number;
486
- address: string;
487
- decimals: number;
488
- name?: string | undefined;
489
- isNative?: boolean | undefined;
490
- }>, "many">;
491
- }, "strip", z.ZodTypeAny, {
492
- id: number;
493
- name: string;
494
- disabled: boolean;
495
- tokens: {
496
- symbol: string;
497
- chainId: number;
498
- address: string;
499
- decimals: number;
500
- name?: string | undefined;
501
- isNative?: boolean | undefined;
502
- }[];
503
- displayName: string;
504
- depositEnabled: boolean;
505
- blockProductionLagging: boolean;
506
- vmType?: string | undefined;
507
- }, {
508
- id: number;
509
- name: string;
510
- disabled: boolean;
511
- tokens: {
512
- symbol: string;
513
- chainId: number;
514
- address: string;
515
- decimals: number;
516
- name?: string | undefined;
517
- isNative?: boolean | undefined;
518
- }[];
519
- displayName: string;
520
- depositEnabled: boolean;
521
- blockProductionLagging: boolean;
522
- vmType?: string | undefined;
523
- }>;
416
+ }, z.core.$strip>>;
417
+ }, z.core.$strip>;
524
418
  declare const cashSourceCapabilitiesJsonSchema: z.ZodObject<{
525
419
  destination: z.ZodObject<{
526
420
  chainId: z.ZodNumber;
@@ -529,21 +423,7 @@ declare const cashSourceCapabilitiesJsonSchema: z.ZodObject<{
529
423
  decimals: z.ZodNumber;
530
424
  name: z.ZodOptional<z.ZodString>;
531
425
  isNative: z.ZodOptional<z.ZodBoolean>;
532
- }, "strip", z.ZodTypeAny, {
533
- symbol: string;
534
- chainId: number;
535
- address: string;
536
- decimals: number;
537
- name?: string | undefined;
538
- isNative?: boolean | undefined;
539
- }, {
540
- symbol: string;
541
- chainId: number;
542
- address: string;
543
- decimals: number;
544
- name?: string | undefined;
545
- isNative?: boolean | undefined;
546
- }>;
426
+ }, z.core.$strip>;
547
427
  chains: z.ZodArray<z.ZodObject<{
548
428
  id: z.ZodNumber;
549
429
  name: z.ZodString;
@@ -559,119 +439,36 @@ declare const cashSourceCapabilitiesJsonSchema: z.ZodObject<{
559
439
  decimals: z.ZodNumber;
560
440
  name: z.ZodOptional<z.ZodString>;
561
441
  isNative: z.ZodOptional<z.ZodBoolean>;
562
- }, "strip", z.ZodTypeAny, {
563
- symbol: string;
564
- chainId: number;
565
- address: string;
566
- decimals: number;
567
- name?: string | undefined;
568
- isNative?: boolean | undefined;
569
- }, {
570
- symbol: string;
571
- chainId: number;
572
- address: string;
573
- decimals: number;
574
- name?: string | undefined;
575
- isNative?: boolean | undefined;
576
- }>, "many">;
577
- }, "strip", z.ZodTypeAny, {
578
- id: number;
579
- name: string;
580
- disabled: boolean;
581
- tokens: {
582
- symbol: string;
583
- chainId: number;
584
- address: string;
585
- decimals: number;
586
- name?: string | undefined;
587
- isNative?: boolean | undefined;
588
- }[];
589
- displayName: string;
590
- depositEnabled: boolean;
591
- blockProductionLagging: boolean;
592
- vmType?: string | undefined;
593
- }, {
594
- id: number;
595
- name: string;
596
- disabled: boolean;
597
- tokens: {
598
- symbol: string;
599
- chainId: number;
600
- address: string;
601
- decimals: number;
602
- name?: string | undefined;
603
- isNative?: boolean | undefined;
604
- }[];
605
- displayName: string;
606
- depositEnabled: boolean;
607
- blockProductionLagging: boolean;
608
- vmType?: string | undefined;
609
- }>, "many">;
442
+ }, z.core.$strip>>;
443
+ }, z.core.$strip>>;
610
444
  source: z.ZodLiteral<"relay-sdk">;
611
445
  asOf: z.ZodNumber;
612
- }, "strip", z.ZodTypeAny, {
613
- source: "relay-sdk";
614
- chains: {
615
- id: number;
616
- name: string;
617
- disabled: boolean;
618
- tokens: {
619
- symbol: string;
620
- chainId: number;
621
- address: string;
622
- decimals: number;
623
- name?: string | undefined;
624
- isNative?: boolean | undefined;
625
- }[];
626
- displayName: string;
627
- depositEnabled: boolean;
628
- blockProductionLagging: boolean;
629
- vmType?: string | undefined;
630
- }[];
631
- destination: {
632
- symbol: string;
633
- chainId: number;
634
- address: string;
635
- decimals: number;
636
- name?: string | undefined;
637
- isNative?: boolean | undefined;
638
- };
639
- asOf: number;
640
- }, {
641
- source: "relay-sdk";
642
- chains: {
643
- id: number;
644
- name: string;
645
- disabled: boolean;
646
- tokens: {
647
- symbol: string;
648
- chainId: number;
649
- address: string;
650
- decimals: number;
651
- name?: string | undefined;
652
- isNative?: boolean | undefined;
653
- }[];
654
- displayName: string;
655
- depositEnabled: boolean;
656
- blockProductionLagging: boolean;
657
- vmType?: string | undefined;
658
- }[];
659
- destination: {
660
- symbol: string;
661
- chainId: number;
662
- address: string;
663
- decimals: number;
664
- name?: string | undefined;
665
- isNative?: boolean | undefined;
666
- };
667
- asOf: number;
446
+ }, z.core.$strip>;
447
+ declare const cashOrderStateSchema: z.ZodEnum<{
448
+ "awaiting-buyer": "awaiting-buyer";
449
+ matched: "matched";
450
+ delivering: "delivering";
451
+ delivered: "delivered";
452
+ returned: "returned";
453
+ }>;
454
+ declare const cashNextActionSchema: z.ZodEnum<{
455
+ wait: "wait";
456
+ withdraw: "withdraw";
457
+ }>;
458
+ declare const intentStatusSchema: z.ZodEnum<{
459
+ SIGNALED: "SIGNALED";
460
+ FULFILLED: "FULFILLED";
461
+ PRUNED: "PRUNED";
462
+ MANUALLY_RELEASED: "MANUALLY_RELEASED";
668
463
  }>;
669
- declare const cashOrderStateSchema: z.ZodEnum<["awaiting-buyer", "matched", "delivering", "delivered", "returned"]>;
670
- declare const cashNextActionSchema: z.ZodEnum<["wait", "withdraw"]>;
671
- declare const intentStatusSchema: z.ZodEnum<["SIGNALED", "FULFILLED", "PRUNED", "MANUALLY_RELEASED"]>;
672
464
  declare const cashFillJsonSchema: z.ZodObject<{
673
465
  intentHash: z.ZodString;
674
- status: z.ZodEnum<["SIGNALED", "FULFILLED", "PRUNED", "MANUALLY_RELEASED"]>;
466
+ status: z.ZodEnum<{
467
+ SIGNALED: "SIGNALED";
468
+ FULFILLED: "FULFILLED";
469
+ PRUNED: "PRUNED";
470
+ MANUALLY_RELEASED: "MANUALLY_RELEASED";
471
+ }>;
675
472
  amount: z.ZodString;
676
473
  buyer: z.ZodString;
677
474
  currency: z.ZodOptional<z.ZodString>;
@@ -690,49 +487,7 @@ declare const cashFillJsonSchema: z.ZodObject<{
690
487
  expiresAt: z.ZodOptional<z.ZodNumber>;
691
488
  fulfilledAt: z.ZodOptional<z.ZodNumber>;
692
489
  prunedAt: z.ZodOptional<z.ZodNumber>;
693
- }, "strip", z.ZodTypeAny, {
694
- intentHash: string;
695
- amount: string;
696
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
697
- buyer: string;
698
- conversionRate?: string | undefined;
699
- isExpired?: boolean | undefined;
700
- fillLatencySeconds?: number | undefined;
701
- paymentId?: string | undefined;
702
- releasedAmount?: string | undefined;
703
- currency?: string | undefined;
704
- currencyHash?: string | undefined;
705
- fiatPaid?: number | undefined;
706
- paidCurrency?: string | undefined;
707
- paidAt?: number | undefined;
708
- signaledAt?: number | undefined;
709
- expiresAt?: number | undefined;
710
- fulfilledAt?: number | undefined;
711
- prunedAt?: number | undefined;
712
- rate?: number | undefined;
713
- fiatOwed?: number | undefined;
714
- }, {
715
- intentHash: string;
716
- amount: string;
717
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
718
- buyer: string;
719
- conversionRate?: string | undefined;
720
- isExpired?: boolean | undefined;
721
- fillLatencySeconds?: number | undefined;
722
- paymentId?: string | undefined;
723
- releasedAmount?: string | undefined;
724
- currency?: string | undefined;
725
- currencyHash?: string | undefined;
726
- fiatPaid?: number | undefined;
727
- paidCurrency?: string | undefined;
728
- paidAt?: number | undefined;
729
- signaledAt?: number | undefined;
730
- expiresAt?: number | undefined;
731
- fulfilledAt?: number | undefined;
732
- prunedAt?: number | undefined;
733
- rate?: number | undefined;
734
- fiatOwed?: number | undefined;
735
- }>;
490
+ }, z.core.$strip>;
736
491
  declare const cashPayoutPricingJsonSchema: z.ZodObject<{
737
492
  spreadBps: z.ZodOptional<z.ZodNumber>;
738
493
  kind: z.ZodOptional<z.ZodString>;
@@ -740,21 +495,7 @@ declare const cashPayoutPricingJsonSchema: z.ZodObject<{
740
495
  oracleRate: z.ZodOptional<z.ZodNumber>;
741
496
  lastOracleUpdatedAt: z.ZodOptional<z.ZodNumber>;
742
497
  marketRate: z.ZodBoolean;
743
- }, "strip", z.ZodTypeAny, {
744
- marketRate: boolean;
745
- spreadBps?: number | undefined;
746
- lastOracleUpdatedAt?: number | undefined;
747
- kind?: string | undefined;
748
- rateSource?: string | undefined;
749
- oracleRate?: number | undefined;
750
- }, {
751
- marketRate: boolean;
752
- spreadBps?: number | undefined;
753
- lastOracleUpdatedAt?: number | undefined;
754
- kind?: string | undefined;
755
- rateSource?: string | undefined;
756
- oracleRate?: number | undefined;
757
- }>;
498
+ }, z.core.$strip>;
758
499
  declare const cashPayoutInfoJsonSchema: z.ZodObject<{
759
500
  platform: z.ZodString;
760
501
  platformHash: z.ZodString;
@@ -769,52 +510,8 @@ declare const cashPayoutInfoJsonSchema: z.ZodObject<{
769
510
  oracleRate: z.ZodOptional<z.ZodNumber>;
770
511
  lastOracleUpdatedAt: z.ZodOptional<z.ZodNumber>;
771
512
  marketRate: z.ZodBoolean;
772
- }, "strip", z.ZodTypeAny, {
773
- marketRate: boolean;
774
- spreadBps?: number | undefined;
775
- lastOracleUpdatedAt?: number | undefined;
776
- kind?: string | undefined;
777
- rateSource?: string | undefined;
778
- oracleRate?: number | undefined;
779
- }, {
780
- marketRate: boolean;
781
- spreadBps?: number | undefined;
782
- lastOracleUpdatedAt?: number | undefined;
783
- kind?: string | undefined;
784
- rateSource?: string | undefined;
785
- oracleRate?: number | undefined;
786
- }>;
787
- }, "strip", z.ZodTypeAny, {
788
- platform: string;
789
- pricing: {
790
- marketRate: boolean;
791
- spreadBps?: number | undefined;
792
- lastOracleUpdatedAt?: number | undefined;
793
- kind?: string | undefined;
794
- rateSource?: string | undefined;
795
- oracleRate?: number | undefined;
796
- };
797
- platformHash: string;
798
- payeeHash: string;
799
- active: boolean;
800
- currency?: string | undefined;
801
- currencyHash?: string | undefined;
802
- }, {
803
- platform: string;
804
- pricing: {
805
- marketRate: boolean;
806
- spreadBps?: number | undefined;
807
- lastOracleUpdatedAt?: number | undefined;
808
- kind?: string | undefined;
809
- rateSource?: string | undefined;
810
- oracleRate?: number | undefined;
811
- };
812
- platformHash: string;
813
- payeeHash: string;
814
- active: boolean;
815
- currency?: string | undefined;
816
- currencyHash?: string | undefined;
817
- }>;
513
+ }, z.core.$strip>;
514
+ }, z.core.$strip>;
818
515
  declare const cashBuyerProfileJsonSchema: z.ZodObject<{
819
516
  address: z.ZodString;
820
517
  totalIntents: z.ZodNumber;
@@ -824,31 +521,24 @@ declare const cashBuyerProfileJsonSchema: z.ZodObject<{
824
521
  successRateBps: z.ZodOptional<z.ZodNumber>;
825
522
  firstSeenAt: z.ZodOptional<z.ZodNumber>;
826
523
  lastSeenAt: z.ZodOptional<z.ZodNumber>;
827
- }, "strip", z.ZodTypeAny, {
828
- totalIntents: number;
829
- address: string;
830
- fulfilled: number;
831
- pruned: number;
832
- signaled: number;
833
- successRateBps?: number | undefined;
834
- firstSeenAt?: number | undefined;
835
- lastSeenAt?: number | undefined;
836
- }, {
837
- totalIntents: number;
838
- address: string;
839
- fulfilled: number;
840
- pruned: number;
841
- signaled: number;
842
- successRateBps?: number | undefined;
843
- firstSeenAt?: number | undefined;
844
- lastSeenAt?: number | undefined;
845
- }>;
524
+ }, z.core.$strip>;
846
525
  declare const cashOrderJsonSchema: z.ZodObject<{
847
526
  depositId: z.ZodString;
848
- state: z.ZodEnum<["awaiting-buyer", "matched", "delivering", "delivered", "returned"]>;
527
+ state: z.ZodEnum<{
528
+ "awaiting-buyer": "awaiting-buyer";
529
+ matched: "matched";
530
+ delivering: "delivering";
531
+ delivered: "delivered";
532
+ returned: "returned";
533
+ }>;
849
534
  fills: z.ZodArray<z.ZodObject<{
850
535
  intentHash: z.ZodString;
851
- status: z.ZodEnum<["SIGNALED", "FULFILLED", "PRUNED", "MANUALLY_RELEASED"]>;
536
+ status: z.ZodEnum<{
537
+ SIGNALED: "SIGNALED";
538
+ FULFILLED: "FULFILLED";
539
+ PRUNED: "PRUNED";
540
+ MANUALLY_RELEASED: "MANUALLY_RELEASED";
541
+ }>;
852
542
  amount: z.ZodString;
853
543
  buyer: z.ZodString;
854
544
  currency: z.ZodOptional<z.ZodString>;
@@ -867,54 +557,15 @@ declare const cashOrderJsonSchema: z.ZodObject<{
867
557
  expiresAt: z.ZodOptional<z.ZodNumber>;
868
558
  fulfilledAt: z.ZodOptional<z.ZodNumber>;
869
559
  prunedAt: z.ZodOptional<z.ZodNumber>;
870
- }, "strip", z.ZodTypeAny, {
871
- intentHash: string;
872
- amount: string;
873
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
874
- buyer: string;
875
- conversionRate?: string | undefined;
876
- isExpired?: boolean | undefined;
877
- fillLatencySeconds?: number | undefined;
878
- paymentId?: string | undefined;
879
- releasedAmount?: string | undefined;
880
- currency?: string | undefined;
881
- currencyHash?: string | undefined;
882
- fiatPaid?: number | undefined;
883
- paidCurrency?: string | undefined;
884
- paidAt?: number | undefined;
885
- signaledAt?: number | undefined;
886
- expiresAt?: number | undefined;
887
- fulfilledAt?: number | undefined;
888
- prunedAt?: number | undefined;
889
- rate?: number | undefined;
890
- fiatOwed?: number | undefined;
891
- }, {
892
- intentHash: string;
893
- amount: string;
894
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
895
- buyer: string;
896
- conversionRate?: string | undefined;
897
- isExpired?: boolean | undefined;
898
- fillLatencySeconds?: number | undefined;
899
- paymentId?: string | undefined;
900
- releasedAmount?: string | undefined;
901
- currency?: string | undefined;
902
- currencyHash?: string | undefined;
903
- fiatPaid?: number | undefined;
904
- paidCurrency?: string | undefined;
905
- paidAt?: number | undefined;
906
- signaledAt?: number | undefined;
907
- expiresAt?: number | undefined;
908
- fulfilledAt?: number | undefined;
909
- prunedAt?: number | undefined;
910
- rate?: number | undefined;
911
- fiatOwed?: number | undefined;
912
- }>, "many">;
560
+ }, z.core.$strip>>;
913
561
  totalAmount: z.ZodString;
914
562
  filledAmount: z.ZodString;
915
563
  pendingAmount: z.ZodString;
916
564
  returnedAmount: z.ZodString;
917
- nextActions: z.ZodArray<z.ZodEnum<["wait", "withdraw"]>, "many">;
565
+ nextActions: z.ZodArray<z.ZodEnum<{
566
+ wait: "wait";
567
+ withdraw: "withdraw";
568
+ }>>;
918
569
  primaryIntentHash: z.ZodOptional<z.ZodString>;
919
570
  matchedAt: z.ZodOptional<z.ZodNumber>;
920
571
  deliveredAt: z.ZodOptional<z.ZodNumber>;
@@ -934,164 +585,12 @@ declare const cashOrderJsonSchema: z.ZodObject<{
934
585
  oracleRate: z.ZodOptional<z.ZodNumber>;
935
586
  lastOracleUpdatedAt: z.ZodOptional<z.ZodNumber>;
936
587
  marketRate: z.ZodBoolean;
937
- }, "strip", z.ZodTypeAny, {
938
- marketRate: boolean;
939
- spreadBps?: number | undefined;
940
- lastOracleUpdatedAt?: number | undefined;
941
- kind?: string | undefined;
942
- rateSource?: string | undefined;
943
- oracleRate?: number | undefined;
944
- }, {
945
- marketRate: boolean;
946
- spreadBps?: number | undefined;
947
- lastOracleUpdatedAt?: number | undefined;
948
- kind?: string | undefined;
949
- rateSource?: string | undefined;
950
- oracleRate?: number | undefined;
951
- }>;
952
- }, "strip", z.ZodTypeAny, {
953
- platform: string;
954
- pricing: {
955
- marketRate: boolean;
956
- spreadBps?: number | undefined;
957
- lastOracleUpdatedAt?: number | undefined;
958
- kind?: string | undefined;
959
- rateSource?: string | undefined;
960
- oracleRate?: number | undefined;
961
- };
962
- platformHash: string;
963
- payeeHash: string;
964
- active: boolean;
965
- currency?: string | undefined;
966
- currencyHash?: string | undefined;
967
- }, {
968
- platform: string;
969
- pricing: {
970
- marketRate: boolean;
971
- spreadBps?: number | undefined;
972
- lastOracleUpdatedAt?: number | undefined;
973
- kind?: string | undefined;
974
- rateSource?: string | undefined;
975
- oracleRate?: number | undefined;
976
- };
977
- platformHash: string;
978
- payeeHash: string;
979
- active: boolean;
980
- currency?: string | undefined;
981
- currencyHash?: string | undefined;
982
- }>, "many">>;
588
+ }, z.core.$strip>;
589
+ }, z.core.$strip>>>;
983
590
  successRateBps: z.ZodOptional<z.ZodNumber>;
984
591
  isInFlight: z.ZodBoolean;
985
592
  withdrawn: z.ZodOptional<z.ZodBoolean>;
986
- }, "strip", z.ZodTypeAny, {
987
- depositId: string;
988
- state: "awaiting-buyer" | "matched" | "delivering" | "delivered" | "returned";
989
- fills: {
990
- intentHash: string;
991
- amount: string;
992
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
993
- buyer: string;
994
- conversionRate?: string | undefined;
995
- isExpired?: boolean | undefined;
996
- fillLatencySeconds?: number | undefined;
997
- paymentId?: string | undefined;
998
- releasedAmount?: string | undefined;
999
- currency?: string | undefined;
1000
- currencyHash?: string | undefined;
1001
- fiatPaid?: number | undefined;
1002
- paidCurrency?: string | undefined;
1003
- paidAt?: number | undefined;
1004
- signaledAt?: number | undefined;
1005
- expiresAt?: number | undefined;
1006
- fulfilledAt?: number | undefined;
1007
- prunedAt?: number | undefined;
1008
- rate?: number | undefined;
1009
- fiatOwed?: number | undefined;
1010
- }[];
1011
- totalAmount: string;
1012
- filledAmount: string;
1013
- pendingAmount: string;
1014
- returnedAmount: string;
1015
- nextActions: ("wait" | "withdraw")[];
1016
- isInFlight: boolean;
1017
- updatedAt?: number | undefined;
1018
- successRateBps?: number | undefined;
1019
- payouts?: {
1020
- platform: string;
1021
- pricing: {
1022
- marketRate: boolean;
1023
- spreadBps?: number | undefined;
1024
- lastOracleUpdatedAt?: number | undefined;
1025
- kind?: string | undefined;
1026
- rateSource?: string | undefined;
1027
- oracleRate?: number | undefined;
1028
- };
1029
- platformHash: string;
1030
- payeeHash: string;
1031
- active: boolean;
1032
- currency?: string | undefined;
1033
- currencyHash?: string | undefined;
1034
- }[] | undefined;
1035
- primaryIntentHash?: string | undefined;
1036
- matchedAt?: number | undefined;
1037
- deliveredAt?: number | undefined;
1038
- intentCount?: number | undefined;
1039
- withdrawn?: boolean | undefined;
1040
- }, {
1041
- depositId: string;
1042
- state: "awaiting-buyer" | "matched" | "delivering" | "delivered" | "returned";
1043
- fills: {
1044
- intentHash: string;
1045
- amount: string;
1046
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
1047
- buyer: string;
1048
- conversionRate?: string | undefined;
1049
- isExpired?: boolean | undefined;
1050
- fillLatencySeconds?: number | undefined;
1051
- paymentId?: string | undefined;
1052
- releasedAmount?: string | undefined;
1053
- currency?: string | undefined;
1054
- currencyHash?: string | undefined;
1055
- fiatPaid?: number | undefined;
1056
- paidCurrency?: string | undefined;
1057
- paidAt?: number | undefined;
1058
- signaledAt?: number | undefined;
1059
- expiresAt?: number | undefined;
1060
- fulfilledAt?: number | undefined;
1061
- prunedAt?: number | undefined;
1062
- rate?: number | undefined;
1063
- fiatOwed?: number | undefined;
1064
- }[];
1065
- totalAmount: string;
1066
- filledAmount: string;
1067
- pendingAmount: string;
1068
- returnedAmount: string;
1069
- nextActions: ("wait" | "withdraw")[];
1070
- isInFlight: boolean;
1071
- updatedAt?: number | undefined;
1072
- successRateBps?: number | undefined;
1073
- payouts?: {
1074
- platform: string;
1075
- pricing: {
1076
- marketRate: boolean;
1077
- spreadBps?: number | undefined;
1078
- lastOracleUpdatedAt?: number | undefined;
1079
- kind?: string | undefined;
1080
- rateSource?: string | undefined;
1081
- oracleRate?: number | undefined;
1082
- };
1083
- platformHash: string;
1084
- payeeHash: string;
1085
- active: boolean;
1086
- currency?: string | undefined;
1087
- currencyHash?: string | undefined;
1088
- }[] | undefined;
1089
- primaryIntentHash?: string | undefined;
1090
- matchedAt?: number | undefined;
1091
- deliveredAt?: number | undefined;
1092
- intentCount?: number | undefined;
1093
- withdrawn?: boolean | undefined;
1094
- }>;
593
+ }, z.core.$strip>;
1095
594
  declare const cashEstimateJsonSchema: z.ZodObject<{
1096
595
  kind: z.ZodLiteral<"oracle-estimate">;
1097
596
  currency: z.ZodString;
@@ -1110,21 +609,7 @@ declare const cashEstimateJsonSchema: z.ZodObject<{
1110
609
  decimals: z.ZodNumber;
1111
610
  name: z.ZodOptional<z.ZodString>;
1112
611
  isNative: z.ZodOptional<z.ZodBoolean>;
1113
- }, "strip", z.ZodTypeAny, {
1114
- symbol: string;
1115
- chainId: number;
1116
- address: string;
1117
- decimals: number;
1118
- name?: string | undefined;
1119
- isNative?: boolean | undefined;
1120
- }, {
1121
- symbol: string;
1122
- chainId: number;
1123
- address: string;
1124
- decimals: number;
1125
- name?: string | undefined;
1126
- isNative?: boolean | undefined;
1127
- }>;
612
+ }, z.core.$strip>;
1128
613
  inputAmount: z.ZodString;
1129
614
  relayQuote: z.ZodObject<{
1130
615
  requestId: z.ZodOptional<z.ZodString>;
@@ -1135,21 +620,7 @@ declare const cashEstimateJsonSchema: z.ZodObject<{
1135
620
  decimals: z.ZodNumber;
1136
621
  name: z.ZodOptional<z.ZodString>;
1137
622
  isNative: z.ZodOptional<z.ZodBoolean>;
1138
- }, "strip", z.ZodTypeAny, {
1139
- symbol: string;
1140
- chainId: number;
1141
- address: string;
1142
- decimals: number;
1143
- name?: string | undefined;
1144
- isNative?: boolean | undefined;
1145
- }, {
1146
- symbol: string;
1147
- chainId: number;
1148
- address: string;
1149
- decimals: number;
1150
- name?: string | undefined;
1151
- isNative?: boolean | undefined;
1152
- }>;
623
+ }, z.core.$strip>;
1153
624
  destination: z.ZodObject<{
1154
625
  chainId: z.ZodNumber;
1155
626
  address: z.ZodString;
@@ -1157,21 +628,7 @@ declare const cashEstimateJsonSchema: z.ZodObject<{
1157
628
  decimals: z.ZodNumber;
1158
629
  name: z.ZodOptional<z.ZodString>;
1159
630
  isNative: z.ZodOptional<z.ZodBoolean>;
1160
- }, "strip", z.ZodTypeAny, {
1161
- symbol: string;
1162
- chainId: number;
1163
- address: string;
1164
- decimals: number;
1165
- name?: string | undefined;
1166
- isNative?: boolean | undefined;
1167
- }, {
1168
- symbol: string;
1169
- chainId: number;
1170
- address: string;
1171
- decimals: number;
1172
- name?: string | undefined;
1173
- isNative?: boolean | undefined;
1174
- }>;
631
+ }, z.core.$strip>;
1175
632
  inputAmount: z.ZodString;
1176
633
  outputAmount: z.ZodString;
1177
634
  rate: z.ZodOptional<z.ZodNumber>;
@@ -1182,323 +639,29 @@ declare const cashEstimateJsonSchema: z.ZodObject<{
1182
639
  data: z.ZodString;
1183
640
  value: z.ZodString;
1184
641
  chainId: z.ZodNumber;
1185
- }, "strip", z.ZodTypeAny, {
1186
- chainId: number;
1187
- data: string;
1188
- to: string;
1189
- value: string;
1190
- }, {
1191
- chainId: number;
1192
- data: string;
1193
- to: string;
1194
- value: string;
1195
- }>, "many">;
642
+ }, z.core.$strip>>;
1196
643
  raw: z.ZodUnknown;
1197
- }, "strip", z.ZodTypeAny, {
1198
- source: {
1199
- symbol: string;
1200
- chainId: number;
1201
- address: string;
1202
- decimals: number;
1203
- name?: string | undefined;
1204
- isNative?: boolean | undefined;
1205
- };
1206
- destination: {
1207
- symbol: string;
1208
- chainId: number;
1209
- address: string;
1210
- decimals: number;
1211
- name?: string | undefined;
1212
- isNative?: boolean | undefined;
1213
- };
1214
- txs: {
1215
- chainId: number;
1216
- data: string;
1217
- to: string;
1218
- value: string;
1219
- }[];
1220
- inputAmount: string;
1221
- outputAmount: string;
1222
- requestId?: string | undefined;
1223
- fees?: unknown;
1224
- rate?: number | undefined;
1225
- timeEstimateSeconds?: number | undefined;
1226
- raw?: unknown;
1227
- }, {
1228
- source: {
1229
- symbol: string;
1230
- chainId: number;
1231
- address: string;
1232
- decimals: number;
1233
- name?: string | undefined;
1234
- isNative?: boolean | undefined;
1235
- };
1236
- destination: {
1237
- symbol: string;
1238
- chainId: number;
1239
- address: string;
1240
- decimals: number;
1241
- name?: string | undefined;
1242
- isNative?: boolean | undefined;
1243
- };
1244
- txs: {
1245
- chainId: number;
1246
- data: string;
1247
- to: string;
1248
- value: string;
1249
- }[];
1250
- inputAmount: string;
1251
- outputAmount: string;
1252
- requestId?: string | undefined;
1253
- fees?: unknown;
1254
- rate?: number | undefined;
1255
- timeEstimateSeconds?: number | undefined;
1256
- raw?: unknown;
1257
- }>;
1258
- }, "strip", z.ZodTypeAny, {
1259
- kind: "relay";
1260
- asset: {
1261
- symbol: string;
1262
- chainId: number;
1263
- address: string;
1264
- decimals: number;
1265
- name?: string | undefined;
1266
- isNative?: boolean | undefined;
1267
- };
1268
- inputAmount: string;
1269
- relayQuote: {
1270
- source: {
1271
- symbol: string;
1272
- chainId: number;
1273
- address: string;
1274
- decimals: number;
1275
- name?: string | undefined;
1276
- isNative?: boolean | undefined;
1277
- };
1278
- destination: {
1279
- symbol: string;
1280
- chainId: number;
1281
- address: string;
1282
- decimals: number;
1283
- name?: string | undefined;
1284
- isNative?: boolean | undefined;
1285
- };
1286
- txs: {
1287
- chainId: number;
1288
- data: string;
1289
- to: string;
1290
- value: string;
1291
- }[];
1292
- inputAmount: string;
1293
- outputAmount: string;
1294
- requestId?: string | undefined;
1295
- fees?: unknown;
1296
- rate?: number | undefined;
1297
- timeEstimateSeconds?: number | undefined;
1298
- raw?: unknown;
1299
- };
1300
- }, {
1301
- kind: "relay";
1302
- asset: {
1303
- symbol: string;
1304
- chainId: number;
1305
- address: string;
1306
- decimals: number;
1307
- name?: string | undefined;
1308
- isNative?: boolean | undefined;
1309
- };
1310
- inputAmount: string;
1311
- relayQuote: {
1312
- source: {
1313
- symbol: string;
1314
- chainId: number;
1315
- address: string;
1316
- decimals: number;
1317
- name?: string | undefined;
1318
- isNative?: boolean | undefined;
1319
- };
1320
- destination: {
1321
- symbol: string;
1322
- chainId: number;
1323
- address: string;
1324
- decimals: number;
1325
- name?: string | undefined;
1326
- isNative?: boolean | undefined;
1327
- };
1328
- txs: {
1329
- chainId: number;
1330
- data: string;
1331
- to: string;
1332
- value: string;
1333
- }[];
1334
- inputAmount: string;
1335
- outputAmount: string;
1336
- requestId?: string | undefined;
1337
- fees?: unknown;
1338
- rate?: number | undefined;
1339
- timeEstimateSeconds?: number | undefined;
1340
- raw?: unknown;
1341
- };
1342
- }>>;
644
+ }, z.core.$strip>;
645
+ }, z.core.$strip>>;
1343
646
  eta: z.ZodOptional<z.ZodObject<{
1344
647
  seconds: z.ZodOptional<z.ZodNumber>;
1345
648
  label: z.ZodString;
1346
- }, "strip", z.ZodTypeAny, {
1347
- label: string;
1348
- seconds?: number | undefined;
1349
- }, {
1350
- label: string;
1351
- seconds?: number | undefined;
1352
- }>>;
1353
- }, "strip", z.ZodTypeAny, {
1354
- amount: string;
1355
- currency: string;
1356
- kind: "oracle-estimate";
1357
- rate: number;
1358
- asOf: number;
1359
- receiveAmount: number;
1360
- source?: {
1361
- kind: "relay";
1362
- asset: {
1363
- symbol: string;
1364
- chainId: number;
1365
- address: string;
1366
- decimals: number;
1367
- name?: string | undefined;
1368
- isNative?: boolean | undefined;
1369
- };
1370
- inputAmount: string;
1371
- relayQuote: {
1372
- source: {
1373
- symbol: string;
1374
- chainId: number;
1375
- address: string;
1376
- decimals: number;
1377
- name?: string | undefined;
1378
- isNative?: boolean | undefined;
1379
- };
1380
- destination: {
1381
- symbol: string;
1382
- chainId: number;
1383
- address: string;
1384
- decimals: number;
1385
- name?: string | undefined;
1386
- isNative?: boolean | undefined;
1387
- };
1388
- txs: {
1389
- chainId: number;
1390
- data: string;
1391
- to: string;
1392
- value: string;
1393
- }[];
1394
- inputAmount: string;
1395
- outputAmount: string;
1396
- requestId?: string | undefined;
1397
- fees?: unknown;
1398
- rate?: number | undefined;
1399
- timeEstimateSeconds?: number | undefined;
1400
- raw?: unknown;
1401
- };
1402
- } | undefined;
1403
- oracleUpdatedAt?: number | undefined;
1404
- stale?: boolean | undefined;
1405
- eta?: {
1406
- label: string;
1407
- seconds?: number | undefined;
1408
- } | undefined;
1409
- }, {
1410
- amount: string;
1411
- currency: string;
1412
- kind: "oracle-estimate";
1413
- rate: number;
1414
- asOf: number;
1415
- receiveAmount: number;
1416
- source?: {
1417
- kind: "relay";
1418
- asset: {
1419
- symbol: string;
1420
- chainId: number;
1421
- address: string;
1422
- decimals: number;
1423
- name?: string | undefined;
1424
- isNative?: boolean | undefined;
1425
- };
1426
- inputAmount: string;
1427
- relayQuote: {
1428
- source: {
1429
- symbol: string;
1430
- chainId: number;
1431
- address: string;
1432
- decimals: number;
1433
- name?: string | undefined;
1434
- isNative?: boolean | undefined;
1435
- };
1436
- destination: {
1437
- symbol: string;
1438
- chainId: number;
1439
- address: string;
1440
- decimals: number;
1441
- name?: string | undefined;
1442
- isNative?: boolean | undefined;
1443
- };
1444
- txs: {
1445
- chainId: number;
1446
- data: string;
1447
- to: string;
1448
- value: string;
1449
- }[];
1450
- inputAmount: string;
1451
- outputAmount: string;
1452
- requestId?: string | undefined;
1453
- fees?: unknown;
1454
- rate?: number | undefined;
1455
- timeEstimateSeconds?: number | undefined;
1456
- raw?: unknown;
1457
- };
1458
- } | undefined;
1459
- oracleUpdatedAt?: number | undefined;
1460
- stale?: boolean | undefined;
1461
- eta?: {
1462
- label: string;
1463
- seconds?: number | undefined;
1464
- } | undefined;
1465
- }>;
649
+ }, z.core.$strip>>;
650
+ }, z.core.$strip>;
1466
651
  declare const cashPairFillStatsJsonSchema: z.ZodObject<{
1467
652
  fills: z.ZodNumber;
1468
653
  medianFillSeconds: z.ZodOptional<z.ZodNumber>;
1469
- }, "strict", z.ZodTypeAny, {
1470
- fills: number;
1471
- medianFillSeconds?: number | undefined;
1472
- }, {
1473
- fills: number;
1474
- medianFillSeconds?: number | undefined;
1475
- }>;
654
+ }, z.core.$strict>;
1476
655
  declare const cashFillStatsJsonSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1477
656
  fills: z.ZodNumber;
1478
657
  medianFillSeconds: z.ZodOptional<z.ZodNumber>;
1479
- }, "strict", z.ZodTypeAny, {
1480
- fills: number;
1481
- medianFillSeconds?: number | undefined;
1482
- }, {
1483
- fills: number;
1484
- medianFillSeconds?: number | undefined;
1485
- }>>;
658
+ }, z.core.$strict>>;
1486
659
  declare const preparedTransactionJsonSchema: z.ZodObject<{
1487
660
  to: z.ZodString;
1488
661
  data: z.ZodString;
1489
662
  value: z.ZodString;
1490
663
  chainId: z.ZodNumber;
1491
- }, "strip", z.ZodTypeAny, {
1492
- chainId: number;
1493
- data: string;
1494
- to: string;
1495
- value: string;
1496
- }, {
1497
- chainId: number;
1498
- data: string;
1499
- to: string;
1500
- value: string;
1501
- }>;
664
+ }, z.core.$strip>;
1502
665
  declare const relayQuoteJsonSchema: z.ZodObject<{
1503
666
  requestId: z.ZodOptional<z.ZodString>;
1504
667
  source: z.ZodObject<{
@@ -1508,21 +671,7 @@ declare const relayQuoteJsonSchema: z.ZodObject<{
1508
671
  decimals: z.ZodNumber;
1509
672
  name: z.ZodOptional<z.ZodString>;
1510
673
  isNative: z.ZodOptional<z.ZodBoolean>;
1511
- }, "strip", z.ZodTypeAny, {
1512
- symbol: string;
1513
- chainId: number;
1514
- address: string;
1515
- decimals: number;
1516
- name?: string | undefined;
1517
- isNative?: boolean | undefined;
1518
- }, {
1519
- symbol: string;
1520
- chainId: number;
1521
- address: string;
1522
- decimals: number;
1523
- name?: string | undefined;
1524
- isNative?: boolean | undefined;
1525
- }>;
674
+ }, z.core.$strip>;
1526
675
  destination: z.ZodObject<{
1527
676
  chainId: z.ZodNumber;
1528
677
  address: z.ZodString;
@@ -1530,21 +679,7 @@ declare const relayQuoteJsonSchema: z.ZodObject<{
1530
679
  decimals: z.ZodNumber;
1531
680
  name: z.ZodOptional<z.ZodString>;
1532
681
  isNative: z.ZodOptional<z.ZodBoolean>;
1533
- }, "strip", z.ZodTypeAny, {
1534
- symbol: string;
1535
- chainId: number;
1536
- address: string;
1537
- decimals: number;
1538
- name?: string | undefined;
1539
- isNative?: boolean | undefined;
1540
- }, {
1541
- symbol: string;
1542
- chainId: number;
1543
- address: string;
1544
- decimals: number;
1545
- name?: string | undefined;
1546
- isNative?: boolean | undefined;
1547
- }>;
682
+ }, z.core.$strip>;
1548
683
  inputAmount: z.ZodString;
1549
684
  outputAmount: z.ZodString;
1550
685
  rate: z.ZodOptional<z.ZodNumber>;
@@ -1555,210 +690,57 @@ declare const relayQuoteJsonSchema: z.ZodObject<{
1555
690
  data: z.ZodString;
1556
691
  value: z.ZodString;
1557
692
  chainId: z.ZodNumber;
1558
- }, "strip", z.ZodTypeAny, {
1559
- chainId: number;
1560
- data: string;
1561
- to: string;
1562
- value: string;
1563
- }, {
1564
- chainId: number;
1565
- data: string;
1566
- to: string;
1567
- value: string;
1568
- }>, "many">;
693
+ }, z.core.$strip>>;
1569
694
  raw: z.ZodUnknown;
1570
- }, "strip", z.ZodTypeAny, {
1571
- source: {
1572
- symbol: string;
1573
- chainId: number;
1574
- address: string;
1575
- decimals: number;
1576
- name?: string | undefined;
1577
- isNative?: boolean | undefined;
1578
- };
1579
- destination: {
1580
- symbol: string;
1581
- chainId: number;
1582
- address: string;
1583
- decimals: number;
1584
- name?: string | undefined;
1585
- isNative?: boolean | undefined;
1586
- };
1587
- txs: {
1588
- chainId: number;
1589
- data: string;
1590
- to: string;
1591
- value: string;
1592
- }[];
1593
- inputAmount: string;
1594
- outputAmount: string;
1595
- requestId?: string | undefined;
1596
- fees?: unknown;
1597
- rate?: number | undefined;
1598
- timeEstimateSeconds?: number | undefined;
1599
- raw?: unknown;
1600
- }, {
1601
- source: {
1602
- symbol: string;
1603
- chainId: number;
1604
- address: string;
1605
- decimals: number;
1606
- name?: string | undefined;
1607
- isNative?: boolean | undefined;
1608
- };
1609
- destination: {
1610
- symbol: string;
1611
- chainId: number;
1612
- address: string;
1613
- decimals: number;
1614
- name?: string | undefined;
1615
- isNative?: boolean | undefined;
1616
- };
1617
- txs: {
1618
- chainId: number;
1619
- data: string;
1620
- to: string;
1621
- value: string;
1622
- }[];
1623
- inputAmount: string;
1624
- outputAmount: string;
1625
- requestId?: string | undefined;
1626
- fees?: unknown;
1627
- rate?: number | undefined;
1628
- timeEstimateSeconds?: number | undefined;
1629
- raw?: unknown;
1630
- }>;
695
+ }, z.core.$strip>;
1631
696
  declare const relayStatusJsonSchema: z.ZodObject<{
1632
697
  requestId: z.ZodString;
1633
- status: z.ZodEnum<["refund", "waiting", "depositing", "failure", "pending", "submitted", "success"]>;
698
+ status: z.ZodEnum<{
699
+ refund: "refund";
700
+ waiting: "waiting";
701
+ depositing: "depositing";
702
+ failure: "failure";
703
+ pending: "pending";
704
+ submitted: "submitted";
705
+ success: "success";
706
+ }>;
1634
707
  details: z.ZodOptional<z.ZodString>;
1635
- inTxHashes: z.ZodArray<z.ZodString, "many">;
1636
- txHashes: z.ZodArray<z.ZodString, "many">;
708
+ inTxHashes: z.ZodArray<z.ZodString>;
709
+ txHashes: z.ZodArray<z.ZodString>;
1637
710
  updatedAt: z.ZodOptional<z.ZodNumber>;
1638
711
  originChainId: z.ZodOptional<z.ZodNumber>;
1639
712
  destinationChainId: z.ZodOptional<z.ZodNumber>;
1640
713
  quoteCreatedAt: z.ZodOptional<z.ZodNumber>;
1641
714
  raw: z.ZodUnknown;
1642
- }, "strip", z.ZodTypeAny, {
1643
- status: "refund" | "waiting" | "depositing" | "failure" | "pending" | "submitted" | "success";
1644
- requestId: string;
1645
- txHashes: string[];
1646
- inTxHashes: string[];
1647
- updatedAt?: number | undefined;
1648
- details?: string | undefined;
1649
- destinationChainId?: number | undefined;
1650
- originChainId?: number | undefined;
1651
- raw?: unknown;
1652
- quoteCreatedAt?: number | undefined;
1653
- }, {
1654
- status: "refund" | "waiting" | "depositing" | "failure" | "pending" | "submitted" | "success";
1655
- requestId: string;
1656
- txHashes: string[];
1657
- inTxHashes: string[];
1658
- updatedAt?: number | undefined;
1659
- details?: string | undefined;
1660
- destinationChainId?: number | undefined;
1661
- originChainId?: number | undefined;
1662
- raw?: unknown;
1663
- quoteCreatedAt?: number | undefined;
1664
- }>;
715
+ }, z.core.$strip>;
1665
716
  declare const relayExecutionResultJsonSchema: z.ZodObject<{
1666
717
  requestId: z.ZodOptional<z.ZodString>;
1667
- txHashes: z.ZodArray<z.ZodString, "many">;
718
+ txHashes: z.ZodArray<z.ZodString>;
1668
719
  transactions: z.ZodOptional<z.ZodObject<{
1669
720
  origin: z.ZodArray<z.ZodObject<{
1670
721
  hash: z.ZodString;
1671
722
  chainId: z.ZodNumber;
1672
723
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
1673
- }, "strip", z.ZodTypeAny, {
1674
- chainId: number;
1675
- hash: string;
1676
- isBatchTx?: boolean | undefined;
1677
- }, {
1678
- chainId: number;
1679
- hash: string;
1680
- isBatchTx?: boolean | undefined;
1681
- }>, "many">;
724
+ }, z.core.$strip>>;
1682
725
  destination: z.ZodArray<z.ZodObject<{
1683
726
  hash: z.ZodString;
1684
727
  chainId: z.ZodNumber;
1685
728
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
1686
- }, "strip", z.ZodTypeAny, {
1687
- chainId: number;
1688
- hash: string;
1689
- isBatchTx?: boolean | undefined;
1690
- }, {
1691
- chainId: number;
1692
- hash: string;
1693
- isBatchTx?: boolean | undefined;
1694
- }>, "many">;
1695
- }, "strict", z.ZodTypeAny, {
1696
- destination: {
1697
- chainId: number;
1698
- hash: string;
1699
- isBatchTx?: boolean | undefined;
1700
- }[];
1701
- origin: {
1702
- chainId: number;
1703
- hash: string;
1704
- isBatchTx?: boolean | undefined;
1705
- }[];
1706
- }, {
1707
- destination: {
1708
- chainId: number;
1709
- hash: string;
1710
- isBatchTx?: boolean | undefined;
1711
- }[];
1712
- origin: {
1713
- chainId: number;
1714
- hash: string;
1715
- isBatchTx?: boolean | undefined;
1716
- }[];
1717
- }>>;
729
+ }, z.core.$strip>>;
730
+ }, z.core.$strict>>;
1718
731
  quote: z.ZodUnknown;
1719
- }, "strip", z.ZodTypeAny, {
1720
- txHashes: string[];
1721
- transactions?: {
1722
- destination: {
1723
- chainId: number;
1724
- hash: string;
1725
- isBatchTx?: boolean | undefined;
1726
- }[];
1727
- origin: {
1728
- chainId: number;
1729
- hash: string;
1730
- isBatchTx?: boolean | undefined;
1731
- }[];
1732
- } | undefined;
1733
- requestId?: string | undefined;
1734
- quote?: unknown;
1735
- }, {
1736
- txHashes: string[];
1737
- transactions?: {
1738
- destination: {
1739
- chainId: number;
1740
- hash: string;
1741
- isBatchTx?: boolean | undefined;
1742
- }[];
1743
- origin: {
1744
- chainId: number;
1745
- hash: string;
1746
- isBatchTx?: boolean | undefined;
1747
- }[];
1748
- } | undefined;
1749
- requestId?: string | undefined;
1750
- quote?: unknown;
1751
- }>;
732
+ }, z.core.$strip>;
1752
733
  declare const cashPreparedStepJsonSchema: z.ZodObject<{
1753
- kind: z.ZodEnum<["approve", "createDeposit", "pruneExpiredIntents", "withdrawDeposit", "removeFunds", "addFunds"]>;
734
+ kind: z.ZodEnum<{
735
+ createDeposit: "createDeposit";
736
+ approve: "approve";
737
+ pruneExpiredIntents: "pruneExpiredIntents";
738
+ withdrawDeposit: "withdrawDeposit";
739
+ removeFunds: "removeFunds";
740
+ addFunds: "addFunds";
741
+ }>;
1754
742
  description: z.ZodString;
1755
- }, "strip", z.ZodTypeAny, {
1756
- kind: "createDeposit" | "approve" | "pruneExpiredIntents" | "withdrawDeposit" | "removeFunds" | "addFunds";
1757
- description: string;
1758
- }, {
1759
- kind: "createDeposit" | "approve" | "pruneExpiredIntents" | "withdrawDeposit" | "removeFunds" | "addFunds";
1760
- description: string;
1761
- }>;
743
+ }, z.core.$strip>;
1762
744
  declare const cashoutResultJsonSchema: z.ZodObject<{
1763
745
  depositId: z.ZodString;
1764
746
  txHash: z.ZodString;
@@ -1766,10 +748,21 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1766
748
  onchainDepositId: z.ZodString;
1767
749
  order: z.ZodObject<{
1768
750
  depositId: z.ZodString;
1769
- state: z.ZodEnum<["awaiting-buyer", "matched", "delivering", "delivered", "returned"]>;
751
+ state: z.ZodEnum<{
752
+ "awaiting-buyer": "awaiting-buyer";
753
+ matched: "matched";
754
+ delivering: "delivering";
755
+ delivered: "delivered";
756
+ returned: "returned";
757
+ }>;
1770
758
  fills: z.ZodArray<z.ZodObject<{
1771
759
  intentHash: z.ZodString;
1772
- status: z.ZodEnum<["SIGNALED", "FULFILLED", "PRUNED", "MANUALLY_RELEASED"]>;
760
+ status: z.ZodEnum<{
761
+ SIGNALED: "SIGNALED";
762
+ FULFILLED: "FULFILLED";
763
+ PRUNED: "PRUNED";
764
+ MANUALLY_RELEASED: "MANUALLY_RELEASED";
765
+ }>;
1773
766
  amount: z.ZodString;
1774
767
  buyer: z.ZodString;
1775
768
  currency: z.ZodOptional<z.ZodString>;
@@ -1788,54 +781,15 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1788
781
  expiresAt: z.ZodOptional<z.ZodNumber>;
1789
782
  fulfilledAt: z.ZodOptional<z.ZodNumber>;
1790
783
  prunedAt: z.ZodOptional<z.ZodNumber>;
1791
- }, "strip", z.ZodTypeAny, {
1792
- intentHash: string;
1793
- amount: string;
1794
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
1795
- buyer: string;
1796
- conversionRate?: string | undefined;
1797
- isExpired?: boolean | undefined;
1798
- fillLatencySeconds?: number | undefined;
1799
- paymentId?: string | undefined;
1800
- releasedAmount?: string | undefined;
1801
- currency?: string | undefined;
1802
- currencyHash?: string | undefined;
1803
- fiatPaid?: number | undefined;
1804
- paidCurrency?: string | undefined;
1805
- paidAt?: number | undefined;
1806
- signaledAt?: number | undefined;
1807
- expiresAt?: number | undefined;
1808
- fulfilledAt?: number | undefined;
1809
- prunedAt?: number | undefined;
1810
- rate?: number | undefined;
1811
- fiatOwed?: number | undefined;
1812
- }, {
1813
- intentHash: string;
1814
- amount: string;
1815
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
1816
- buyer: string;
1817
- conversionRate?: string | undefined;
1818
- isExpired?: boolean | undefined;
1819
- fillLatencySeconds?: number | undefined;
1820
- paymentId?: string | undefined;
1821
- releasedAmount?: string | undefined;
1822
- currency?: string | undefined;
1823
- currencyHash?: string | undefined;
1824
- fiatPaid?: number | undefined;
1825
- paidCurrency?: string | undefined;
1826
- paidAt?: number | undefined;
1827
- signaledAt?: number | undefined;
1828
- expiresAt?: number | undefined;
1829
- fulfilledAt?: number | undefined;
1830
- prunedAt?: number | undefined;
1831
- rate?: number | undefined;
1832
- fiatOwed?: number | undefined;
1833
- }>, "many">;
784
+ }, z.core.$strip>>;
1834
785
  totalAmount: z.ZodString;
1835
786
  filledAmount: z.ZodString;
1836
787
  pendingAmount: z.ZodString;
1837
788
  returnedAmount: z.ZodString;
1838
- nextActions: z.ZodArray<z.ZodEnum<["wait", "withdraw"]>, "many">;
789
+ nextActions: z.ZodArray<z.ZodEnum<{
790
+ wait: "wait";
791
+ withdraw: "withdraw";
792
+ }>>;
1839
793
  primaryIntentHash: z.ZodOptional<z.ZodString>;
1840
794
  matchedAt: z.ZodOptional<z.ZodNumber>;
1841
795
  deliveredAt: z.ZodOptional<z.ZodNumber>;
@@ -1855,544 +809,83 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1855
809
  oracleRate: z.ZodOptional<z.ZodNumber>;
1856
810
  lastOracleUpdatedAt: z.ZodOptional<z.ZodNumber>;
1857
811
  marketRate: z.ZodBoolean;
1858
- }, "strip", z.ZodTypeAny, {
1859
- marketRate: boolean;
1860
- spreadBps?: number | undefined;
1861
- lastOracleUpdatedAt?: number | undefined;
1862
- kind?: string | undefined;
1863
- rateSource?: string | undefined;
1864
- oracleRate?: number | undefined;
1865
- }, {
1866
- marketRate: boolean;
1867
- spreadBps?: number | undefined;
1868
- lastOracleUpdatedAt?: number | undefined;
1869
- kind?: string | undefined;
1870
- rateSource?: string | undefined;
1871
- oracleRate?: number | undefined;
1872
- }>;
1873
- }, "strip", z.ZodTypeAny, {
1874
- platform: string;
1875
- pricing: {
1876
- marketRate: boolean;
1877
- spreadBps?: number | undefined;
1878
- lastOracleUpdatedAt?: number | undefined;
1879
- kind?: string | undefined;
1880
- rateSource?: string | undefined;
1881
- oracleRate?: number | undefined;
1882
- };
1883
- platformHash: string;
1884
- payeeHash: string;
1885
- active: boolean;
1886
- currency?: string | undefined;
1887
- currencyHash?: string | undefined;
1888
- }, {
1889
- platform: string;
1890
- pricing: {
1891
- marketRate: boolean;
1892
- spreadBps?: number | undefined;
1893
- lastOracleUpdatedAt?: number | undefined;
1894
- kind?: string | undefined;
1895
- rateSource?: string | undefined;
1896
- oracleRate?: number | undefined;
1897
- };
1898
- platformHash: string;
1899
- payeeHash: string;
1900
- active: boolean;
1901
- currency?: string | undefined;
1902
- currencyHash?: string | undefined;
1903
- }>, "many">>;
812
+ }, z.core.$strip>;
813
+ }, z.core.$strip>>>;
1904
814
  successRateBps: z.ZodOptional<z.ZodNumber>;
1905
815
  isInFlight: z.ZodBoolean;
1906
816
  withdrawn: z.ZodOptional<z.ZodBoolean>;
1907
- }, "strip", z.ZodTypeAny, {
1908
- depositId: string;
1909
- state: "awaiting-buyer" | "matched" | "delivering" | "delivered" | "returned";
1910
- fills: {
1911
- intentHash: string;
1912
- amount: string;
1913
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
1914
- buyer: string;
1915
- conversionRate?: string | undefined;
1916
- isExpired?: boolean | undefined;
1917
- fillLatencySeconds?: number | undefined;
1918
- paymentId?: string | undefined;
1919
- releasedAmount?: string | undefined;
1920
- currency?: string | undefined;
1921
- currencyHash?: string | undefined;
1922
- fiatPaid?: number | undefined;
1923
- paidCurrency?: string | undefined;
1924
- paidAt?: number | undefined;
1925
- signaledAt?: number | undefined;
1926
- expiresAt?: number | undefined;
1927
- fulfilledAt?: number | undefined;
1928
- prunedAt?: number | undefined;
1929
- rate?: number | undefined;
1930
- fiatOwed?: number | undefined;
1931
- }[];
1932
- totalAmount: string;
1933
- filledAmount: string;
1934
- pendingAmount: string;
1935
- returnedAmount: string;
1936
- nextActions: ("wait" | "withdraw")[];
1937
- isInFlight: boolean;
1938
- updatedAt?: number | undefined;
1939
- successRateBps?: number | undefined;
1940
- payouts?: {
1941
- platform: string;
1942
- pricing: {
1943
- marketRate: boolean;
1944
- spreadBps?: number | undefined;
1945
- lastOracleUpdatedAt?: number | undefined;
1946
- kind?: string | undefined;
1947
- rateSource?: string | undefined;
1948
- oracleRate?: number | undefined;
1949
- };
1950
- platformHash: string;
1951
- payeeHash: string;
1952
- active: boolean;
1953
- currency?: string | undefined;
1954
- currencyHash?: string | undefined;
1955
- }[] | undefined;
1956
- primaryIntentHash?: string | undefined;
1957
- matchedAt?: number | undefined;
1958
- deliveredAt?: number | undefined;
1959
- intentCount?: number | undefined;
1960
- withdrawn?: boolean | undefined;
1961
- }, {
1962
- depositId: string;
1963
- state: "awaiting-buyer" | "matched" | "delivering" | "delivered" | "returned";
1964
- fills: {
1965
- intentHash: string;
1966
- amount: string;
1967
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
1968
- buyer: string;
1969
- conversionRate?: string | undefined;
1970
- isExpired?: boolean | undefined;
1971
- fillLatencySeconds?: number | undefined;
1972
- paymentId?: string | undefined;
1973
- releasedAmount?: string | undefined;
1974
- currency?: string | undefined;
1975
- currencyHash?: string | undefined;
1976
- fiatPaid?: number | undefined;
1977
- paidCurrency?: string | undefined;
1978
- paidAt?: number | undefined;
1979
- signaledAt?: number | undefined;
1980
- expiresAt?: number | undefined;
1981
- fulfilledAt?: number | undefined;
1982
- prunedAt?: number | undefined;
1983
- rate?: number | undefined;
1984
- fiatOwed?: number | undefined;
1985
- }[];
1986
- totalAmount: string;
1987
- filledAmount: string;
1988
- pendingAmount: string;
1989
- returnedAmount: string;
1990
- nextActions: ("wait" | "withdraw")[];
1991
- isInFlight: boolean;
1992
- updatedAt?: number | undefined;
1993
- successRateBps?: number | undefined;
1994
- payouts?: {
1995
- platform: string;
1996
- pricing: {
1997
- marketRate: boolean;
1998
- spreadBps?: number | undefined;
1999
- lastOracleUpdatedAt?: number | undefined;
2000
- kind?: string | undefined;
2001
- rateSource?: string | undefined;
2002
- oracleRate?: number | undefined;
2003
- };
2004
- platformHash: string;
2005
- payeeHash: string;
2006
- active: boolean;
2007
- currency?: string | undefined;
2008
- currencyHash?: string | undefined;
2009
- }[] | undefined;
2010
- primaryIntentHash?: string | undefined;
2011
- matchedAt?: number | undefined;
2012
- deliveredAt?: number | undefined;
2013
- intentCount?: number | undefined;
2014
- withdrawn?: boolean | undefined;
2015
- }>;
817
+ }, z.core.$strip>;
2016
818
  accessPolicyTxHash: z.ZodOptional<z.ZodString>;
2017
819
  source: z.ZodOptional<z.ZodObject<{
2018
820
  amount: z.ZodString;
2019
821
  requestId: z.ZodOptional<z.ZodString>;
2020
- txHashes: z.ZodArray<z.ZodString, "many">;
822
+ txHashes: z.ZodArray<z.ZodString>;
2021
823
  transactions: z.ZodOptional<z.ZodObject<{
2022
824
  origin: z.ZodArray<z.ZodObject<{
2023
825
  hash: z.ZodString;
2024
826
  chainId: z.ZodNumber;
2025
827
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
2026
- }, "strip", z.ZodTypeAny, {
2027
- chainId: number;
2028
- hash: string;
2029
- isBatchTx?: boolean | undefined;
2030
- }, {
2031
- chainId: number;
2032
- hash: string;
2033
- isBatchTx?: boolean | undefined;
2034
- }>, "many">;
828
+ }, z.core.$strip>>;
2035
829
  destination: z.ZodArray<z.ZodObject<{
2036
830
  hash: z.ZodString;
2037
831
  chainId: z.ZodNumber;
2038
832
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
2039
- }, "strip", z.ZodTypeAny, {
2040
- chainId: number;
2041
- hash: string;
2042
- isBatchTx?: boolean | undefined;
2043
- }, {
2044
- chainId: number;
2045
- hash: string;
2046
- isBatchTx?: boolean | undefined;
2047
- }>, "many">;
2048
- }, "strict", z.ZodTypeAny, {
2049
- destination: {
2050
- chainId: number;
2051
- hash: string;
2052
- isBatchTx?: boolean | undefined;
2053
- }[];
2054
- origin: {
2055
- chainId: number;
2056
- hash: string;
2057
- isBatchTx?: boolean | undefined;
2058
- }[];
2059
- }, {
2060
- destination: {
2061
- chainId: number;
2062
- hash: string;
2063
- isBatchTx?: boolean | undefined;
2064
- }[];
2065
- origin: {
2066
- chainId: number;
2067
- hash: string;
2068
- isBatchTx?: boolean | undefined;
2069
- }[];
2070
- }>>;
2071
- }, "strip", z.ZodTypeAny, {
2072
- amount: string;
2073
- txHashes: string[];
2074
- transactions?: {
2075
- destination: {
2076
- chainId: number;
2077
- hash: string;
2078
- isBatchTx?: boolean | undefined;
2079
- }[];
2080
- origin: {
2081
- chainId: number;
2082
- hash: string;
2083
- isBatchTx?: boolean | undefined;
2084
- }[];
2085
- } | undefined;
2086
- requestId?: string | undefined;
2087
- }, {
2088
- amount: string;
2089
- txHashes: string[];
2090
- transactions?: {
2091
- destination: {
2092
- chainId: number;
2093
- hash: string;
2094
- isBatchTx?: boolean | undefined;
2095
- }[];
2096
- origin: {
2097
- chainId: number;
2098
- hash: string;
2099
- isBatchTx?: boolean | undefined;
2100
- }[];
2101
- } | undefined;
2102
- requestId?: string | undefined;
2103
- }>>;
2104
- }, "strip", z.ZodTypeAny, {
2105
- depositId: string;
2106
- escrowAddress: string;
2107
- txHash: string;
2108
- onchainDepositId: string;
2109
- order: {
2110
- depositId: string;
2111
- state: "awaiting-buyer" | "matched" | "delivering" | "delivered" | "returned";
2112
- fills: {
2113
- intentHash: string;
2114
- amount: string;
2115
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
2116
- buyer: string;
2117
- conversionRate?: string | undefined;
2118
- isExpired?: boolean | undefined;
2119
- fillLatencySeconds?: number | undefined;
2120
- paymentId?: string | undefined;
2121
- releasedAmount?: string | undefined;
2122
- currency?: string | undefined;
2123
- currencyHash?: string | undefined;
2124
- fiatPaid?: number | undefined;
2125
- paidCurrency?: string | undefined;
2126
- paidAt?: number | undefined;
2127
- signaledAt?: number | undefined;
2128
- expiresAt?: number | undefined;
2129
- fulfilledAt?: number | undefined;
2130
- prunedAt?: number | undefined;
2131
- rate?: number | undefined;
2132
- fiatOwed?: number | undefined;
2133
- }[];
2134
- totalAmount: string;
2135
- filledAmount: string;
2136
- pendingAmount: string;
2137
- returnedAmount: string;
2138
- nextActions: ("wait" | "withdraw")[];
2139
- isInFlight: boolean;
2140
- updatedAt?: number | undefined;
2141
- successRateBps?: number | undefined;
2142
- payouts?: {
2143
- platform: string;
2144
- pricing: {
2145
- marketRate: boolean;
2146
- spreadBps?: number | undefined;
2147
- lastOracleUpdatedAt?: number | undefined;
2148
- kind?: string | undefined;
2149
- rateSource?: string | undefined;
2150
- oracleRate?: number | undefined;
2151
- };
2152
- platformHash: string;
2153
- payeeHash: string;
2154
- active: boolean;
2155
- currency?: string | undefined;
2156
- currencyHash?: string | undefined;
2157
- }[] | undefined;
2158
- primaryIntentHash?: string | undefined;
2159
- matchedAt?: number | undefined;
2160
- deliveredAt?: number | undefined;
2161
- intentCount?: number | undefined;
2162
- withdrawn?: boolean | undefined;
2163
- };
2164
- source?: {
2165
- amount: string;
2166
- txHashes: string[];
2167
- transactions?: {
2168
- destination: {
2169
- chainId: number;
2170
- hash: string;
2171
- isBatchTx?: boolean | undefined;
2172
- }[];
2173
- origin: {
2174
- chainId: number;
2175
- hash: string;
2176
- isBatchTx?: boolean | undefined;
2177
- }[];
2178
- } | undefined;
2179
- requestId?: string | undefined;
2180
- } | undefined;
2181
- accessPolicyTxHash?: string | undefined;
2182
- }, {
2183
- depositId: string;
2184
- escrowAddress: string;
2185
- txHash: string;
2186
- onchainDepositId: string;
2187
- order: {
2188
- depositId: string;
2189
- state: "awaiting-buyer" | "matched" | "delivering" | "delivered" | "returned";
2190
- fills: {
2191
- intentHash: string;
2192
- amount: string;
2193
- status: "SIGNALED" | "FULFILLED" | "PRUNED" | "MANUALLY_RELEASED";
2194
- buyer: string;
2195
- conversionRate?: string | undefined;
2196
- isExpired?: boolean | undefined;
2197
- fillLatencySeconds?: number | undefined;
2198
- paymentId?: string | undefined;
2199
- releasedAmount?: string | undefined;
2200
- currency?: string | undefined;
2201
- currencyHash?: string | undefined;
2202
- fiatPaid?: number | undefined;
2203
- paidCurrency?: string | undefined;
2204
- paidAt?: number | undefined;
2205
- signaledAt?: number | undefined;
2206
- expiresAt?: number | undefined;
2207
- fulfilledAt?: number | undefined;
2208
- prunedAt?: number | undefined;
2209
- rate?: number | undefined;
2210
- fiatOwed?: number | undefined;
2211
- }[];
2212
- totalAmount: string;
2213
- filledAmount: string;
2214
- pendingAmount: string;
2215
- returnedAmount: string;
2216
- nextActions: ("wait" | "withdraw")[];
2217
- isInFlight: boolean;
2218
- updatedAt?: number | undefined;
2219
- successRateBps?: number | undefined;
2220
- payouts?: {
2221
- platform: string;
2222
- pricing: {
2223
- marketRate: boolean;
2224
- spreadBps?: number | undefined;
2225
- lastOracleUpdatedAt?: number | undefined;
2226
- kind?: string | undefined;
2227
- rateSource?: string | undefined;
2228
- oracleRate?: number | undefined;
2229
- };
2230
- platformHash: string;
2231
- payeeHash: string;
2232
- active: boolean;
2233
- currency?: string | undefined;
2234
- currencyHash?: string | undefined;
2235
- }[] | undefined;
2236
- primaryIntentHash?: string | undefined;
2237
- matchedAt?: number | undefined;
2238
- deliveredAt?: number | undefined;
2239
- intentCount?: number | undefined;
2240
- withdrawn?: boolean | undefined;
2241
- };
2242
- source?: {
2243
- amount: string;
2244
- txHashes: string[];
2245
- transactions?: {
2246
- destination: {
2247
- chainId: number;
2248
- hash: string;
2249
- isBatchTx?: boolean | undefined;
2250
- }[];
2251
- origin: {
2252
- chainId: number;
2253
- hash: string;
2254
- isBatchTx?: boolean | undefined;
2255
- }[];
2256
- } | undefined;
2257
- requestId?: string | undefined;
2258
- } | undefined;
2259
- accessPolicyTxHash?: string | undefined;
2260
- }>;
833
+ }, z.core.$strip>>;
834
+ }, z.core.$strict>>;
835
+ }, z.core.$strip>>;
836
+ }, z.core.$strip>;
2261
837
  declare const prepareResultJsonSchema: z.ZodObject<{
2262
838
  txs: z.ZodArray<z.ZodObject<{
2263
839
  to: z.ZodString;
2264
840
  data: z.ZodString;
2265
841
  value: z.ZodString;
2266
842
  chainId: z.ZodNumber;
2267
- }, "strip", z.ZodTypeAny, {
2268
- chainId: number;
2269
- data: string;
2270
- to: string;
2271
- value: string;
2272
- }, {
2273
- chainId: number;
2274
- data: string;
2275
- to: string;
2276
- value: string;
2277
- }>, "many">;
843
+ }, z.core.$strip>>;
2278
844
  steps: z.ZodArray<z.ZodObject<{
2279
- kind: z.ZodEnum<["approve", "createDeposit", "pruneExpiredIntents", "withdrawDeposit", "removeFunds", "addFunds"]>;
845
+ kind: z.ZodEnum<{
846
+ createDeposit: "createDeposit";
847
+ approve: "approve";
848
+ pruneExpiredIntents: "pruneExpiredIntents";
849
+ withdrawDeposit: "withdrawDeposit";
850
+ removeFunds: "removeFunds";
851
+ addFunds: "addFunds";
852
+ }>;
2280
853
  description: z.ZodString;
2281
- }, "strip", z.ZodTypeAny, {
2282
- kind: "createDeposit" | "approve" | "pruneExpiredIntents" | "withdrawDeposit" | "removeFunds" | "addFunds";
2283
- description: string;
2284
- }, {
2285
- kind: "createDeposit" | "approve" | "pruneExpiredIntents" | "withdrawDeposit" | "removeFunds" | "addFunds";
2286
- description: string;
2287
- }>, "many">;
854
+ }, z.core.$strip>>;
2288
855
  register: z.ZodObject<{
2289
- hashedOnchainIds: z.ZodArray<z.ZodString, "many">;
2290
- }, "strip", z.ZodTypeAny, {
2291
- hashedOnchainIds: string[];
2292
- }, {
2293
- hashedOnchainIds: string[];
2294
- }>;
856
+ hashedOnchainIds: z.ZodArray<z.ZodString>;
857
+ }, z.core.$strip>;
2295
858
  accessPolicyRequired: z.ZodBoolean;
2296
- }, "strip", z.ZodTypeAny, {
2297
- steps: {
2298
- kind: "createDeposit" | "approve" | "pruneExpiredIntents" | "withdrawDeposit" | "removeFunds" | "addFunds";
2299
- description: string;
2300
- }[];
2301
- txs: {
2302
- chainId: number;
2303
- data: string;
2304
- to: string;
2305
- value: string;
2306
- }[];
2307
- register: {
2308
- hashedOnchainIds: string[];
2309
- };
2310
- accessPolicyRequired: boolean;
2311
- }, {
2312
- steps: {
2313
- kind: "createDeposit" | "approve" | "pruneExpiredIntents" | "withdrawDeposit" | "removeFunds" | "addFunds";
2314
- description: string;
2315
- }[];
2316
- txs: {
2317
- chainId: number;
2318
- data: string;
2319
- to: string;
2320
- value: string;
2321
- }[];
2322
- register: {
2323
- hashedOnchainIds: string[];
2324
- };
2325
- accessPolicyRequired: boolean;
2326
- }>;
859
+ }, z.core.$strip>;
2327
860
  declare const withdrawResultJsonSchema: z.ZodObject<{
2328
861
  depositId: z.ZodString;
2329
862
  pruneTxHash: z.ZodOptional<z.ZodString>;
2330
863
  withdrawTxHash: z.ZodString;
2331
- }, "strip", z.ZodTypeAny, {
2332
- depositId: string;
2333
- withdrawTxHash: string;
2334
- pruneTxHash?: string | undefined;
2335
- }, {
2336
- depositId: string;
2337
- withdrawTxHash: string;
2338
- pruneTxHash?: string | undefined;
2339
- }>;
864
+ }, z.core.$strip>;
2340
865
  declare const topUpResultJsonSchema: z.ZodObject<{
2341
866
  depositId: z.ZodString;
2342
867
  txHash: z.ZodString;
2343
- }, "strip", z.ZodTypeAny, {
2344
- depositId: string;
2345
- txHash: string;
2346
- }, {
2347
- depositId: string;
2348
- txHash: string;
2349
- }>;
868
+ }, z.core.$strip>;
2350
869
  declare const cashCapabilitiesJsonSchema: z.ZodObject<{
2351
870
  chainId: z.ZodNumber;
2352
871
  token: z.ZodObject<{
2353
872
  address: z.ZodString;
2354
873
  symbol: z.ZodLiteral<"USDC">;
2355
874
  decimals: z.ZodNumber;
2356
- }, "strip", z.ZodTypeAny, {
2357
- symbol: "USDC";
2358
- address: string;
2359
- decimals: number;
2360
- }, {
2361
- symbol: "USDC";
2362
- address: string;
2363
- decimals: number;
875
+ }, z.core.$strip>;
876
+ environment: z.ZodEnum<{
877
+ production: "production";
878
+ preproduction: "preproduction";
879
+ staging: "staging";
2364
880
  }>;
2365
- environment: z.ZodEnum<["production", "preproduction", "staging"]>;
2366
881
  destination: z.ZodObject<{
2367
882
  chainId: z.ZodNumber;
2368
883
  token: z.ZodObject<{
2369
884
  address: z.ZodString;
2370
885
  symbol: z.ZodLiteral<"USDC">;
2371
886
  decimals: z.ZodNumber;
2372
- }, "strip", z.ZodTypeAny, {
2373
- symbol: "USDC";
2374
- address: string;
2375
- decimals: number;
2376
- }, {
2377
- symbol: "USDC";
2378
- address: string;
2379
- decimals: number;
2380
- }>;
2381
- }, "strip", z.ZodTypeAny, {
2382
- chainId: number;
2383
- token: {
2384
- symbol: "USDC";
2385
- address: string;
2386
- decimals: number;
2387
- };
2388
- }, {
2389
- chainId: number;
2390
- token: {
2391
- symbol: "USDC";
2392
- address: string;
2393
- decimals: number;
2394
- };
2395
- }>;
887
+ }, z.core.$strip>;
888
+ }, z.core.$strip>;
2396
889
  source: z.ZodObject<{
2397
890
  default: z.ZodObject<{
2398
891
  chainId: z.ZodNumber;
@@ -2400,30 +893,8 @@ declare const cashCapabilitiesJsonSchema: z.ZodObject<{
2400
893
  address: z.ZodString;
2401
894
  symbol: z.ZodLiteral<"USDC">;
2402
895
  decimals: z.ZodNumber;
2403
- }, "strip", z.ZodTypeAny, {
2404
- symbol: "USDC";
2405
- address: string;
2406
- decimals: number;
2407
- }, {
2408
- symbol: "USDC";
2409
- address: string;
2410
- decimals: number;
2411
- }>;
2412
- }, "strip", z.ZodTypeAny, {
2413
- chainId: number;
2414
- token: {
2415
- symbol: "USDC";
2416
- address: string;
2417
- decimals: number;
2418
- };
2419
- }, {
2420
- chainId: number;
2421
- token: {
2422
- symbol: "USDC";
2423
- address: string;
2424
- decimals: number;
2425
- };
2426
- }>;
896
+ }, z.core.$strip>;
897
+ }, z.core.$strip>;
2427
898
  relay: z.ZodOptional<z.ZodObject<{
2428
899
  destination: z.ZodObject<{
2429
900
  chainId: z.ZodNumber;
@@ -2432,21 +903,7 @@ declare const cashCapabilitiesJsonSchema: z.ZodObject<{
2432
903
  decimals: z.ZodNumber;
2433
904
  name: z.ZodOptional<z.ZodString>;
2434
905
  isNative: z.ZodOptional<z.ZodBoolean>;
2435
- }, "strip", z.ZodTypeAny, {
2436
- symbol: string;
2437
- chainId: number;
2438
- address: string;
2439
- decimals: number;
2440
- name?: string | undefined;
2441
- isNative?: boolean | undefined;
2442
- }, {
2443
- symbol: string;
2444
- chainId: number;
2445
- address: string;
2446
- decimals: number;
2447
- name?: string | undefined;
2448
- isNative?: boolean | undefined;
2449
- }>;
906
+ }, z.core.$strip>;
2450
907
  chains: z.ZodArray<z.ZodObject<{
2451
908
  id: z.ZodNumber;
2452
909
  name: z.ZodString;
@@ -2462,1626 +919,278 @@ declare const cashCapabilitiesJsonSchema: z.ZodObject<{
2462
919
  decimals: z.ZodNumber;
2463
920
  name: z.ZodOptional<z.ZodString>;
2464
921
  isNative: z.ZodOptional<z.ZodBoolean>;
2465
- }, "strip", z.ZodTypeAny, {
2466
- symbol: string;
2467
- chainId: number;
2468
- address: string;
2469
- decimals: number;
2470
- name?: string | undefined;
2471
- isNative?: boolean | undefined;
2472
- }, {
2473
- symbol: string;
2474
- chainId: number;
2475
- address: string;
2476
- decimals: number;
2477
- name?: string | undefined;
2478
- isNative?: boolean | undefined;
2479
- }>, "many">;
2480
- }, "strip", z.ZodTypeAny, {
2481
- id: number;
2482
- name: string;
2483
- disabled: boolean;
2484
- tokens: {
2485
- symbol: string;
2486
- chainId: number;
2487
- address: string;
2488
- decimals: number;
2489
- name?: string | undefined;
2490
- isNative?: boolean | undefined;
2491
- }[];
2492
- displayName: string;
2493
- depositEnabled: boolean;
2494
- blockProductionLagging: boolean;
2495
- vmType?: string | undefined;
2496
- }, {
2497
- id: number;
2498
- name: string;
2499
- disabled: boolean;
2500
- tokens: {
2501
- symbol: string;
2502
- chainId: number;
2503
- address: string;
2504
- decimals: number;
2505
- name?: string | undefined;
2506
- isNative?: boolean | undefined;
2507
- }[];
2508
- displayName: string;
2509
- depositEnabled: boolean;
2510
- blockProductionLagging: boolean;
2511
- vmType?: string | undefined;
2512
- }>, "many">;
922
+ }, z.core.$strip>>;
923
+ }, z.core.$strip>>;
2513
924
  source: z.ZodLiteral<"relay-sdk">;
2514
925
  asOf: z.ZodNumber;
2515
- }, "strip", z.ZodTypeAny, {
2516
- source: "relay-sdk";
2517
- chains: {
2518
- id: number;
2519
- name: string;
2520
- disabled: boolean;
2521
- tokens: {
2522
- symbol: string;
2523
- chainId: number;
2524
- address: string;
2525
- decimals: number;
2526
- name?: string | undefined;
2527
- isNative?: boolean | undefined;
2528
- }[];
2529
- displayName: string;
2530
- depositEnabled: boolean;
2531
- blockProductionLagging: boolean;
2532
- vmType?: string | undefined;
2533
- }[];
2534
- destination: {
2535
- symbol: string;
2536
- chainId: number;
2537
- address: string;
2538
- decimals: number;
2539
- name?: string | undefined;
2540
- isNative?: boolean | undefined;
2541
- };
2542
- asOf: number;
2543
- }, {
2544
- source: "relay-sdk";
2545
- chains: {
2546
- id: number;
2547
- name: string;
2548
- disabled: boolean;
2549
- tokens: {
2550
- symbol: string;
2551
- chainId: number;
2552
- address: string;
2553
- decimals: number;
2554
- name?: string | undefined;
2555
- isNative?: boolean | undefined;
2556
- }[];
2557
- displayName: string;
2558
- depositEnabled: boolean;
2559
- blockProductionLagging: boolean;
2560
- vmType?: string | undefined;
2561
- }[];
2562
- destination: {
2563
- symbol: string;
2564
- chainId: number;
2565
- address: string;
2566
- decimals: number;
2567
- name?: string | undefined;
2568
- isNative?: boolean | undefined;
2569
- };
2570
- asOf: number;
2571
- }>>;
2572
- }, "strip", z.ZodTypeAny, {
2573
- default: {
2574
- chainId: number;
2575
- token: {
2576
- symbol: "USDC";
2577
- address: string;
2578
- decimals: number;
2579
- };
2580
- };
2581
- relay?: {
2582
- source: "relay-sdk";
2583
- chains: {
2584
- id: number;
2585
- name: string;
2586
- disabled: boolean;
2587
- tokens: {
2588
- symbol: string;
2589
- chainId: number;
2590
- address: string;
2591
- decimals: number;
2592
- name?: string | undefined;
2593
- isNative?: boolean | undefined;
2594
- }[];
2595
- displayName: string;
2596
- depositEnabled: boolean;
2597
- blockProductionLagging: boolean;
2598
- vmType?: string | undefined;
2599
- }[];
2600
- destination: {
2601
- symbol: string;
2602
- chainId: number;
2603
- address: string;
2604
- decimals: number;
2605
- name?: string | undefined;
2606
- isNative?: boolean | undefined;
2607
- };
2608
- asOf: number;
2609
- } | undefined;
2610
- }, {
2611
- default: {
2612
- chainId: number;
2613
- token: {
2614
- symbol: "USDC";
2615
- address: string;
2616
- decimals: number;
2617
- };
2618
- };
2619
- relay?: {
2620
- source: "relay-sdk";
2621
- chains: {
2622
- id: number;
2623
- name: string;
2624
- disabled: boolean;
2625
- tokens: {
2626
- symbol: string;
2627
- chainId: number;
2628
- address: string;
2629
- decimals: number;
2630
- name?: string | undefined;
2631
- isNative?: boolean | undefined;
2632
- }[];
2633
- displayName: string;
2634
- depositEnabled: boolean;
2635
- blockProductionLagging: boolean;
2636
- vmType?: string | undefined;
2637
- }[];
2638
- destination: {
2639
- symbol: string;
2640
- chainId: number;
2641
- address: string;
2642
- decimals: number;
2643
- name?: string | undefined;
2644
- isNative?: boolean | undefined;
2645
- };
2646
- asOf: number;
2647
- } | undefined;
2648
- }>;
926
+ }, z.core.$strip>>;
927
+ }, z.core.$strip>;
2649
928
  platforms: z.ZodArray<z.ZodObject<{
2650
929
  platform: z.ZodString;
2651
- currencies: z.ZodArray<z.ZodString, "many">;
930
+ currencies: z.ZodArray<z.ZodString>;
2652
931
  payeeHint: z.ZodString;
2653
932
  requiresIdentityAttestation: z.ZodBoolean;
2654
933
  requiresAtomicAccessPolicy: z.ZodOptional<z.ZodBoolean>;
2655
- }, "strip", z.ZodTypeAny, {
2656
- platform: string;
2657
- currencies: string[];
2658
- payeeHint: string;
2659
- requiresIdentityAttestation: boolean;
2660
- requiresAtomicAccessPolicy?: boolean | undefined;
2661
- }, {
2662
- platform: string;
2663
- currencies: string[];
2664
- payeeHint: string;
2665
- requiresIdentityAttestation: boolean;
2666
- requiresAtomicAccessPolicy?: boolean | undefined;
2667
- }>, "many">;
2668
- currencies: z.ZodArray<z.ZodString, "many">;
934
+ }, z.core.$strip>>;
935
+ currencies: z.ZodArray<z.ZodString>;
2669
936
  amount: z.ZodObject<{
2670
937
  min: z.ZodString;
2671
938
  recommendedMin: z.ZodString;
2672
939
  max: z.ZodNull;
2673
- }, "strip", z.ZodTypeAny, {
2674
- min: string;
2675
- recommendedMin: string;
2676
- max: null;
2677
- }, {
2678
- min: string;
2679
- recommendedMin: string;
2680
- max: null;
2681
- }>;
940
+ }, z.core.$strip>;
2682
941
  pricing: z.ZodObject<{
2683
942
  kind: z.ZodLiteral<"oracle-market-rate">;
2684
943
  spreadBps: z.ZodLiteral<0>;
2685
- }, "strip", z.ZodTypeAny, {
2686
- spreadBps: 0;
2687
- kind: "oracle-market-rate";
2688
- }, {
2689
- spreadBps: 0;
2690
- kind: "oracle-market-rate";
2691
- }>;
2692
- }, "strip", z.ZodTypeAny, {
2693
- amount: {
2694
- min: string;
2695
- recommendedMin: string;
2696
- max: null;
2697
- };
2698
- chainId: number;
2699
- token: {
2700
- symbol: "USDC";
2701
- address: string;
2702
- decimals: number;
2703
- };
2704
- source: {
2705
- default: {
2706
- chainId: number;
2707
- token: {
2708
- symbol: "USDC";
2709
- address: string;
2710
- decimals: number;
2711
- };
2712
- };
2713
- relay?: {
2714
- source: "relay-sdk";
2715
- chains: {
2716
- id: number;
2717
- name: string;
2718
- disabled: boolean;
2719
- tokens: {
2720
- symbol: string;
2721
- chainId: number;
2722
- address: string;
2723
- decimals: number;
2724
- name?: string | undefined;
2725
- isNative?: boolean | undefined;
2726
- }[];
2727
- displayName: string;
2728
- depositEnabled: boolean;
2729
- blockProductionLagging: boolean;
2730
- vmType?: string | undefined;
2731
- }[];
2732
- destination: {
2733
- symbol: string;
2734
- chainId: number;
2735
- address: string;
2736
- decimals: number;
2737
- name?: string | undefined;
2738
- isNative?: boolean | undefined;
2739
- };
2740
- asOf: number;
2741
- } | undefined;
2742
- };
2743
- destination: {
2744
- chainId: number;
2745
- token: {
2746
- symbol: "USDC";
2747
- address: string;
2748
- decimals: number;
2749
- };
2750
- };
2751
- currencies: string[];
2752
- environment: "production" | "preproduction" | "staging";
2753
- platforms: {
2754
- platform: string;
2755
- currencies: string[];
2756
- payeeHint: string;
2757
- requiresIdentityAttestation: boolean;
2758
- requiresAtomicAccessPolicy?: boolean | undefined;
2759
- }[];
2760
- pricing: {
2761
- spreadBps: 0;
2762
- kind: "oracle-market-rate";
2763
- };
2764
- }, {
2765
- amount: {
2766
- min: string;
2767
- recommendedMin: string;
2768
- max: null;
2769
- };
2770
- chainId: number;
2771
- token: {
2772
- symbol: "USDC";
2773
- address: string;
2774
- decimals: number;
2775
- };
2776
- source: {
2777
- default: {
2778
- chainId: number;
2779
- token: {
2780
- symbol: "USDC";
2781
- address: string;
2782
- decimals: number;
2783
- };
2784
- };
2785
- relay?: {
2786
- source: "relay-sdk";
2787
- chains: {
2788
- id: number;
2789
- name: string;
2790
- disabled: boolean;
2791
- tokens: {
2792
- symbol: string;
2793
- chainId: number;
2794
- address: string;
2795
- decimals: number;
2796
- name?: string | undefined;
2797
- isNative?: boolean | undefined;
2798
- }[];
2799
- displayName: string;
2800
- depositEnabled: boolean;
2801
- blockProductionLagging: boolean;
2802
- vmType?: string | undefined;
2803
- }[];
2804
- destination: {
2805
- symbol: string;
2806
- chainId: number;
2807
- address: string;
2808
- decimals: number;
2809
- name?: string | undefined;
2810
- isNative?: boolean | undefined;
2811
- };
2812
- asOf: number;
2813
- } | undefined;
2814
- };
2815
- destination: {
2816
- chainId: number;
2817
- token: {
2818
- symbol: "USDC";
2819
- address: string;
2820
- decimals: number;
2821
- };
2822
- };
2823
- currencies: string[];
2824
- environment: "production" | "preproduction" | "staging";
2825
- platforms: {
2826
- platform: string;
2827
- currencies: string[];
2828
- payeeHint: string;
2829
- requiresIdentityAttestation: boolean;
2830
- requiresAtomicAccessPolicy?: boolean | undefined;
2831
- }[];
2832
- pricing: {
2833
- spreadBps: 0;
2834
- kind: "oracle-market-rate";
2835
- };
2836
- }>;
2837
- declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
944
+ }, z.core.$strip>;
945
+ }, z.core.$strip>;
946
+ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2838
947
  kind: z.ZodLiteral<"retry-base-usdc-cashout">;
2839
948
  amount: z.ZodString;
2840
949
  requestId: z.ZodOptional<z.ZodString>;
2841
- txHashes: z.ZodArray<z.ZodString, "many">;
950
+ txHashes: z.ZodArray<z.ZodString>;
2842
951
  transactions: z.ZodOptional<z.ZodObject<{
2843
952
  origin: z.ZodArray<z.ZodObject<{
2844
953
  hash: z.ZodString;
2845
954
  chainId: z.ZodNumber;
2846
955
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
2847
- }, "strip", z.ZodTypeAny, {
2848
- chainId: number;
2849
- hash: string;
2850
- isBatchTx?: boolean | undefined;
2851
- }, {
2852
- chainId: number;
2853
- hash: string;
2854
- isBatchTx?: boolean | undefined;
2855
- }>, "many">;
956
+ }, z.core.$strip>>;
2856
957
  destination: z.ZodArray<z.ZodObject<{
2857
958
  hash: z.ZodString;
2858
959
  chainId: z.ZodNumber;
2859
960
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
2860
- }, "strip", z.ZodTypeAny, {
2861
- chainId: number;
2862
- hash: string;
2863
- isBatchTx?: boolean | undefined;
2864
- }, {
2865
- chainId: number;
2866
- hash: string;
2867
- isBatchTx?: boolean | undefined;
2868
- }>, "many">;
2869
- }, "strict", z.ZodTypeAny, {
2870
- destination: {
2871
- chainId: number;
2872
- hash: string;
2873
- isBatchTx?: boolean | undefined;
2874
- }[];
2875
- origin: {
2876
- chainId: number;
2877
- hash: string;
2878
- isBatchTx?: boolean | undefined;
2879
- }[];
2880
- }, {
2881
- destination: {
2882
- chainId: number;
2883
- hash: string;
2884
- isBatchTx?: boolean | undefined;
2885
- }[];
2886
- origin: {
2887
- chainId: number;
2888
- hash: string;
2889
- isBatchTx?: boolean | undefined;
2890
- }[];
2891
- }>>;
2892
- }, "strict", z.ZodTypeAny, {
2893
- amount: string;
2894
- kind: "retry-base-usdc-cashout";
2895
- txHashes: string[];
2896
- transactions?: {
2897
- destination: {
2898
- chainId: number;
2899
- hash: string;
2900
- isBatchTx?: boolean | undefined;
2901
- }[];
2902
- origin: {
2903
- chainId: number;
2904
- hash: string;
2905
- isBatchTx?: boolean | undefined;
2906
- }[];
2907
- } | undefined;
2908
- requestId?: string | undefined;
2909
- }, {
2910
- amount: string;
2911
- kind: "retry-base-usdc-cashout";
2912
- txHashes: string[];
2913
- transactions?: {
2914
- destination: {
2915
- chainId: number;
2916
- hash: string;
2917
- isBatchTx?: boolean | undefined;
2918
- }[];
2919
- origin: {
2920
- chainId: number;
2921
- hash: string;
2922
- isBatchTx?: boolean | undefined;
2923
- }[];
2924
- } | undefined;
2925
- requestId?: string | undefined;
2926
- }>, z.ZodObject<{
961
+ }, z.core.$strip>>;
962
+ }, z.core.$strict>>;
963
+ }, z.core.$strict>, z.ZodObject<{
2927
964
  kind: z.ZodLiteral<"inspect-base-cashout-transaction">;
2928
965
  depositTxHash: z.ZodString;
2929
966
  amount: z.ZodString;
2930
967
  requestId: z.ZodOptional<z.ZodString>;
2931
- txHashes: z.ZodArray<z.ZodString, "many">;
968
+ txHashes: z.ZodArray<z.ZodString>;
2932
969
  transactions: z.ZodOptional<z.ZodObject<{
2933
970
  origin: z.ZodArray<z.ZodObject<{
2934
971
  hash: z.ZodString;
2935
972
  chainId: z.ZodNumber;
2936
973
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
2937
- }, "strip", z.ZodTypeAny, {
2938
- chainId: number;
2939
- hash: string;
2940
- isBatchTx?: boolean | undefined;
2941
- }, {
2942
- chainId: number;
2943
- hash: string;
2944
- isBatchTx?: boolean | undefined;
2945
- }>, "many">;
974
+ }, z.core.$strip>>;
2946
975
  destination: z.ZodArray<z.ZodObject<{
2947
976
  hash: z.ZodString;
2948
977
  chainId: z.ZodNumber;
2949
978
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
2950
- }, "strip", z.ZodTypeAny, {
2951
- chainId: number;
2952
- hash: string;
2953
- isBatchTx?: boolean | undefined;
2954
- }, {
2955
- chainId: number;
2956
- hash: string;
2957
- isBatchTx?: boolean | undefined;
2958
- }>, "many">;
2959
- }, "strict", z.ZodTypeAny, {
2960
- destination: {
2961
- chainId: number;
2962
- hash: string;
2963
- isBatchTx?: boolean | undefined;
2964
- }[];
2965
- origin: {
2966
- chainId: number;
2967
- hash: string;
2968
- isBatchTx?: boolean | undefined;
2969
- }[];
2970
- }, {
2971
- destination: {
2972
- chainId: number;
2973
- hash: string;
2974
- isBatchTx?: boolean | undefined;
2975
- }[];
2976
- origin: {
2977
- chainId: number;
2978
- hash: string;
2979
- isBatchTx?: boolean | undefined;
2980
- }[];
2981
- }>>;
2982
- }, "strict", z.ZodTypeAny, {
2983
- amount: string;
2984
- kind: "inspect-base-cashout-transaction";
2985
- txHashes: string[];
2986
- depositTxHash: string;
2987
- transactions?: {
2988
- destination: {
2989
- chainId: number;
2990
- hash: string;
2991
- isBatchTx?: boolean | undefined;
2992
- }[];
2993
- origin: {
2994
- chainId: number;
2995
- hash: string;
2996
- isBatchTx?: boolean | undefined;
2997
- }[];
2998
- } | undefined;
2999
- requestId?: string | undefined;
3000
- }, {
3001
- amount: string;
3002
- kind: "inspect-base-cashout-transaction";
3003
- txHashes: string[];
3004
- depositTxHash: string;
3005
- transactions?: {
3006
- destination: {
3007
- chainId: number;
3008
- hash: string;
3009
- isBatchTx?: boolean | undefined;
3010
- }[];
3011
- origin: {
3012
- chainId: number;
3013
- hash: string;
3014
- isBatchTx?: boolean | undefined;
3015
- }[];
3016
- } | undefined;
3017
- requestId?: string | undefined;
3018
- }>, z.ZodObject<{
979
+ }, z.core.$strip>>;
980
+ }, z.core.$strict>>;
981
+ }, z.core.$strict>, z.ZodObject<{
3019
982
  kind: z.ZodLiteral<"inspect-base-cashout-submission">;
3020
983
  depositor: z.ZodString;
3021
984
  amount: z.ZodString;
3022
985
  requestId: z.ZodOptional<z.ZodString>;
3023
- txHashes: z.ZodArray<z.ZodString, "many">;
986
+ txHashes: z.ZodArray<z.ZodString>;
3024
987
  transactions: z.ZodOptional<z.ZodObject<{
3025
988
  origin: z.ZodArray<z.ZodObject<{
3026
989
  hash: z.ZodString;
3027
990
  chainId: z.ZodNumber;
3028
991
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3029
- }, "strip", z.ZodTypeAny, {
3030
- chainId: number;
3031
- hash: string;
3032
- isBatchTx?: boolean | undefined;
3033
- }, {
3034
- chainId: number;
3035
- hash: string;
3036
- isBatchTx?: boolean | undefined;
3037
- }>, "many">;
992
+ }, z.core.$strip>>;
3038
993
  destination: z.ZodArray<z.ZodObject<{
3039
994
  hash: z.ZodString;
3040
995
  chainId: z.ZodNumber;
3041
996
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3042
- }, "strip", z.ZodTypeAny, {
3043
- chainId: number;
3044
- hash: string;
3045
- isBatchTx?: boolean | undefined;
3046
- }, {
3047
- chainId: number;
3048
- hash: string;
3049
- isBatchTx?: boolean | undefined;
3050
- }>, "many">;
3051
- }, "strict", z.ZodTypeAny, {
3052
- destination: {
3053
- chainId: number;
3054
- hash: string;
3055
- isBatchTx?: boolean | undefined;
3056
- }[];
3057
- origin: {
3058
- chainId: number;
3059
- hash: string;
3060
- isBatchTx?: boolean | undefined;
3061
- }[];
3062
- }, {
3063
- destination: {
3064
- chainId: number;
3065
- hash: string;
3066
- isBatchTx?: boolean | undefined;
3067
- }[];
3068
- origin: {
3069
- chainId: number;
3070
- hash: string;
3071
- isBatchTx?: boolean | undefined;
3072
- }[];
3073
- }>>;
3074
- }, "strict", z.ZodTypeAny, {
3075
- amount: string;
3076
- depositor: string;
3077
- kind: "inspect-base-cashout-submission";
3078
- txHashes: string[];
3079
- transactions?: {
3080
- destination: {
3081
- chainId: number;
3082
- hash: string;
3083
- isBatchTx?: boolean | undefined;
3084
- }[];
3085
- origin: {
3086
- chainId: number;
3087
- hash: string;
3088
- isBatchTx?: boolean | undefined;
3089
- }[];
3090
- } | undefined;
3091
- requestId?: string | undefined;
3092
- }, {
3093
- amount: string;
3094
- depositor: string;
3095
- kind: "inspect-base-cashout-submission";
3096
- txHashes: string[];
3097
- transactions?: {
3098
- destination: {
3099
- chainId: number;
3100
- hash: string;
3101
- isBatchTx?: boolean | undefined;
3102
- }[];
3103
- origin: {
3104
- chainId: number;
3105
- hash: string;
3106
- isBatchTx?: boolean | undefined;
3107
- }[];
3108
- } | undefined;
3109
- requestId?: string | undefined;
3110
- }>, z.ZodObject<{
997
+ }, z.core.$strip>>;
998
+ }, z.core.$strict>>;
999
+ }, z.core.$strict>, z.ZodObject<{
3111
1000
  kind: z.ZodLiteral<"inspect-relay-route">;
3112
1001
  requestId: z.ZodOptional<z.ZodString>;
3113
- txHashes: z.ZodArray<z.ZodString, "many">;
1002
+ txHashes: z.ZodArray<z.ZodString>;
3114
1003
  transactions: z.ZodOptional<z.ZodObject<{
3115
1004
  origin: z.ZodArray<z.ZodObject<{
3116
1005
  hash: z.ZodString;
3117
1006
  chainId: z.ZodNumber;
3118
1007
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3119
- }, "strip", z.ZodTypeAny, {
3120
- chainId: number;
3121
- hash: string;
3122
- isBatchTx?: boolean | undefined;
3123
- }, {
3124
- chainId: number;
3125
- hash: string;
3126
- isBatchTx?: boolean | undefined;
3127
- }>, "many">;
1008
+ }, z.core.$strip>>;
3128
1009
  destination: z.ZodArray<z.ZodObject<{
3129
1010
  hash: z.ZodString;
3130
1011
  chainId: z.ZodNumber;
3131
1012
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3132
- }, "strip", z.ZodTypeAny, {
3133
- chainId: number;
3134
- hash: string;
3135
- isBatchTx?: boolean | undefined;
3136
- }, {
3137
- chainId: number;
3138
- hash: string;
3139
- isBatchTx?: boolean | undefined;
3140
- }>, "many">;
3141
- }, "strict", z.ZodTypeAny, {
3142
- destination: {
3143
- chainId: number;
3144
- hash: string;
3145
- isBatchTx?: boolean | undefined;
3146
- }[];
3147
- origin: {
3148
- chainId: number;
3149
- hash: string;
3150
- isBatchTx?: boolean | undefined;
3151
- }[];
3152
- }, {
3153
- destination: {
3154
- chainId: number;
3155
- hash: string;
3156
- isBatchTx?: boolean | undefined;
3157
- }[];
3158
- origin: {
3159
- chainId: number;
3160
- hash: string;
3161
- isBatchTx?: boolean | undefined;
3162
- }[];
3163
- }>>;
3164
- }, "strict", z.ZodTypeAny, {
3165
- kind: "inspect-relay-route";
3166
- txHashes: string[];
3167
- transactions?: {
3168
- destination: {
3169
- chainId: number;
3170
- hash: string;
3171
- isBatchTx?: boolean | undefined;
3172
- }[];
3173
- origin: {
3174
- chainId: number;
3175
- hash: string;
3176
- isBatchTx?: boolean | undefined;
3177
- }[];
3178
- } | undefined;
3179
- requestId?: string | undefined;
3180
- }, {
3181
- kind: "inspect-relay-route";
3182
- txHashes: string[];
3183
- transactions?: {
3184
- destination: {
3185
- chainId: number;
3186
- hash: string;
3187
- isBatchTx?: boolean | undefined;
3188
- }[];
3189
- origin: {
3190
- chainId: number;
3191
- hash: string;
3192
- isBatchTx?: boolean | undefined;
3193
- }[];
3194
- } | undefined;
3195
- requestId?: string | undefined;
3196
- }>, z.ZodObject<{
1013
+ }, z.core.$strip>>;
1014
+ }, z.core.$strict>>;
1015
+ }, z.core.$strict>, z.ZodObject<{
3197
1016
  kind: z.ZodLiteral<"inspect-base-operation-submission">;
3198
1017
  operation: z.ZodString;
3199
- }, "strict", z.ZodTypeAny, {
3200
- kind: "inspect-base-operation-submission";
3201
- operation: string;
3202
- }, {
3203
- kind: "inspect-base-operation-submission";
3204
- operation: string;
3205
- }>, z.ZodObject<{
1018
+ }, z.core.$strict>, z.ZodObject<{
3206
1019
  kind: z.ZodLiteral<"inspect-base-transaction">;
3207
1020
  transactionHash: z.ZodString;
3208
1021
  operation: z.ZodString;
3209
- }, "strict", z.ZodTypeAny, {
3210
- kind: "inspect-base-transaction";
3211
- transactionHash: string;
3212
- operation: string;
3213
- }, {
3214
- kind: "inspect-base-transaction";
3215
- transactionHash: string;
3216
- operation: string;
3217
- }>, z.ZodObject<{
1022
+ }, z.core.$strict>, z.ZodObject<{
3218
1023
  kind: z.ZodLiteral<"configure-cashout-access-policy">;
3219
1024
  depositId: z.ZodString;
3220
- groupIds: z.ZodArray<z.ZodString, "many">;
1025
+ groupIds: z.ZodArray<z.ZodString>;
3221
1026
  transactionHash: z.ZodOptional<z.ZodString>;
3222
1027
  source: z.ZodOptional<z.ZodObject<{
3223
- readonly amount: z.ZodString;
3224
- readonly requestId: z.ZodOptional<z.ZodString>;
3225
- readonly txHashes: z.ZodArray<z.ZodString, "many">;
3226
- readonly transactions: z.ZodOptional<z.ZodObject<{
1028
+ amount: z.ZodString;
1029
+ requestId: z.ZodOptional<z.ZodString>;
1030
+ txHashes: z.ZodArray<z.ZodString>;
1031
+ transactions: z.ZodOptional<z.ZodObject<{
3227
1032
  origin: z.ZodArray<z.ZodObject<{
3228
1033
  hash: z.ZodString;
3229
1034
  chainId: z.ZodNumber;
3230
1035
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3231
- }, "strip", z.ZodTypeAny, {
3232
- chainId: number;
3233
- hash: string;
3234
- isBatchTx?: boolean | undefined;
3235
- }, {
3236
- chainId: number;
3237
- hash: string;
3238
- isBatchTx?: boolean | undefined;
3239
- }>, "many">;
1036
+ }, z.core.$strip>>;
3240
1037
  destination: z.ZodArray<z.ZodObject<{
3241
1038
  hash: z.ZodString;
3242
1039
  chainId: z.ZodNumber;
3243
1040
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3244
- }, "strip", z.ZodTypeAny, {
3245
- chainId: number;
3246
- hash: string;
3247
- isBatchTx?: boolean | undefined;
3248
- }, {
3249
- chainId: number;
3250
- hash: string;
3251
- isBatchTx?: boolean | undefined;
3252
- }>, "many">;
3253
- }, "strict", z.ZodTypeAny, {
3254
- destination: {
3255
- chainId: number;
3256
- hash: string;
3257
- isBatchTx?: boolean | undefined;
3258
- }[];
3259
- origin: {
3260
- chainId: number;
3261
- hash: string;
3262
- isBatchTx?: boolean | undefined;
3263
- }[];
3264
- }, {
3265
- destination: {
3266
- chainId: number;
3267
- hash: string;
3268
- isBatchTx?: boolean | undefined;
3269
- }[];
3270
- origin: {
3271
- chainId: number;
3272
- hash: string;
3273
- isBatchTx?: boolean | undefined;
3274
- }[];
3275
- }>>;
3276
- }, "strict", z.ZodTypeAny, {
3277
- amount: string;
3278
- txHashes: string[];
3279
- transactions?: {
3280
- destination: {
3281
- chainId: number;
3282
- hash: string;
3283
- isBatchTx?: boolean | undefined;
3284
- }[];
3285
- origin: {
3286
- chainId: number;
3287
- hash: string;
3288
- isBatchTx?: boolean | undefined;
3289
- }[];
3290
- } | undefined;
3291
- requestId?: string | undefined;
3292
- }, {
3293
- amount: string;
3294
- txHashes: string[];
3295
- transactions?: {
3296
- destination: {
3297
- chainId: number;
3298
- hash: string;
3299
- isBatchTx?: boolean | undefined;
3300
- }[];
3301
- origin: {
3302
- chainId: number;
3303
- hash: string;
3304
- isBatchTx?: boolean | undefined;
3305
- }[];
3306
- } | undefined;
3307
- requestId?: string | undefined;
3308
- }>>;
3309
- }, "strict", z.ZodTypeAny, {
3310
- depositId: string;
3311
- kind: "configure-cashout-access-policy";
3312
- groupIds: string[];
3313
- transactionHash?: string | undefined;
3314
- source?: {
3315
- amount: string;
3316
- txHashes: string[];
3317
- transactions?: {
3318
- destination: {
3319
- chainId: number;
3320
- hash: string;
3321
- isBatchTx?: boolean | undefined;
3322
- }[];
3323
- origin: {
3324
- chainId: number;
3325
- hash: string;
3326
- isBatchTx?: boolean | undefined;
3327
- }[];
3328
- } | undefined;
3329
- requestId?: string | undefined;
3330
- } | undefined;
3331
- }, {
3332
- depositId: string;
3333
- kind: "configure-cashout-access-policy";
3334
- groupIds: string[];
3335
- transactionHash?: string | undefined;
3336
- source?: {
3337
- amount: string;
3338
- txHashes: string[];
3339
- transactions?: {
3340
- destination: {
3341
- chainId: number;
3342
- hash: string;
3343
- isBatchTx?: boolean | undefined;
3344
- }[];
3345
- origin: {
3346
- chainId: number;
3347
- hash: string;
3348
- isBatchTx?: boolean | undefined;
3349
- }[];
3350
- } | undefined;
3351
- requestId?: string | undefined;
3352
- } | undefined;
3353
- }>]>;
1041
+ }, z.core.$strip>>;
1042
+ }, z.core.$strict>>;
1043
+ }, z.core.$strict>>;
1044
+ }, z.core.$strict>], "kind">;
3354
1045
  declare const cashErrorJsonSchema: z.ZodObject<{
3355
- code: z.ZodEnum<["ORACLE_UNSUPPORTED_CURRENCY", "ORACLE_READ_FAILED", "UNSUPPORTED_PLATFORM", "UNSUPPORTED_PLATFORM_CURRENCY", "AMOUNT_BELOW_MINIMUM", "INVALID_INTENT_AMOUNT_RANGE", "INVALID_PAYOUT_CURRENCIES", "INVALID_PAYOUT_PLATFORMS", "INVALID_REFERRAL_CODE", "ACTIVE_INTENT_BLOCKS_WITHDRAWAL", "NOTHING_TO_WITHDRAW", "INSUFFICIENT_AVAILABLE_FUNDS", "INSUFFICIENT_TOKEN_BALANCE", "ORDER_NOT_ACTIVE", "INVALID_DEPOSIT_ID", "ESCROW_PAUSED", "INDEXER_LAG", "INDEXER_UNAVAILABLE", "ORDER_NOT_FOUND", "PAYEE_REGISTRATION_FAILED", "PAYEE_VERIFICATION_REQUIRED", "ATOMIC_ACCESS_POLICY_REQUIRED", "SOURCE_ROUTE_UNSUPPORTED_IN_PREPARE", "SOURCE_RECIPIENT_MISMATCH", "SOURCE_CAPABILITIES_FAILED", "SOURCE_QUOTE_FAILED", "SOURCE_NONCE_MANAGER_REQUIRED", "SOURCE_EXECUTION_FAILED", "SOURCE_STATUS_FAILED", "SOURCE_ROUTE_COMPLETED_CASHOUT_FAILED", "SOURCE_CASHOUT_SUBMISSION_UNKNOWN", "SOURCE_CASHOUT_STATUS_UNKNOWN", "DEPOSIT_RESOLUTION_FAILED", "ACCESS_POLICY_CONFIGURATION_FAILED", "ALLOWANCE_NOT_VISIBLE", "SIGNER_REQUIRED", "SIGNER_CHAIN_MISMATCH", "SIGNER_CHAIN_UNAVAILABLE", "WATCH_TIMEOUT", "TRANSACTION_REJECTED", "TRANSACTION_FAILED", "TRANSACTION_SUBMISSION_UNKNOWN", "TRANSACTION_STATUS_UNKNOWN"]>;
1046
+ code: z.ZodEnum<{
1047
+ ORACLE_UNSUPPORTED_CURRENCY: "ORACLE_UNSUPPORTED_CURRENCY";
1048
+ ORACLE_READ_FAILED: "ORACLE_READ_FAILED";
1049
+ UNSUPPORTED_PLATFORM: "UNSUPPORTED_PLATFORM";
1050
+ UNSUPPORTED_PLATFORM_CURRENCY: "UNSUPPORTED_PLATFORM_CURRENCY";
1051
+ AMOUNT_BELOW_MINIMUM: "AMOUNT_BELOW_MINIMUM";
1052
+ INVALID_INTENT_AMOUNT_RANGE: "INVALID_INTENT_AMOUNT_RANGE";
1053
+ INVALID_PAYOUT_CURRENCIES: "INVALID_PAYOUT_CURRENCIES";
1054
+ INVALID_PAYOUT_PLATFORMS: "INVALID_PAYOUT_PLATFORMS";
1055
+ INVALID_REFERRAL_CODE: "INVALID_REFERRAL_CODE";
1056
+ ACTIVE_INTENT_BLOCKS_WITHDRAWAL: "ACTIVE_INTENT_BLOCKS_WITHDRAWAL";
1057
+ NOTHING_TO_WITHDRAW: "NOTHING_TO_WITHDRAW";
1058
+ INSUFFICIENT_AVAILABLE_FUNDS: "INSUFFICIENT_AVAILABLE_FUNDS";
1059
+ INSUFFICIENT_TOKEN_BALANCE: "INSUFFICIENT_TOKEN_BALANCE";
1060
+ ORDER_NOT_ACTIVE: "ORDER_NOT_ACTIVE";
1061
+ INVALID_DEPOSIT_ID: "INVALID_DEPOSIT_ID";
1062
+ ESCROW_PAUSED: "ESCROW_PAUSED";
1063
+ INDEXER_LAG: "INDEXER_LAG";
1064
+ INDEXER_UNAVAILABLE: "INDEXER_UNAVAILABLE";
1065
+ ORDER_NOT_FOUND: "ORDER_NOT_FOUND";
1066
+ PAYEE_REGISTRATION_FAILED: "PAYEE_REGISTRATION_FAILED";
1067
+ PAYEE_VERIFICATION_REQUIRED: "PAYEE_VERIFICATION_REQUIRED";
1068
+ ATOMIC_ACCESS_POLICY_REQUIRED: "ATOMIC_ACCESS_POLICY_REQUIRED";
1069
+ SOURCE_ROUTE_UNSUPPORTED_IN_PREPARE: "SOURCE_ROUTE_UNSUPPORTED_IN_PREPARE";
1070
+ SOURCE_RECIPIENT_MISMATCH: "SOURCE_RECIPIENT_MISMATCH";
1071
+ SOURCE_CAPABILITIES_FAILED: "SOURCE_CAPABILITIES_FAILED";
1072
+ SOURCE_QUOTE_FAILED: "SOURCE_QUOTE_FAILED";
1073
+ SOURCE_NONCE_MANAGER_REQUIRED: "SOURCE_NONCE_MANAGER_REQUIRED";
1074
+ SOURCE_EXECUTION_FAILED: "SOURCE_EXECUTION_FAILED";
1075
+ SOURCE_STATUS_FAILED: "SOURCE_STATUS_FAILED";
1076
+ SOURCE_ROUTE_COMPLETED_CASHOUT_FAILED: "SOURCE_ROUTE_COMPLETED_CASHOUT_FAILED";
1077
+ SOURCE_CASHOUT_SUBMISSION_UNKNOWN: "SOURCE_CASHOUT_SUBMISSION_UNKNOWN";
1078
+ SOURCE_CASHOUT_STATUS_UNKNOWN: "SOURCE_CASHOUT_STATUS_UNKNOWN";
1079
+ DEPOSIT_RESOLUTION_FAILED: "DEPOSIT_RESOLUTION_FAILED";
1080
+ ACCESS_POLICY_CONFIGURATION_FAILED: "ACCESS_POLICY_CONFIGURATION_FAILED";
1081
+ ALLOWANCE_NOT_VISIBLE: "ALLOWANCE_NOT_VISIBLE";
1082
+ SIGNER_REQUIRED: "SIGNER_REQUIRED";
1083
+ SIGNER_CHAIN_MISMATCH: "SIGNER_CHAIN_MISMATCH";
1084
+ SIGNER_CHAIN_UNAVAILABLE: "SIGNER_CHAIN_UNAVAILABLE";
1085
+ WATCH_TIMEOUT: "WATCH_TIMEOUT";
1086
+ TRANSACTION_REJECTED: "TRANSACTION_REJECTED";
1087
+ TRANSACTION_FAILED: "TRANSACTION_FAILED";
1088
+ TRANSACTION_SUBMISSION_UNKNOWN: "TRANSACTION_SUBMISSION_UNKNOWN";
1089
+ TRANSACTION_STATUS_UNKNOWN: "TRANSACTION_STATUS_UNKNOWN";
1090
+ }>;
3356
1091
  message: z.ZodString;
3357
1092
  retryable: z.ZodBoolean;
3358
1093
  remediation: z.ZodString;
3359
- recovery: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1094
+ recovery: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
3360
1095
  kind: z.ZodLiteral<"retry-base-usdc-cashout">;
3361
1096
  amount: z.ZodString;
3362
1097
  requestId: z.ZodOptional<z.ZodString>;
3363
- txHashes: z.ZodArray<z.ZodString, "many">;
1098
+ txHashes: z.ZodArray<z.ZodString>;
3364
1099
  transactions: z.ZodOptional<z.ZodObject<{
3365
1100
  origin: z.ZodArray<z.ZodObject<{
3366
1101
  hash: z.ZodString;
3367
1102
  chainId: z.ZodNumber;
3368
1103
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3369
- }, "strip", z.ZodTypeAny, {
3370
- chainId: number;
3371
- hash: string;
3372
- isBatchTx?: boolean | undefined;
3373
- }, {
3374
- chainId: number;
3375
- hash: string;
3376
- isBatchTx?: boolean | undefined;
3377
- }>, "many">;
1104
+ }, z.core.$strip>>;
3378
1105
  destination: z.ZodArray<z.ZodObject<{
3379
1106
  hash: z.ZodString;
3380
1107
  chainId: z.ZodNumber;
3381
1108
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3382
- }, "strip", z.ZodTypeAny, {
3383
- chainId: number;
3384
- hash: string;
3385
- isBatchTx?: boolean | undefined;
3386
- }, {
3387
- chainId: number;
3388
- hash: string;
3389
- isBatchTx?: boolean | undefined;
3390
- }>, "many">;
3391
- }, "strict", z.ZodTypeAny, {
3392
- destination: {
3393
- chainId: number;
3394
- hash: string;
3395
- isBatchTx?: boolean | undefined;
3396
- }[];
3397
- origin: {
3398
- chainId: number;
3399
- hash: string;
3400
- isBatchTx?: boolean | undefined;
3401
- }[];
3402
- }, {
3403
- destination: {
3404
- chainId: number;
3405
- hash: string;
3406
- isBatchTx?: boolean | undefined;
3407
- }[];
3408
- origin: {
3409
- chainId: number;
3410
- hash: string;
3411
- isBatchTx?: boolean | undefined;
3412
- }[];
3413
- }>>;
3414
- }, "strict", z.ZodTypeAny, {
3415
- amount: string;
3416
- kind: "retry-base-usdc-cashout";
3417
- txHashes: string[];
3418
- transactions?: {
3419
- destination: {
3420
- chainId: number;
3421
- hash: string;
3422
- isBatchTx?: boolean | undefined;
3423
- }[];
3424
- origin: {
3425
- chainId: number;
3426
- hash: string;
3427
- isBatchTx?: boolean | undefined;
3428
- }[];
3429
- } | undefined;
3430
- requestId?: string | undefined;
3431
- }, {
3432
- amount: string;
3433
- kind: "retry-base-usdc-cashout";
3434
- txHashes: string[];
3435
- transactions?: {
3436
- destination: {
3437
- chainId: number;
3438
- hash: string;
3439
- isBatchTx?: boolean | undefined;
3440
- }[];
3441
- origin: {
3442
- chainId: number;
3443
- hash: string;
3444
- isBatchTx?: boolean | undefined;
3445
- }[];
3446
- } | undefined;
3447
- requestId?: string | undefined;
3448
- }>, z.ZodObject<{
1109
+ }, z.core.$strip>>;
1110
+ }, z.core.$strict>>;
1111
+ }, z.core.$strict>, z.ZodObject<{
3449
1112
  kind: z.ZodLiteral<"inspect-base-cashout-transaction">;
3450
1113
  depositTxHash: z.ZodString;
3451
1114
  amount: z.ZodString;
3452
1115
  requestId: z.ZodOptional<z.ZodString>;
3453
- txHashes: z.ZodArray<z.ZodString, "many">;
1116
+ txHashes: z.ZodArray<z.ZodString>;
3454
1117
  transactions: z.ZodOptional<z.ZodObject<{
3455
1118
  origin: z.ZodArray<z.ZodObject<{
3456
1119
  hash: z.ZodString;
3457
1120
  chainId: z.ZodNumber;
3458
1121
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3459
- }, "strip", z.ZodTypeAny, {
3460
- chainId: number;
3461
- hash: string;
3462
- isBatchTx?: boolean | undefined;
3463
- }, {
3464
- chainId: number;
3465
- hash: string;
3466
- isBatchTx?: boolean | undefined;
3467
- }>, "many">;
1122
+ }, z.core.$strip>>;
3468
1123
  destination: z.ZodArray<z.ZodObject<{
3469
1124
  hash: z.ZodString;
3470
1125
  chainId: z.ZodNumber;
3471
1126
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3472
- }, "strip", z.ZodTypeAny, {
3473
- chainId: number;
3474
- hash: string;
3475
- isBatchTx?: boolean | undefined;
3476
- }, {
3477
- chainId: number;
3478
- hash: string;
3479
- isBatchTx?: boolean | undefined;
3480
- }>, "many">;
3481
- }, "strict", z.ZodTypeAny, {
3482
- destination: {
3483
- chainId: number;
3484
- hash: string;
3485
- isBatchTx?: boolean | undefined;
3486
- }[];
3487
- origin: {
3488
- chainId: number;
3489
- hash: string;
3490
- isBatchTx?: boolean | undefined;
3491
- }[];
3492
- }, {
3493
- destination: {
3494
- chainId: number;
3495
- hash: string;
3496
- isBatchTx?: boolean | undefined;
3497
- }[];
3498
- origin: {
3499
- chainId: number;
3500
- hash: string;
3501
- isBatchTx?: boolean | undefined;
3502
- }[];
3503
- }>>;
3504
- }, "strict", z.ZodTypeAny, {
3505
- amount: string;
3506
- kind: "inspect-base-cashout-transaction";
3507
- txHashes: string[];
3508
- depositTxHash: string;
3509
- transactions?: {
3510
- destination: {
3511
- chainId: number;
3512
- hash: string;
3513
- isBatchTx?: boolean | undefined;
3514
- }[];
3515
- origin: {
3516
- chainId: number;
3517
- hash: string;
3518
- isBatchTx?: boolean | undefined;
3519
- }[];
3520
- } | undefined;
3521
- requestId?: string | undefined;
3522
- }, {
3523
- amount: string;
3524
- kind: "inspect-base-cashout-transaction";
3525
- txHashes: string[];
3526
- depositTxHash: string;
3527
- transactions?: {
3528
- destination: {
3529
- chainId: number;
3530
- hash: string;
3531
- isBatchTx?: boolean | undefined;
3532
- }[];
3533
- origin: {
3534
- chainId: number;
3535
- hash: string;
3536
- isBatchTx?: boolean | undefined;
3537
- }[];
3538
- } | undefined;
3539
- requestId?: string | undefined;
3540
- }>, z.ZodObject<{
1127
+ }, z.core.$strip>>;
1128
+ }, z.core.$strict>>;
1129
+ }, z.core.$strict>, z.ZodObject<{
3541
1130
  kind: z.ZodLiteral<"inspect-base-cashout-submission">;
3542
1131
  depositor: z.ZodString;
3543
1132
  amount: z.ZodString;
3544
1133
  requestId: z.ZodOptional<z.ZodString>;
3545
- txHashes: z.ZodArray<z.ZodString, "many">;
1134
+ txHashes: z.ZodArray<z.ZodString>;
3546
1135
  transactions: z.ZodOptional<z.ZodObject<{
3547
1136
  origin: z.ZodArray<z.ZodObject<{
3548
1137
  hash: z.ZodString;
3549
1138
  chainId: z.ZodNumber;
3550
1139
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3551
- }, "strip", z.ZodTypeAny, {
3552
- chainId: number;
3553
- hash: string;
3554
- isBatchTx?: boolean | undefined;
3555
- }, {
3556
- chainId: number;
3557
- hash: string;
3558
- isBatchTx?: boolean | undefined;
3559
- }>, "many">;
1140
+ }, z.core.$strip>>;
3560
1141
  destination: z.ZodArray<z.ZodObject<{
3561
1142
  hash: z.ZodString;
3562
1143
  chainId: z.ZodNumber;
3563
1144
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3564
- }, "strip", z.ZodTypeAny, {
3565
- chainId: number;
3566
- hash: string;
3567
- isBatchTx?: boolean | undefined;
3568
- }, {
3569
- chainId: number;
3570
- hash: string;
3571
- isBatchTx?: boolean | undefined;
3572
- }>, "many">;
3573
- }, "strict", z.ZodTypeAny, {
3574
- destination: {
3575
- chainId: number;
3576
- hash: string;
3577
- isBatchTx?: boolean | undefined;
3578
- }[];
3579
- origin: {
3580
- chainId: number;
3581
- hash: string;
3582
- isBatchTx?: boolean | undefined;
3583
- }[];
3584
- }, {
3585
- destination: {
3586
- chainId: number;
3587
- hash: string;
3588
- isBatchTx?: boolean | undefined;
3589
- }[];
3590
- origin: {
3591
- chainId: number;
3592
- hash: string;
3593
- isBatchTx?: boolean | undefined;
3594
- }[];
3595
- }>>;
3596
- }, "strict", z.ZodTypeAny, {
3597
- amount: string;
3598
- depositor: string;
3599
- kind: "inspect-base-cashout-submission";
3600
- txHashes: string[];
3601
- transactions?: {
3602
- destination: {
3603
- chainId: number;
3604
- hash: string;
3605
- isBatchTx?: boolean | undefined;
3606
- }[];
3607
- origin: {
3608
- chainId: number;
3609
- hash: string;
3610
- isBatchTx?: boolean | undefined;
3611
- }[];
3612
- } | undefined;
3613
- requestId?: string | undefined;
3614
- }, {
3615
- amount: string;
3616
- depositor: string;
3617
- kind: "inspect-base-cashout-submission";
3618
- txHashes: string[];
3619
- transactions?: {
3620
- destination: {
3621
- chainId: number;
3622
- hash: string;
3623
- isBatchTx?: boolean | undefined;
3624
- }[];
3625
- origin: {
3626
- chainId: number;
3627
- hash: string;
3628
- isBatchTx?: boolean | undefined;
3629
- }[];
3630
- } | undefined;
3631
- requestId?: string | undefined;
3632
- }>, z.ZodObject<{
1145
+ }, z.core.$strip>>;
1146
+ }, z.core.$strict>>;
1147
+ }, z.core.$strict>, z.ZodObject<{
3633
1148
  kind: z.ZodLiteral<"inspect-relay-route">;
3634
1149
  requestId: z.ZodOptional<z.ZodString>;
3635
- txHashes: z.ZodArray<z.ZodString, "many">;
1150
+ txHashes: z.ZodArray<z.ZodString>;
3636
1151
  transactions: z.ZodOptional<z.ZodObject<{
3637
1152
  origin: z.ZodArray<z.ZodObject<{
3638
1153
  hash: z.ZodString;
3639
1154
  chainId: z.ZodNumber;
3640
1155
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3641
- }, "strip", z.ZodTypeAny, {
3642
- chainId: number;
3643
- hash: string;
3644
- isBatchTx?: boolean | undefined;
3645
- }, {
3646
- chainId: number;
3647
- hash: string;
3648
- isBatchTx?: boolean | undefined;
3649
- }>, "many">;
1156
+ }, z.core.$strip>>;
3650
1157
  destination: z.ZodArray<z.ZodObject<{
3651
1158
  hash: z.ZodString;
3652
1159
  chainId: z.ZodNumber;
3653
1160
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3654
- }, "strip", z.ZodTypeAny, {
3655
- chainId: number;
3656
- hash: string;
3657
- isBatchTx?: boolean | undefined;
3658
- }, {
3659
- chainId: number;
3660
- hash: string;
3661
- isBatchTx?: boolean | undefined;
3662
- }>, "many">;
3663
- }, "strict", z.ZodTypeAny, {
3664
- destination: {
3665
- chainId: number;
3666
- hash: string;
3667
- isBatchTx?: boolean | undefined;
3668
- }[];
3669
- origin: {
3670
- chainId: number;
3671
- hash: string;
3672
- isBatchTx?: boolean | undefined;
3673
- }[];
3674
- }, {
3675
- destination: {
3676
- chainId: number;
3677
- hash: string;
3678
- isBatchTx?: boolean | undefined;
3679
- }[];
3680
- origin: {
3681
- chainId: number;
3682
- hash: string;
3683
- isBatchTx?: boolean | undefined;
3684
- }[];
3685
- }>>;
3686
- }, "strict", z.ZodTypeAny, {
3687
- kind: "inspect-relay-route";
3688
- txHashes: string[];
3689
- transactions?: {
3690
- destination: {
3691
- chainId: number;
3692
- hash: string;
3693
- isBatchTx?: boolean | undefined;
3694
- }[];
3695
- origin: {
3696
- chainId: number;
3697
- hash: string;
3698
- isBatchTx?: boolean | undefined;
3699
- }[];
3700
- } | undefined;
3701
- requestId?: string | undefined;
3702
- }, {
3703
- kind: "inspect-relay-route";
3704
- txHashes: string[];
3705
- transactions?: {
3706
- destination: {
3707
- chainId: number;
3708
- hash: string;
3709
- isBatchTx?: boolean | undefined;
3710
- }[];
3711
- origin: {
3712
- chainId: number;
3713
- hash: string;
3714
- isBatchTx?: boolean | undefined;
3715
- }[];
3716
- } | undefined;
3717
- requestId?: string | undefined;
3718
- }>, z.ZodObject<{
1161
+ }, z.core.$strip>>;
1162
+ }, z.core.$strict>>;
1163
+ }, z.core.$strict>, z.ZodObject<{
3719
1164
  kind: z.ZodLiteral<"inspect-base-operation-submission">;
3720
1165
  operation: z.ZodString;
3721
- }, "strict", z.ZodTypeAny, {
3722
- kind: "inspect-base-operation-submission";
3723
- operation: string;
3724
- }, {
3725
- kind: "inspect-base-operation-submission";
3726
- operation: string;
3727
- }>, z.ZodObject<{
1166
+ }, z.core.$strict>, z.ZodObject<{
3728
1167
  kind: z.ZodLiteral<"inspect-base-transaction">;
3729
1168
  transactionHash: z.ZodString;
3730
1169
  operation: z.ZodString;
3731
- }, "strict", z.ZodTypeAny, {
3732
- kind: "inspect-base-transaction";
3733
- transactionHash: string;
3734
- operation: string;
3735
- }, {
3736
- kind: "inspect-base-transaction";
3737
- transactionHash: string;
3738
- operation: string;
3739
- }>, z.ZodObject<{
1170
+ }, z.core.$strict>, z.ZodObject<{
3740
1171
  kind: z.ZodLiteral<"configure-cashout-access-policy">;
3741
1172
  depositId: z.ZodString;
3742
- groupIds: z.ZodArray<z.ZodString, "many">;
1173
+ groupIds: z.ZodArray<z.ZodString>;
3743
1174
  transactionHash: z.ZodOptional<z.ZodString>;
3744
1175
  source: z.ZodOptional<z.ZodObject<{
3745
- readonly amount: z.ZodString;
3746
- readonly requestId: z.ZodOptional<z.ZodString>;
3747
- readonly txHashes: z.ZodArray<z.ZodString, "many">;
3748
- readonly transactions: z.ZodOptional<z.ZodObject<{
1176
+ amount: z.ZodString;
1177
+ requestId: z.ZodOptional<z.ZodString>;
1178
+ txHashes: z.ZodArray<z.ZodString>;
1179
+ transactions: z.ZodOptional<z.ZodObject<{
3749
1180
  origin: z.ZodArray<z.ZodObject<{
3750
1181
  hash: z.ZodString;
3751
1182
  chainId: z.ZodNumber;
3752
1183
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3753
- }, "strip", z.ZodTypeAny, {
3754
- chainId: number;
3755
- hash: string;
3756
- isBatchTx?: boolean | undefined;
3757
- }, {
3758
- chainId: number;
3759
- hash: string;
3760
- isBatchTx?: boolean | undefined;
3761
- }>, "many">;
1184
+ }, z.core.$strip>>;
3762
1185
  destination: z.ZodArray<z.ZodObject<{
3763
1186
  hash: z.ZodString;
3764
1187
  chainId: z.ZodNumber;
3765
1188
  isBatchTx: z.ZodOptional<z.ZodBoolean>;
3766
- }, "strip", z.ZodTypeAny, {
3767
- chainId: number;
3768
- hash: string;
3769
- isBatchTx?: boolean | undefined;
3770
- }, {
3771
- chainId: number;
3772
- hash: string;
3773
- isBatchTx?: boolean | undefined;
3774
- }>, "many">;
3775
- }, "strict", z.ZodTypeAny, {
3776
- destination: {
3777
- chainId: number;
3778
- hash: string;
3779
- isBatchTx?: boolean | undefined;
3780
- }[];
3781
- origin: {
3782
- chainId: number;
3783
- hash: string;
3784
- isBatchTx?: boolean | undefined;
3785
- }[];
3786
- }, {
3787
- destination: {
3788
- chainId: number;
3789
- hash: string;
3790
- isBatchTx?: boolean | undefined;
3791
- }[];
3792
- origin: {
3793
- chainId: number;
3794
- hash: string;
3795
- isBatchTx?: boolean | undefined;
3796
- }[];
3797
- }>>;
3798
- }, "strict", z.ZodTypeAny, {
3799
- amount: string;
3800
- txHashes: string[];
3801
- transactions?: {
3802
- destination: {
3803
- chainId: number;
3804
- hash: string;
3805
- isBatchTx?: boolean | undefined;
3806
- }[];
3807
- origin: {
3808
- chainId: number;
3809
- hash: string;
3810
- isBatchTx?: boolean | undefined;
3811
- }[];
3812
- } | undefined;
3813
- requestId?: string | undefined;
3814
- }, {
3815
- amount: string;
3816
- txHashes: string[];
3817
- transactions?: {
3818
- destination: {
3819
- chainId: number;
3820
- hash: string;
3821
- isBatchTx?: boolean | undefined;
3822
- }[];
3823
- origin: {
3824
- chainId: number;
3825
- hash: string;
3826
- isBatchTx?: boolean | undefined;
3827
- }[];
3828
- } | undefined;
3829
- requestId?: string | undefined;
3830
- }>>;
3831
- }, "strict", z.ZodTypeAny, {
3832
- depositId: string;
3833
- kind: "configure-cashout-access-policy";
3834
- groupIds: string[];
3835
- transactionHash?: string | undefined;
3836
- source?: {
3837
- amount: string;
3838
- txHashes: string[];
3839
- transactions?: {
3840
- destination: {
3841
- chainId: number;
3842
- hash: string;
3843
- isBatchTx?: boolean | undefined;
3844
- }[];
3845
- origin: {
3846
- chainId: number;
3847
- hash: string;
3848
- isBatchTx?: boolean | undefined;
3849
- }[];
3850
- } | undefined;
3851
- requestId?: string | undefined;
3852
- } | undefined;
3853
- }, {
3854
- depositId: string;
3855
- kind: "configure-cashout-access-policy";
3856
- groupIds: string[];
3857
- transactionHash?: string | undefined;
3858
- source?: {
3859
- amount: string;
3860
- txHashes: string[];
3861
- transactions?: {
3862
- destination: {
3863
- chainId: number;
3864
- hash: string;
3865
- isBatchTx?: boolean | undefined;
3866
- }[];
3867
- origin: {
3868
- chainId: number;
3869
- hash: string;
3870
- isBatchTx?: boolean | undefined;
3871
- }[];
3872
- } | undefined;
3873
- requestId?: string | undefined;
3874
- } | undefined;
3875
- }>]>>;
3876
- }, "strict", z.ZodTypeAny, {
3877
- message: string;
3878
- code: "ORACLE_UNSUPPORTED_CURRENCY" | "ORACLE_READ_FAILED" | "UNSUPPORTED_PLATFORM" | "UNSUPPORTED_PLATFORM_CURRENCY" | "AMOUNT_BELOW_MINIMUM" | "INVALID_INTENT_AMOUNT_RANGE" | "INVALID_PAYOUT_CURRENCIES" | "INVALID_PAYOUT_PLATFORMS" | "INVALID_REFERRAL_CODE" | "ACTIVE_INTENT_BLOCKS_WITHDRAWAL" | "NOTHING_TO_WITHDRAW" | "INSUFFICIENT_AVAILABLE_FUNDS" | "INSUFFICIENT_TOKEN_BALANCE" | "ORDER_NOT_ACTIVE" | "INVALID_DEPOSIT_ID" | "ESCROW_PAUSED" | "INDEXER_LAG" | "INDEXER_UNAVAILABLE" | "ORDER_NOT_FOUND" | "PAYEE_REGISTRATION_FAILED" | "PAYEE_VERIFICATION_REQUIRED" | "ATOMIC_ACCESS_POLICY_REQUIRED" | "SOURCE_ROUTE_UNSUPPORTED_IN_PREPARE" | "SOURCE_RECIPIENT_MISMATCH" | "SOURCE_CAPABILITIES_FAILED" | "SOURCE_QUOTE_FAILED" | "SOURCE_NONCE_MANAGER_REQUIRED" | "SOURCE_EXECUTION_FAILED" | "SOURCE_STATUS_FAILED" | "SOURCE_ROUTE_COMPLETED_CASHOUT_FAILED" | "SOURCE_CASHOUT_SUBMISSION_UNKNOWN" | "SOURCE_CASHOUT_STATUS_UNKNOWN" | "DEPOSIT_RESOLUTION_FAILED" | "ACCESS_POLICY_CONFIGURATION_FAILED" | "ALLOWANCE_NOT_VISIBLE" | "SIGNER_REQUIRED" | "SIGNER_CHAIN_MISMATCH" | "SIGNER_CHAIN_UNAVAILABLE" | "WATCH_TIMEOUT" | "TRANSACTION_REJECTED" | "TRANSACTION_FAILED" | "TRANSACTION_SUBMISSION_UNKNOWN" | "TRANSACTION_STATUS_UNKNOWN";
3879
- retryable: boolean;
3880
- remediation: string;
3881
- recovery?: {
3882
- amount: string;
3883
- kind: "retry-base-usdc-cashout";
3884
- txHashes: string[];
3885
- transactions?: {
3886
- destination: {
3887
- chainId: number;
3888
- hash: string;
3889
- isBatchTx?: boolean | undefined;
3890
- }[];
3891
- origin: {
3892
- chainId: number;
3893
- hash: string;
3894
- isBatchTx?: boolean | undefined;
3895
- }[];
3896
- } | undefined;
3897
- requestId?: string | undefined;
3898
- } | {
3899
- amount: string;
3900
- kind: "inspect-base-cashout-transaction";
3901
- txHashes: string[];
3902
- depositTxHash: string;
3903
- transactions?: {
3904
- destination: {
3905
- chainId: number;
3906
- hash: string;
3907
- isBatchTx?: boolean | undefined;
3908
- }[];
3909
- origin: {
3910
- chainId: number;
3911
- hash: string;
3912
- isBatchTx?: boolean | undefined;
3913
- }[];
3914
- } | undefined;
3915
- requestId?: string | undefined;
3916
- } | {
3917
- amount: string;
3918
- depositor: string;
3919
- kind: "inspect-base-cashout-submission";
3920
- txHashes: string[];
3921
- transactions?: {
3922
- destination: {
3923
- chainId: number;
3924
- hash: string;
3925
- isBatchTx?: boolean | undefined;
3926
- }[];
3927
- origin: {
3928
- chainId: number;
3929
- hash: string;
3930
- isBatchTx?: boolean | undefined;
3931
- }[];
3932
- } | undefined;
3933
- requestId?: string | undefined;
3934
- } | {
3935
- kind: "inspect-relay-route";
3936
- txHashes: string[];
3937
- transactions?: {
3938
- destination: {
3939
- chainId: number;
3940
- hash: string;
3941
- isBatchTx?: boolean | undefined;
3942
- }[];
3943
- origin: {
3944
- chainId: number;
3945
- hash: string;
3946
- isBatchTx?: boolean | undefined;
3947
- }[];
3948
- } | undefined;
3949
- requestId?: string | undefined;
3950
- } | {
3951
- kind: "inspect-base-operation-submission";
3952
- operation: string;
3953
- } | {
3954
- kind: "inspect-base-transaction";
3955
- transactionHash: string;
3956
- operation: string;
3957
- } | {
3958
- depositId: string;
3959
- kind: "configure-cashout-access-policy";
3960
- groupIds: string[];
3961
- transactionHash?: string | undefined;
3962
- source?: {
3963
- amount: string;
3964
- txHashes: string[];
3965
- transactions?: {
3966
- destination: {
3967
- chainId: number;
3968
- hash: string;
3969
- isBatchTx?: boolean | undefined;
3970
- }[];
3971
- origin: {
3972
- chainId: number;
3973
- hash: string;
3974
- isBatchTx?: boolean | undefined;
3975
- }[];
3976
- } | undefined;
3977
- requestId?: string | undefined;
3978
- } | undefined;
3979
- } | undefined;
3980
- }, {
3981
- message: string;
3982
- code: "ORACLE_UNSUPPORTED_CURRENCY" | "ORACLE_READ_FAILED" | "UNSUPPORTED_PLATFORM" | "UNSUPPORTED_PLATFORM_CURRENCY" | "AMOUNT_BELOW_MINIMUM" | "INVALID_INTENT_AMOUNT_RANGE" | "INVALID_PAYOUT_CURRENCIES" | "INVALID_PAYOUT_PLATFORMS" | "INVALID_REFERRAL_CODE" | "ACTIVE_INTENT_BLOCKS_WITHDRAWAL" | "NOTHING_TO_WITHDRAW" | "INSUFFICIENT_AVAILABLE_FUNDS" | "INSUFFICIENT_TOKEN_BALANCE" | "ORDER_NOT_ACTIVE" | "INVALID_DEPOSIT_ID" | "ESCROW_PAUSED" | "INDEXER_LAG" | "INDEXER_UNAVAILABLE" | "ORDER_NOT_FOUND" | "PAYEE_REGISTRATION_FAILED" | "PAYEE_VERIFICATION_REQUIRED" | "ATOMIC_ACCESS_POLICY_REQUIRED" | "SOURCE_ROUTE_UNSUPPORTED_IN_PREPARE" | "SOURCE_RECIPIENT_MISMATCH" | "SOURCE_CAPABILITIES_FAILED" | "SOURCE_QUOTE_FAILED" | "SOURCE_NONCE_MANAGER_REQUIRED" | "SOURCE_EXECUTION_FAILED" | "SOURCE_STATUS_FAILED" | "SOURCE_ROUTE_COMPLETED_CASHOUT_FAILED" | "SOURCE_CASHOUT_SUBMISSION_UNKNOWN" | "SOURCE_CASHOUT_STATUS_UNKNOWN" | "DEPOSIT_RESOLUTION_FAILED" | "ACCESS_POLICY_CONFIGURATION_FAILED" | "ALLOWANCE_NOT_VISIBLE" | "SIGNER_REQUIRED" | "SIGNER_CHAIN_MISMATCH" | "SIGNER_CHAIN_UNAVAILABLE" | "WATCH_TIMEOUT" | "TRANSACTION_REJECTED" | "TRANSACTION_FAILED" | "TRANSACTION_SUBMISSION_UNKNOWN" | "TRANSACTION_STATUS_UNKNOWN";
3983
- retryable: boolean;
3984
- remediation: string;
3985
- recovery?: {
3986
- amount: string;
3987
- kind: "retry-base-usdc-cashout";
3988
- txHashes: string[];
3989
- transactions?: {
3990
- destination: {
3991
- chainId: number;
3992
- hash: string;
3993
- isBatchTx?: boolean | undefined;
3994
- }[];
3995
- origin: {
3996
- chainId: number;
3997
- hash: string;
3998
- isBatchTx?: boolean | undefined;
3999
- }[];
4000
- } | undefined;
4001
- requestId?: string | undefined;
4002
- } | {
4003
- amount: string;
4004
- kind: "inspect-base-cashout-transaction";
4005
- txHashes: string[];
4006
- depositTxHash: string;
4007
- transactions?: {
4008
- destination: {
4009
- chainId: number;
4010
- hash: string;
4011
- isBatchTx?: boolean | undefined;
4012
- }[];
4013
- origin: {
4014
- chainId: number;
4015
- hash: string;
4016
- isBatchTx?: boolean | undefined;
4017
- }[];
4018
- } | undefined;
4019
- requestId?: string | undefined;
4020
- } | {
4021
- amount: string;
4022
- depositor: string;
4023
- kind: "inspect-base-cashout-submission";
4024
- txHashes: string[];
4025
- transactions?: {
4026
- destination: {
4027
- chainId: number;
4028
- hash: string;
4029
- isBatchTx?: boolean | undefined;
4030
- }[];
4031
- origin: {
4032
- chainId: number;
4033
- hash: string;
4034
- isBatchTx?: boolean | undefined;
4035
- }[];
4036
- } | undefined;
4037
- requestId?: string | undefined;
4038
- } | {
4039
- kind: "inspect-relay-route";
4040
- txHashes: string[];
4041
- transactions?: {
4042
- destination: {
4043
- chainId: number;
4044
- hash: string;
4045
- isBatchTx?: boolean | undefined;
4046
- }[];
4047
- origin: {
4048
- chainId: number;
4049
- hash: string;
4050
- isBatchTx?: boolean | undefined;
4051
- }[];
4052
- } | undefined;
4053
- requestId?: string | undefined;
4054
- } | {
4055
- kind: "inspect-base-operation-submission";
4056
- operation: string;
4057
- } | {
4058
- kind: "inspect-base-transaction";
4059
- transactionHash: string;
4060
- operation: string;
4061
- } | {
4062
- depositId: string;
4063
- kind: "configure-cashout-access-policy";
4064
- groupIds: string[];
4065
- transactionHash?: string | undefined;
4066
- source?: {
4067
- amount: string;
4068
- txHashes: string[];
4069
- transactions?: {
4070
- destination: {
4071
- chainId: number;
4072
- hash: string;
4073
- isBatchTx?: boolean | undefined;
4074
- }[];
4075
- origin: {
4076
- chainId: number;
4077
- hash: string;
4078
- isBatchTx?: boolean | undefined;
4079
- }[];
4080
- } | undefined;
4081
- requestId?: string | undefined;
4082
- } | undefined;
4083
- } | undefined;
4084
- }>;
1189
+ }, z.core.$strip>>;
1190
+ }, z.core.$strict>>;
1191
+ }, z.core.$strict>>;
1192
+ }, z.core.$strict>], "kind">>;
1193
+ }, z.core.$strict>;
4085
1194
  type CashOrderJson = z.infer<typeof cashOrderJsonSchema>;
4086
1195
  type CashFillJson = z.infer<typeof cashFillJsonSchema>;
4087
1196
  type CashEstimateJson = z.infer<typeof cashEstimateJsonSchema>;