@zkp2p/cash 0.4.7 → 0.4.9

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