@ledgerhq/revault-api 1.23.1 → 1.28.0

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/lib/fakes.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { RequestType, VaultRequest, VaultRequestReview, Account } from '@prisma/client';
2
- import { w as UserChallenge, A as AccountResponse, s as VaultRequestResponse } from './app-types-pVQiUA0g.mjs';
2
+ import { w as UserChallenge, A as AccountResponse, s as VaultRequestResponse } from './app-types-DRwjhbZ9.mjs';
3
3
  import z__default from 'zod';
4
4
 
5
5
  declare const zCreateGroupRequestData: z__default.ZodObject<{
@@ -18,12 +18,15 @@ declare const zCreateGroupRequestData: z__default.ZodObject<{
18
18
  type CreateGroupRequestData = z__default.infer<typeof zCreateGroupRequestData>;
19
19
  declare const zEditGroupRequestData: z__default.ZodObject<{
20
20
  name: z__default.ZodString;
21
+ description: z__default.ZodNullable<z__default.ZodString>;
21
22
  members: z__default.ZodArray<z__default.ZodString, "many">;
22
23
  }, "strip", z__default.ZodTypeAny, {
23
24
  name: string;
25
+ description: string | null;
24
26
  members: string[];
25
27
  }, {
26
28
  name: string;
29
+ description: string | null;
27
30
  members: string[];
28
31
  }>;
29
32
  type EditGroupRequestData = z__default.infer<typeof zEditGroupRequestData>;
@@ -31,7 +34,7 @@ type EditGroupRequestData = z__default.infer<typeof zEditGroupRequestData>;
31
34
  declare const zCreatePolicyRequestData: z__default.ZodObject<{
32
35
  name: z__default.ZodString;
33
36
  description: z__default.ZodNullable<z__default.ZodString>;
34
- currency: z__default.ZodString;
37
+ currency: z__default.ZodNullable<z__default.ZodString>;
35
38
  govRules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
36
39
  operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
37
40
  threshold: z__default.ZodOptional<z__default.ZodObject<{
@@ -96,7 +99,7 @@ declare const zCreatePolicyRequestData: z__default.ZodObject<{
96
99
  }, "strip", z__default.ZodTypeAny, {
97
100
  name: string;
98
101
  description: string | null;
99
- currency: string;
102
+ currency: string | null;
100
103
  govRules: {
101
104
  reviewSteps: ({
102
105
  quorum: number;
@@ -115,7 +118,7 @@ declare const zCreatePolicyRequestData: z__default.ZodObject<{
115
118
  }, {
116
119
  name: string;
117
120
  description: string | null;
118
- currency: string;
121
+ currency: string | null;
119
122
  govRules: {
120
123
  reviewSteps: ({
121
124
  quorum: number;
@@ -257,17 +260,13 @@ declare const zCreateAccountRequestData: z__default.ZodObject<Omit<{
257
260
  contractAddress: z__default.ZodOptional<z__default.ZodString>;
258
261
  governance: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
259
262
  type: z__default.ZodLiteral<"CLASSIC">;
260
- policy: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
261
- type: z__default.ZodLiteral<"ACCOUNT_POLICY">;
263
+ policy: z__default.ZodUnion<[z__default.ZodObject<{
262
264
  policyId: z__default.ZodString;
263
265
  }, "strip", z__default.ZodTypeAny, {
264
- type: "ACCOUNT_POLICY";
265
266
  policyId: string;
266
267
  }, {
267
- type: "ACCOUNT_POLICY";
268
268
  policyId: string;
269
269
  }>, z__default.ZodObject<{
270
- type: z__default.ZodLiteral<"ACCOUNT_PRIVATE_POLICY">;
271
270
  rules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
272
271
  operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
273
272
  threshold: z__default.ZodOptional<z__default.ZodObject<{
@@ -330,7 +329,6 @@ declare const zCreateAccountRequestData: z__default.ZodObject<Omit<{
330
329
  whitelistIds?: string[] | undefined;
331
330
  }>]>, "many">;
332
331
  }, "strip", z__default.ZodTypeAny, {
333
- type: "ACCOUNT_PRIVATE_POLICY";
334
332
  rules: {
335
333
  reviewSteps: ({
336
334
  quorum: number;
@@ -347,7 +345,6 @@ declare const zCreateAccountRequestData: z__default.ZodObject<Omit<{
347
345
  whitelistIds?: string[] | undefined;
348
346
  }[];
349
347
  }, {
350
- type: "ACCOUNT_PRIVATE_POLICY";
351
348
  rules: {
352
349
  reviewSteps: ({
353
350
  quorum: number;
@@ -367,10 +364,8 @@ declare const zCreateAccountRequestData: z__default.ZodObject<Omit<{
367
364
  }, "strip", z__default.ZodTypeAny, {
368
365
  type: "CLASSIC";
369
366
  policy: {
370
- type: "ACCOUNT_POLICY";
371
367
  policyId: string;
372
368
  } | {
373
- type: "ACCOUNT_PRIVATE_POLICY";
374
369
  rules: {
375
370
  reviewSteps: ({
376
371
  quorum: number;
@@ -390,10 +385,8 @@ declare const zCreateAccountRequestData: z__default.ZodObject<Omit<{
390
385
  }, {
391
386
  type: "CLASSIC";
392
387
  policy: {
393
- type: "ACCOUNT_POLICY";
394
388
  policyId: string;
395
389
  } | {
396
- type: "ACCOUNT_PRIVATE_POLICY";
397
390
  rules: {
398
391
  reviewSteps: ({
399
392
  quorum: number;
@@ -447,18 +440,16 @@ declare const zCreateAccountRequestData: z__default.ZodObject<Omit<{
447
440
  index: z__default.ZodNumber;
448
441
  derivationPath: z__default.ZodString;
449
442
  }, "strip", z__default.ZodTypeAny, {
450
- type: "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
451
443
  name: string;
444
+ type: "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
445
+ derivationPath: string;
452
446
  currency: string;
453
447
  index: number;
454
- derivationPath: string;
455
448
  governance: {
456
449
  type: "CLASSIC";
457
450
  policy: {
458
- type: "ACCOUNT_POLICY";
459
451
  policyId: string;
460
452
  } | {
461
- type: "ACCOUNT_PRIVATE_POLICY";
462
453
  rules: {
463
454
  reviewSteps: ({
464
455
  quorum: number;
@@ -486,18 +477,16 @@ declare const zCreateAccountRequestData: z__default.ZodObject<Omit<{
486
477
  };
487
478
  contractAddress?: string | undefined;
488
479
  }, {
489
- type: "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
490
480
  name: string;
481
+ type: "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE";
482
+ derivationPath: string;
491
483
  currency: string;
492
484
  index: number;
493
- derivationPath: string;
494
485
  governance: {
495
486
  type: "CLASSIC";
496
487
  policy: {
497
- type: "ACCOUNT_POLICY";
498
488
  policyId: string;
499
489
  } | {
500
- type: "ACCOUNT_PRIVATE_POLICY";
501
490
  rules: {
502
491
  reviewSteps: ({
503
492
  quorum: number;
@@ -530,17 +519,13 @@ declare const zEditAccountRequestData: z__default.ZodObject<{
530
519
  name: z__default.ZodString;
531
520
  governance: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
532
521
  type: z__default.ZodLiteral<"CLASSIC">;
533
- policy: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
534
- type: z__default.ZodLiteral<"ACCOUNT_POLICY">;
522
+ policy: z__default.ZodUnion<[z__default.ZodObject<{
535
523
  policyId: z__default.ZodString;
536
524
  }, "strip", z__default.ZodTypeAny, {
537
- type: "ACCOUNT_POLICY";
538
525
  policyId: string;
539
526
  }, {
540
- type: "ACCOUNT_POLICY";
541
527
  policyId: string;
542
528
  }>, z__default.ZodObject<{
543
- type: z__default.ZodLiteral<"ACCOUNT_PRIVATE_POLICY">;
544
529
  rules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
545
530
  operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
546
531
  threshold: z__default.ZodOptional<z__default.ZodObject<{
@@ -603,7 +588,6 @@ declare const zEditAccountRequestData: z__default.ZodObject<{
603
588
  whitelistIds?: string[] | undefined;
604
589
  }>]>, "many">;
605
590
  }, "strip", z__default.ZodTypeAny, {
606
- type: "ACCOUNT_PRIVATE_POLICY";
607
591
  rules: {
608
592
  reviewSteps: ({
609
593
  quorum: number;
@@ -620,7 +604,6 @@ declare const zEditAccountRequestData: z__default.ZodObject<{
620
604
  whitelistIds?: string[] | undefined;
621
605
  }[];
622
606
  }, {
623
- type: "ACCOUNT_PRIVATE_POLICY";
624
607
  rules: {
625
608
  reviewSteps: ({
626
609
  quorum: number;
@@ -640,10 +623,8 @@ declare const zEditAccountRequestData: z__default.ZodObject<{
640
623
  }, "strip", z__default.ZodTypeAny, {
641
624
  type: "CLASSIC";
642
625
  policy: {
643
- type: "ACCOUNT_POLICY";
644
626
  policyId: string;
645
627
  } | {
646
- type: "ACCOUNT_PRIVATE_POLICY";
647
628
  rules: {
648
629
  reviewSteps: ({
649
630
  quorum: number;
@@ -663,10 +644,8 @@ declare const zEditAccountRequestData: z__default.ZodObject<{
663
644
  }, {
664
645
  type: "CLASSIC";
665
646
  policy: {
666
- type: "ACCOUNT_POLICY";
667
647
  policyId: string;
668
648
  } | {
669
- type: "ACCOUNT_PRIVATE_POLICY";
670
649
  rules: {
671
650
  reviewSteps: ({
672
651
  quorum: number;
@@ -718,10 +697,8 @@ declare const zEditAccountRequestData: z__default.ZodObject<{
718
697
  governance: {
719
698
  type: "CLASSIC";
720
699
  policy: {
721
- type: "ACCOUNT_POLICY";
722
700
  policyId: string;
723
701
  } | {
724
- type: "ACCOUNT_PRIVATE_POLICY";
725
702
  rules: {
726
703
  reviewSteps: ({
727
704
  quorum: number;
@@ -751,10 +728,8 @@ declare const zEditAccountRequestData: z__default.ZodObject<{
751
728
  governance: {
752
729
  type: "CLASSIC";
753
730
  policy: {
754
- type: "ACCOUNT_POLICY";
755
731
  policyId: string;
756
732
  } | {
757
- type: "ACCOUNT_PRIVATE_POLICY";
758
733
  rules: {
759
734
  reviewSteps: ({
760
735
  quorum: number;
@@ -772,135 +747,694 @@ declare const zEditAccountRequestData: z__default.ZodObject<{
772
747
  }[];
773
748
  };
774
749
  } | {
775
- type: "TRADELINK";
776
- exchangeConfigs: {
777
- exchangeId: string;
778
- repledgeAuthorized: boolean;
779
- needsAssetManagerApprovalForSettlements: boolean;
780
- }[];
781
- };
782
- }>;
783
- type EditAccountRequestData = z__default.infer<typeof zEditAccountRequestData>;
784
- declare const zEditTokenRuleRequestData: z__default.ZodObject<{
785
- parentAccountId: z__default.ZodString;
786
- contractAddress: z__default.ZodString;
787
- rules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
788
- operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
789
- threshold: z__default.ZodOptional<z__default.ZodObject<{
790
- min: z__default.ZodNullable<z__default.ZodString>;
791
- max: z__default.ZodNullable<z__default.ZodString>;
792
- }, "strip", z__default.ZodTypeAny, {
793
- min: string | null;
794
- max: string | null;
795
- }, {
796
- min: string | null;
797
- max: string | null;
798
- }>>;
799
- whitelistIds: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
800
- reviewSteps: z__default.ZodArray<z__default.ZodUnion<[z__default.ZodObject<{
801
- quorum: z__default.ZodNumber;
802
- userIds: z__default.ZodArray<z__default.ZodString, "many">;
803
- }, "strip", z__default.ZodTypeAny, {
804
- quorum: number;
805
- userIds: string[];
806
- }, {
807
- quorum: number;
808
- userIds: string[];
809
- }>, z__default.ZodObject<{
810
- quorum: z__default.ZodNumber;
811
- groupId: z__default.ZodString;
812
- }, "strip", z__default.ZodTypeAny, {
813
- quorum: number;
814
- groupId: string;
815
- }, {
816
- quorum: number;
817
- groupId: string;
818
- }>]>, "many">;
819
- }, "strip", z__default.ZodTypeAny, {
820
- reviewSteps: ({
821
- quorum: number;
822
- userIds: string[];
823
- } | {
824
- quorum: number;
825
- groupId: string;
826
- })[];
827
- operationType: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
828
- threshold?: {
829
- min: string | null;
830
- max: string | null;
831
- } | undefined;
832
- whitelistIds?: string[] | undefined;
833
- }, {
834
- reviewSteps: ({
835
- quorum: number;
836
- userIds: string[];
750
+ type: "TRADELINK";
751
+ exchangeConfigs: {
752
+ exchangeId: string;
753
+ repledgeAuthorized: boolean;
754
+ needsAssetManagerApprovalForSettlements: boolean;
755
+ }[];
756
+ };
757
+ }>;
758
+ type EditAccountRequestData = z__default.infer<typeof zEditAccountRequestData>;
759
+ declare const zEditTokenRuleRequestData: z__default.ZodObject<{
760
+ parentAccountId: z__default.ZodString;
761
+ contractAddress: z__default.ZodString;
762
+ rules: z__default.ZodArray<z__default.ZodDiscriminatedUnion<"operationType", [z__default.ZodObject<{
763
+ operationType: z__default.ZodEnum<["SEND", "STAKE", "DEPLOY_CONTRACT", "EXECUTE_CONTRACT", "SIGN_DIGESTS", "SIGN_MESSAGE", "ACTIVATE_TOKEN"]>;
764
+ threshold: z__default.ZodOptional<z__default.ZodObject<{
765
+ min: z__default.ZodNullable<z__default.ZodString>;
766
+ max: z__default.ZodNullable<z__default.ZodString>;
767
+ }, "strip", z__default.ZodTypeAny, {
768
+ min: string | null;
769
+ max: string | null;
770
+ }, {
771
+ min: string | null;
772
+ max: string | null;
773
+ }>>;
774
+ whitelistIds: z__default.ZodOptional<z__default.ZodArray<z__default.ZodString, "many">>;
775
+ reviewSteps: z__default.ZodArray<z__default.ZodUnion<[z__default.ZodObject<{
776
+ quorum: z__default.ZodNumber;
777
+ userIds: z__default.ZodArray<z__default.ZodString, "many">;
778
+ }, "strip", z__default.ZodTypeAny, {
779
+ quorum: number;
780
+ userIds: string[];
781
+ }, {
782
+ quorum: number;
783
+ userIds: string[];
784
+ }>, z__default.ZodObject<{
785
+ quorum: z__default.ZodNumber;
786
+ groupId: z__default.ZodString;
787
+ }, "strip", z__default.ZodTypeAny, {
788
+ quorum: number;
789
+ groupId: string;
790
+ }, {
791
+ quorum: number;
792
+ groupId: string;
793
+ }>]>, "many">;
794
+ }, "strip", z__default.ZodTypeAny, {
795
+ reviewSteps: ({
796
+ quorum: number;
797
+ userIds: string[];
798
+ } | {
799
+ quorum: number;
800
+ groupId: string;
801
+ })[];
802
+ operationType: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
803
+ threshold?: {
804
+ min: string | null;
805
+ max: string | null;
806
+ } | undefined;
807
+ whitelistIds?: string[] | undefined;
808
+ }, {
809
+ reviewSteps: ({
810
+ quorum: number;
811
+ userIds: string[];
812
+ } | {
813
+ quorum: number;
814
+ groupId: string;
815
+ })[];
816
+ operationType: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
817
+ threshold?: {
818
+ min: string | null;
819
+ max: string | null;
820
+ } | undefined;
821
+ whitelistIds?: string[] | undefined;
822
+ }>]>, "many">;
823
+ }, "strip", z__default.ZodTypeAny, {
824
+ contractAddress: string;
825
+ rules: {
826
+ reviewSteps: ({
827
+ quorum: number;
828
+ userIds: string[];
829
+ } | {
830
+ quorum: number;
831
+ groupId: string;
832
+ })[];
833
+ operationType: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
834
+ threshold?: {
835
+ min: string | null;
836
+ max: string | null;
837
+ } | undefined;
838
+ whitelistIds?: string[] | undefined;
839
+ }[];
840
+ parentAccountId: string;
841
+ }, {
842
+ contractAddress: string;
843
+ rules: {
844
+ reviewSteps: ({
845
+ quorum: number;
846
+ userIds: string[];
847
+ } | {
848
+ quorum: number;
849
+ groupId: string;
850
+ })[];
851
+ operationType: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
852
+ threshold?: {
853
+ min: string | null;
854
+ max: string | null;
855
+ } | undefined;
856
+ whitelistIds?: string[] | undefined;
857
+ }[];
858
+ parentAccountId: string;
859
+ }>;
860
+ type EditTokenRuleRequestData = z__default.infer<typeof zEditTokenRuleRequestData>;
861
+
862
+ declare const zAdjustPledgeRequestData: z__default.ZodObject<{
863
+ accountId: z__default.ZodString;
864
+ exchangeId: z__default.ZodString;
865
+ amount: z__default.ZodString;
866
+ }, "strip", z__default.ZodTypeAny, {
867
+ accountId: string;
868
+ exchangeId: string;
869
+ amount: string;
870
+ }, {
871
+ accountId: string;
872
+ exchangeId: string;
873
+ amount: string;
874
+ }>;
875
+ type AdjustPledgeRequestData = z__default.infer<typeof zAdjustPledgeRequestData>;
876
+ declare const zRepledgeRequestData: z__default.ZodObject<{
877
+ accountId: z__default.ZodString;
878
+ exchangeId: z__default.ZodString;
879
+ amount: z__default.ZodString;
880
+ }, "strip", z__default.ZodTypeAny, {
881
+ accountId: string;
882
+ exchangeId: string;
883
+ amount: string;
884
+ }, {
885
+ accountId: string;
886
+ exchangeId: string;
887
+ amount: string;
888
+ }>;
889
+ type RepledgeRequestData = z__default.infer<typeof zRepledgeRequestData>;
890
+ declare const zCreateSettlementRequestData: z__default.ZodObject<{
891
+ accountId: z__default.ZodString;
892
+ exchangeId: z__default.ZodString;
893
+ transaction: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
894
+ amount: z__default.ZodString;
895
+ currency: z__default.ZodString;
896
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
897
+ recipient: z__default.ZodString;
898
+ } & {
899
+ type: z__default.ZodLiteral<"BITCOIN_LIKE_SEND">;
900
+ feeStrategy: z__default.ZodObject<{
901
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
902
+ } & {
903
+ feePerByte: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
904
+ }, "strip", z__default.ZodTypeAny, {
905
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
906
+ feePerByte?: string | null | undefined;
907
+ }, {
908
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
909
+ feePerByte?: string | null | undefined;
910
+ }>;
911
+ }, "strip", z__default.ZodTypeAny, {
912
+ type: "BITCOIN_LIKE_SEND";
913
+ currency: string;
914
+ amount: string;
915
+ maxFee: string | null;
916
+ recipient: string;
917
+ feeStrategy: {
918
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
919
+ feePerByte?: string | null | undefined;
920
+ };
921
+ }, {
922
+ type: "BITCOIN_LIKE_SEND";
923
+ currency: string;
924
+ amount: string;
925
+ maxFee: string | null;
926
+ recipient: string;
927
+ feeStrategy: {
928
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
929
+ feePerByte?: string | null | undefined;
930
+ };
931
+ }>, z__default.ZodObject<{
932
+ amount: z__default.ZodString;
933
+ currency: z__default.ZodString;
934
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
935
+ recipient: z__default.ZodString;
936
+ } & {
937
+ type: z__default.ZodLiteral<"CARDANO_LIKE_SEND">;
938
+ feeStrategy: z__default.ZodObject<{
939
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
940
+ }, "strip", z__default.ZodTypeAny, {
941
+ type: "NORMAL" | "FAST" | "SLOW";
942
+ }, {
943
+ type: "NORMAL" | "FAST" | "SLOW";
944
+ }>;
945
+ }, "strip", z__default.ZodTypeAny, {
946
+ type: "CARDANO_LIKE_SEND";
947
+ currency: string;
948
+ amount: string;
949
+ maxFee: string | null;
950
+ recipient: string;
951
+ feeStrategy: {
952
+ type: "NORMAL" | "FAST" | "SLOW";
953
+ };
954
+ }, {
955
+ type: "CARDANO_LIKE_SEND";
956
+ currency: string;
957
+ amount: string;
958
+ maxFee: string | null;
959
+ recipient: string;
960
+ feeStrategy: {
961
+ type: "NORMAL" | "FAST" | "SLOW";
962
+ };
963
+ }>, z__default.ZodObject<{
964
+ amount: z__default.ZodString;
965
+ currency: z__default.ZodString;
966
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
967
+ recipient: z__default.ZodString;
968
+ } & {
969
+ type: z__default.ZodLiteral<"ETHEREUM_LIKE_SEND">;
970
+ feeStrategy: z__default.ZodUnion<[z__default.ZodObject<{
971
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
972
+ } & {
973
+ gasPrice: z__default.ZodString;
974
+ gasLimit: z__default.ZodString;
975
+ }, "strip", z__default.ZodTypeAny, {
976
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
977
+ gasPrice: string;
978
+ gasLimit: string;
979
+ }, {
980
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
981
+ gasPrice: string;
982
+ gasLimit: string;
983
+ }>, z__default.ZodObject<{
984
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
985
+ } & {
986
+ maxPriorityFeePerGas: z__default.ZodString;
987
+ maxFeePerGas: z__default.ZodString;
988
+ gasLimit: z__default.ZodString;
989
+ }, "strip", z__default.ZodTypeAny, {
990
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
991
+ gasLimit: string;
992
+ maxPriorityFeePerGas: string;
993
+ maxFeePerGas: string;
994
+ }, {
995
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
996
+ gasLimit: string;
997
+ maxPriorityFeePerGas: string;
998
+ maxFeePerGas: string;
999
+ }>]>;
1000
+ }, "strip", z__default.ZodTypeAny, {
1001
+ type: "ETHEREUM_LIKE_SEND";
1002
+ currency: string;
1003
+ amount: string;
1004
+ maxFee: string | null;
1005
+ recipient: string;
1006
+ feeStrategy: {
1007
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1008
+ gasPrice: string;
1009
+ gasLimit: string;
1010
+ } | {
1011
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1012
+ gasLimit: string;
1013
+ maxPriorityFeePerGas: string;
1014
+ maxFeePerGas: string;
1015
+ };
1016
+ }, {
1017
+ type: "ETHEREUM_LIKE_SEND";
1018
+ currency: string;
1019
+ amount: string;
1020
+ maxFee: string | null;
1021
+ recipient: string;
1022
+ feeStrategy: {
1023
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1024
+ gasPrice: string;
1025
+ gasLimit: string;
1026
+ } | {
1027
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1028
+ gasLimit: string;
1029
+ maxPriorityFeePerGas: string;
1030
+ maxFeePerGas: string;
1031
+ };
1032
+ }>, z__default.ZodObject<{
1033
+ amount: z__default.ZodString;
1034
+ currency: z__default.ZodString;
1035
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1036
+ recipient: z__default.ZodString;
1037
+ } & {
1038
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_SEND">;
1039
+ }, "strip", z__default.ZodTypeAny, {
1040
+ type: "POLKADOT_LIKE_SEND";
1041
+ currency: string;
1042
+ amount: string;
1043
+ maxFee: string | null;
1044
+ recipient: string;
1045
+ }, {
1046
+ type: "POLKADOT_LIKE_SEND";
1047
+ currency: string;
1048
+ amount: string;
1049
+ maxFee: string | null;
1050
+ recipient: string;
1051
+ }>, z__default.ZodObject<{
1052
+ amount: z__default.ZodString;
1053
+ currency: z__default.ZodString;
1054
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1055
+ recipient: z__default.ZodString;
1056
+ } & {
1057
+ type: z__default.ZodLiteral<"RIPPLE_LIKE_SEND">;
1058
+ destinationTag: z__default.ZodNullable<z__default.ZodString>;
1059
+ feeStrategy: z__default.ZodObject<{
1060
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1061
+ }, "strip", z__default.ZodTypeAny, {
1062
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1063
+ }, {
1064
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1065
+ }>;
1066
+ }, "strip", z__default.ZodTypeAny, {
1067
+ type: "RIPPLE_LIKE_SEND";
1068
+ currency: string;
1069
+ amount: string;
1070
+ maxFee: string | null;
1071
+ recipient: string;
1072
+ feeStrategy: {
1073
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1074
+ };
1075
+ destinationTag: string | null;
1076
+ }, {
1077
+ type: "RIPPLE_LIKE_SEND";
1078
+ currency: string;
1079
+ amount: string;
1080
+ maxFee: string | null;
1081
+ recipient: string;
1082
+ feeStrategy: {
1083
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1084
+ };
1085
+ destinationTag: string | null;
1086
+ }>, z__default.ZodObject<{
1087
+ amount: z__default.ZodString;
1088
+ currency: z__default.ZodString;
1089
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1090
+ recipient: z__default.ZodString;
1091
+ } & {
1092
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SEND">;
1093
+ feeStrategy: z__default.ZodObject<{
1094
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
1095
+ }, "strip", z__default.ZodTypeAny, {
1096
+ type: "NORMAL" | "FAST" | "SLOW";
1097
+ }, {
1098
+ type: "NORMAL" | "FAST" | "SLOW";
1099
+ }>;
1100
+ }, "strip", z__default.ZodTypeAny, {
1101
+ type: "SOLANA_LIKE_SEND";
1102
+ currency: string;
1103
+ amount: string;
1104
+ maxFee: string | null;
1105
+ recipient: string;
1106
+ feeStrategy: {
1107
+ type: "NORMAL" | "FAST" | "SLOW";
1108
+ };
1109
+ }, {
1110
+ type: "SOLANA_LIKE_SEND";
1111
+ currency: string;
1112
+ amount: string;
1113
+ maxFee: string | null;
1114
+ recipient: string;
1115
+ feeStrategy: {
1116
+ type: "NORMAL" | "FAST" | "SLOW";
1117
+ };
1118
+ }>, z__default.ZodObject<{
1119
+ amount: z__default.ZodString;
1120
+ currency: z__default.ZodString;
1121
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1122
+ recipient: z__default.ZodString;
1123
+ } & {
1124
+ type: z__default.ZodLiteral<"STELLAR_LIKE_SEND">;
1125
+ memo: z__default.ZodNullable<z__default.ZodUnion<[z__default.ZodObject<{
1126
+ MEMO_TEXT: z__default.ZodString;
1127
+ }, "strip", z__default.ZodTypeAny, {
1128
+ MEMO_TEXT: string;
1129
+ }, {
1130
+ MEMO_TEXT: string;
1131
+ }>, z__default.ZodObject<{
1132
+ MEMO_ID: z__default.ZodString;
1133
+ }, "strip", z__default.ZodTypeAny, {
1134
+ MEMO_ID: string;
1135
+ }, {
1136
+ MEMO_ID: string;
1137
+ }>, z__default.ZodObject<{
1138
+ MEMO_HASH: z__default.ZodString;
1139
+ }, "strip", z__default.ZodTypeAny, {
1140
+ MEMO_HASH: string;
1141
+ }, {
1142
+ MEMO_HASH: string;
1143
+ }>, z__default.ZodObject<{
1144
+ MEMO_RETURN: z__default.ZodString;
1145
+ }, "strip", z__default.ZodTypeAny, {
1146
+ MEMO_RETURN: string;
1147
+ }, {
1148
+ MEMO_RETURN: string;
1149
+ }>]>>;
1150
+ feeStrategy: z__default.ZodObject<{
1151
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST"]>;
1152
+ }, "strip", z__default.ZodTypeAny, {
1153
+ type: "NORMAL" | "FAST" | "SLOW";
1154
+ }, {
1155
+ type: "NORMAL" | "FAST" | "SLOW";
1156
+ }>;
1157
+ }, "strip", z__default.ZodTypeAny, {
1158
+ type: "STELLAR_LIKE_SEND";
1159
+ currency: string;
1160
+ amount: string;
1161
+ maxFee: string | null;
1162
+ recipient: string;
1163
+ feeStrategy: {
1164
+ type: "NORMAL" | "FAST" | "SLOW";
1165
+ };
1166
+ memo: {
1167
+ MEMO_TEXT: string;
1168
+ } | {
1169
+ MEMO_ID: string;
1170
+ } | {
1171
+ MEMO_HASH: string;
1172
+ } | {
1173
+ MEMO_RETURN: string;
1174
+ } | null;
1175
+ }, {
1176
+ type: "STELLAR_LIKE_SEND";
1177
+ currency: string;
1178
+ amount: string;
1179
+ maxFee: string | null;
1180
+ recipient: string;
1181
+ feeStrategy: {
1182
+ type: "NORMAL" | "FAST" | "SLOW";
1183
+ };
1184
+ memo: {
1185
+ MEMO_TEXT: string;
1186
+ } | {
1187
+ MEMO_ID: string;
1188
+ } | {
1189
+ MEMO_HASH: string;
1190
+ } | {
1191
+ MEMO_RETURN: string;
1192
+ } | null;
1193
+ }>, z__default.ZodObject<{
1194
+ amount: z__default.ZodString;
1195
+ currency: z__default.ZodString;
1196
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1197
+ recipient: z__default.ZodString;
1198
+ } & {
1199
+ type: z__default.ZodLiteral<"TEZOS_LIKE_SEND">;
1200
+ feeStrategy: z__default.ZodObject<{
1201
+ type: z__default.ZodEnum<["SLOW", "NORMAL", "FAST", "CUSTOM"]>;
1202
+ } & {
1203
+ gasLimit: z__default.ZodString;
1204
+ storageLimit: z__default.ZodNullable<z__default.ZodString>;
1205
+ }, "strip", z__default.ZodTypeAny, {
1206
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1207
+ gasLimit: string;
1208
+ storageLimit: string | null;
1209
+ }, {
1210
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1211
+ gasLimit: string;
1212
+ storageLimit: string | null;
1213
+ }>;
1214
+ }, "strip", z__default.ZodTypeAny, {
1215
+ type: "TEZOS_LIKE_SEND";
1216
+ currency: string;
1217
+ amount: string;
1218
+ maxFee: string | null;
1219
+ recipient: string;
1220
+ feeStrategy: {
1221
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1222
+ gasLimit: string;
1223
+ storageLimit: string | null;
1224
+ };
1225
+ }, {
1226
+ type: "TEZOS_LIKE_SEND";
1227
+ currency: string;
1228
+ amount: string;
1229
+ maxFee: string | null;
1230
+ recipient: string;
1231
+ feeStrategy: {
1232
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1233
+ gasLimit: string;
1234
+ storageLimit: string | null;
1235
+ };
1236
+ }>]>;
1237
+ }, "strip", z__default.ZodTypeAny, {
1238
+ accountId: string;
1239
+ exchangeId: string;
1240
+ transaction: {
1241
+ type: "BITCOIN_LIKE_SEND";
1242
+ currency: string;
1243
+ amount: string;
1244
+ maxFee: string | null;
1245
+ recipient: string;
1246
+ feeStrategy: {
1247
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1248
+ feePerByte?: string | null | undefined;
1249
+ };
1250
+ } | {
1251
+ type: "ETHEREUM_LIKE_SEND";
1252
+ currency: string;
1253
+ amount: string;
1254
+ maxFee: string | null;
1255
+ recipient: string;
1256
+ feeStrategy: {
1257
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1258
+ gasPrice: string;
1259
+ gasLimit: string;
1260
+ } | {
1261
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1262
+ gasLimit: string;
1263
+ maxPriorityFeePerGas: string;
1264
+ maxFeePerGas: string;
1265
+ };
1266
+ } | {
1267
+ type: "TEZOS_LIKE_SEND";
1268
+ currency: string;
1269
+ amount: string;
1270
+ maxFee: string | null;
1271
+ recipient: string;
1272
+ feeStrategy: {
1273
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1274
+ gasLimit: string;
1275
+ storageLimit: string | null;
1276
+ };
1277
+ } | {
1278
+ type: "POLKADOT_LIKE_SEND";
1279
+ currency: string;
1280
+ amount: string;
1281
+ maxFee: string | null;
1282
+ recipient: string;
1283
+ } | {
1284
+ type: "RIPPLE_LIKE_SEND";
1285
+ currency: string;
1286
+ amount: string;
1287
+ maxFee: string | null;
1288
+ recipient: string;
1289
+ feeStrategy: {
1290
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1291
+ };
1292
+ destinationTag: string | null;
1293
+ } | {
1294
+ type: "STELLAR_LIKE_SEND";
1295
+ currency: string;
1296
+ amount: string;
1297
+ maxFee: string | null;
1298
+ recipient: string;
1299
+ feeStrategy: {
1300
+ type: "NORMAL" | "FAST" | "SLOW";
1301
+ };
1302
+ memo: {
1303
+ MEMO_TEXT: string;
1304
+ } | {
1305
+ MEMO_ID: string;
1306
+ } | {
1307
+ MEMO_HASH: string;
1308
+ } | {
1309
+ MEMO_RETURN: string;
1310
+ } | null;
1311
+ } | {
1312
+ type: "SOLANA_LIKE_SEND";
1313
+ currency: string;
1314
+ amount: string;
1315
+ maxFee: string | null;
1316
+ recipient: string;
1317
+ feeStrategy: {
1318
+ type: "NORMAL" | "FAST" | "SLOW";
1319
+ };
1320
+ } | {
1321
+ type: "CARDANO_LIKE_SEND";
1322
+ currency: string;
1323
+ amount: string;
1324
+ maxFee: string | null;
1325
+ recipient: string;
1326
+ feeStrategy: {
1327
+ type: "NORMAL" | "FAST" | "SLOW";
1328
+ };
1329
+ };
1330
+ }, {
1331
+ accountId: string;
1332
+ exchangeId: string;
1333
+ transaction: {
1334
+ type: "BITCOIN_LIKE_SEND";
1335
+ currency: string;
1336
+ amount: string;
1337
+ maxFee: string | null;
1338
+ recipient: string;
1339
+ feeStrategy: {
1340
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1341
+ feePerByte?: string | null | undefined;
1342
+ };
1343
+ } | {
1344
+ type: "ETHEREUM_LIKE_SEND";
1345
+ currency: string;
1346
+ amount: string;
1347
+ maxFee: string | null;
1348
+ recipient: string;
1349
+ feeStrategy: {
1350
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1351
+ gasPrice: string;
1352
+ gasLimit: string;
1353
+ } | {
1354
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1355
+ gasLimit: string;
1356
+ maxPriorityFeePerGas: string;
1357
+ maxFeePerGas: string;
1358
+ };
1359
+ } | {
1360
+ type: "TEZOS_LIKE_SEND";
1361
+ currency: string;
1362
+ amount: string;
1363
+ maxFee: string | null;
1364
+ recipient: string;
1365
+ feeStrategy: {
1366
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1367
+ gasLimit: string;
1368
+ storageLimit: string | null;
1369
+ };
1370
+ } | {
1371
+ type: "POLKADOT_LIKE_SEND";
1372
+ currency: string;
1373
+ amount: string;
1374
+ maxFee: string | null;
1375
+ recipient: string;
1376
+ } | {
1377
+ type: "RIPPLE_LIKE_SEND";
1378
+ currency: string;
1379
+ amount: string;
1380
+ maxFee: string | null;
1381
+ recipient: string;
1382
+ feeStrategy: {
1383
+ type: "NORMAL" | "FAST" | "SLOW" | "CUSTOM";
1384
+ };
1385
+ destinationTag: string | null;
1386
+ } | {
1387
+ type: "STELLAR_LIKE_SEND";
1388
+ currency: string;
1389
+ amount: string;
1390
+ maxFee: string | null;
1391
+ recipient: string;
1392
+ feeStrategy: {
1393
+ type: "NORMAL" | "FAST" | "SLOW";
1394
+ };
1395
+ memo: {
1396
+ MEMO_TEXT: string;
837
1397
  } | {
838
- quorum: number;
839
- groupId: string;
840
- })[];
841
- operationType: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
842
- threshold?: {
843
- min: string | null;
844
- max: string | null;
845
- } | undefined;
846
- whitelistIds?: string[] | undefined;
847
- }>]>, "many">;
848
- }, "strip", z__default.ZodTypeAny, {
849
- contractAddress: string;
850
- rules: {
851
- reviewSteps: ({
852
- quorum: number;
853
- userIds: string[];
1398
+ MEMO_ID: string;
854
1399
  } | {
855
- quorum: number;
856
- groupId: string;
857
- })[];
858
- operationType: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
859
- threshold?: {
860
- min: string | null;
861
- max: string | null;
862
- } | undefined;
863
- whitelistIds?: string[] | undefined;
864
- }[];
865
- parentAccountId: string;
866
- }, {
867
- contractAddress: string;
868
- rules: {
869
- reviewSteps: ({
870
- quorum: number;
871
- userIds: string[];
1400
+ MEMO_HASH: string;
872
1401
  } | {
873
- quorum: number;
874
- groupId: string;
875
- })[];
876
- operationType: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
877
- threshold?: {
878
- min: string | null;
879
- max: string | null;
880
- } | undefined;
881
- whitelistIds?: string[] | undefined;
882
- }[];
883
- parentAccountId: string;
1402
+ MEMO_RETURN: string;
1403
+ } | null;
1404
+ } | {
1405
+ type: "SOLANA_LIKE_SEND";
1406
+ currency: string;
1407
+ amount: string;
1408
+ maxFee: string | null;
1409
+ recipient: string;
1410
+ feeStrategy: {
1411
+ type: "NORMAL" | "FAST" | "SLOW";
1412
+ };
1413
+ } | {
1414
+ type: "CARDANO_LIKE_SEND";
1415
+ currency: string;
1416
+ amount: string;
1417
+ maxFee: string | null;
1418
+ recipient: string;
1419
+ feeStrategy: {
1420
+ type: "NORMAL" | "FAST" | "SLOW";
1421
+ };
1422
+ };
884
1423
  }>;
885
- type EditTokenRuleRequestData = z__default.infer<typeof zEditTokenRuleRequestData>;
886
-
887
- declare const zAdjustPledgeRequestData: z__default.ZodObject<{
1424
+ type CreateSettlementRequestData = z__default.infer<typeof zCreateSettlementRequestData>;
1425
+ declare const zForceUnpledgeRequestData: z__default.ZodObject<{
888
1426
  accountId: z__default.ZodString;
889
1427
  exchangeId: z__default.ZodString;
890
- amount: z__default.ZodString;
891
1428
  }, "strip", z__default.ZodTypeAny, {
892
1429
  accountId: string;
893
1430
  exchangeId: string;
894
- amount: string;
895
1431
  }, {
896
1432
  accountId: string;
897
1433
  exchangeId: string;
898
- amount: string;
899
1434
  }>;
900
- type AdjustPledgeRequestData = z__default.infer<typeof zAdjustPledgeRequestData>;
901
- declare const zCreateSettlementRequestData: z__default.ZodObject<{
1435
+ type ForceUnpledgeRequestData = z__default.infer<typeof zForceUnpledgeRequestData>;
1436
+ declare const zTradelinkWithdrawRequestData: z__default.ZodObject<{
902
1437
  accountId: z__default.ZodString;
903
- exchangeId: z__default.ZodString;
904
1438
  transaction: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
905
1439
  amount: z__default.ZodString;
906
1440
  currency: z__default.ZodString;
@@ -1247,7 +1781,6 @@ declare const zCreateSettlementRequestData: z__default.ZodObject<{
1247
1781
  }>]>;
1248
1782
  }, "strip", z__default.ZodTypeAny, {
1249
1783
  accountId: string;
1250
- exchangeId: string;
1251
1784
  transaction: {
1252
1785
  type: "BITCOIN_LIKE_SEND";
1253
1786
  currency: string;
@@ -1340,7 +1873,6 @@ declare const zCreateSettlementRequestData: z__default.ZodObject<{
1340
1873
  };
1341
1874
  }, {
1342
1875
  accountId: string;
1343
- exchangeId: string;
1344
1876
  transaction: {
1345
1877
  type: "BITCOIN_LIKE_SEND";
1346
1878
  currency: string;
@@ -1432,19 +1964,8 @@ declare const zCreateSettlementRequestData: z__default.ZodObject<{
1432
1964
  };
1433
1965
  };
1434
1966
  }>;
1435
- type CreateSettlementRequestData = z__default.infer<typeof zCreateSettlementRequestData>;
1436
- declare const zForceUnpledgeRequestData: z__default.ZodObject<{
1437
- accountId: z__default.ZodString;
1438
- exchangeId: z__default.ZodString;
1439
- }, "strip", z__default.ZodTypeAny, {
1440
- accountId: string;
1441
- exchangeId: string;
1442
- }, {
1443
- accountId: string;
1444
- exchangeId: string;
1445
- }>;
1446
- type ForceUnpledgeRequestData = z__default.infer<typeof zForceUnpledgeRequestData>;
1447
- declare const zTradelinkWithdrawRequestData: z__default.ZodObject<{
1967
+ type TradelinkWithdrawRequestData = z__default.infer<typeof zTradelinkWithdrawRequestData>;
1968
+ declare const zTradelinkArbitrationRequestData: z__default.ZodObject<{
1448
1969
  accountId: z__default.ZodString;
1449
1970
  transaction: z__default.ZodDiscriminatedUnion<"type", [z__default.ZodObject<{
1450
1971
  amount: z__default.ZodString;
@@ -1975,7 +2496,7 @@ declare const zTradelinkWithdrawRequestData: z__default.ZodObject<{
1975
2496
  };
1976
2497
  };
1977
2498
  }>;
1978
- type TradelinkWithdrawRequestData = z__default.infer<typeof zTradelinkWithdrawRequestData>;
2499
+ type TradelinkArbitrationRequestData = z__default.infer<typeof zTradelinkArbitrationRequestData>;
1979
2500
 
1980
2501
  /**
1981
2502
  * Schema of `Request.data` for `CREATE_TRANSACTION` request.
@@ -3724,23 +4245,23 @@ declare const zSignDigestsRequestData: z__default.ZodObject<{
3724
4245
  digest: z__default.ZodString;
3725
4246
  derivationPath: z__default.ZodString;
3726
4247
  }, "strip", z__default.ZodTypeAny, {
3727
- derivationPath: string;
3728
4248
  digest: string;
3729
- }, {
3730
4249
  derivationPath: string;
4250
+ }, {
3731
4251
  digest: string;
4252
+ derivationPath: string;
3732
4253
  }>, "many">;
3733
4254
  }, "strip", z__default.ZodTypeAny, {
3734
4255
  accountId: string;
3735
4256
  digests: {
3736
- derivationPath: string;
3737
4257
  digest: string;
4258
+ derivationPath: string;
3738
4259
  }[];
3739
4260
  }, {
3740
4261
  accountId: string;
3741
4262
  digests: {
3742
- derivationPath: string;
3743
4263
  digest: string;
4264
+ derivationPath: string;
3744
4265
  }[];
3745
4266
  }>;
3746
4267
  type SignDigestsRequestData = z__default.infer<typeof zSignDigestsRequestData>;
@@ -3887,13 +4408,19 @@ declare const zCreatePsdUserRequestData: z__default.ZodObject<{
3887
4408
  type CreatePsdUserRequestData = z__default.infer<typeof zCreatePsdUserRequestData>;
3888
4409
  declare const zCreateApiUserRequestData: z__default.ZodObject<{
3889
4410
  name: z__default.ZodString;
3890
- publicKey: z__default.ZodString;
4411
+ pubKey: z__default.ZodString;
4412
+ role: z__default.ZodEnum<["ADMIN", "OPERATOR"]>;
4413
+ viewAll: z__default.ZodOptional<z__default.ZodDefault<z__default.ZodBoolean>>;
3891
4414
  }, "strip", z__default.ZodTypeAny, {
3892
4415
  name: string;
3893
- publicKey: string;
4416
+ pubKey: string;
4417
+ role: "ADMIN" | "OPERATOR";
4418
+ viewAll?: boolean | undefined;
3894
4419
  }, {
3895
4420
  name: string;
3896
- publicKey: string;
4421
+ pubKey: string;
4422
+ role: "ADMIN" | "OPERATOR";
4423
+ viewAll?: boolean | undefined;
3897
4424
  }>;
3898
4425
  type CreateApiUserRequestData = z__default.infer<typeof zCreateApiUserRequestData>;
3899
4426
  declare const zCreateApiUserAccessRequestData: z__default.ZodObject<{
@@ -3905,632 +4432,6 @@ declare const zCreateApiUserAccessRequestData: z__default.ZodObject<{
3905
4432
  }>;
3906
4433
  type CreateApiUserAccessRequestData = z__default.infer<typeof zCreateApiUserAccessRequestData>;
3907
4434
 
3908
- declare const zCreateAdminRequestData: z__default.ZodObject<{
3909
- name: z__default.ZodString;
3910
- deviceUserId: z__default.ZodString;
3911
- registration: z__default.ZodOptional<z__default.ZodDiscriminatedUnion<"subState", [z__default.ZodObject<{
3912
- subState: z__default.ZodLiteral<"PENDING">;
3913
- deviceData: z__default.ZodObject<{
3914
- name: z__default.ZodString;
3915
- psdModel: z__default.ZodNativeEnum<{
3916
- BLUE: "BLUE";
3917
- STAX: "STAX";
3918
- }>;
3919
- pubKey: z__default.ZodString;
3920
- confidentialityKey: z__default.ZodString;
3921
- psdEphemeralKey: z__default.ZodString;
3922
- psdEphemeralKeyAttestation: z__default.ZodObject<{
3923
- codeHash: z__default.ZodString;
3924
- attestationPub: z__default.ZodString;
3925
- certificate: z__default.ZodString;
3926
- signature: z__default.ZodString;
3927
- }, "strip", z__default.ZodTypeAny, {
3928
- signature: string;
3929
- codeHash: string;
3930
- attestationPub: string;
3931
- certificate: string;
3932
- }, {
3933
- signature: string;
3934
- codeHash: string;
3935
- attestationPub: string;
3936
- certificate: string;
3937
- }>;
3938
- }, "strip", z__default.ZodTypeAny, {
3939
- name: string;
3940
- pubKey: string;
3941
- psdModel: "BLUE" | "STAX";
3942
- confidentialityKey: string;
3943
- psdEphemeralKey: string;
3944
- psdEphemeralKeyAttestation: {
3945
- signature: string;
3946
- codeHash: string;
3947
- attestationPub: string;
3948
- certificate: string;
3949
- };
3950
- }, {
3951
- name: string;
3952
- pubKey: string;
3953
- psdModel: "BLUE" | "STAX";
3954
- confidentialityKey: string;
3955
- psdEphemeralKey: string;
3956
- psdEphemeralKeyAttestation: {
3957
- signature: string;
3958
- codeHash: string;
3959
- attestationPub: string;
3960
- certificate: string;
3961
- };
3962
- }>;
3963
- challenge: z__default.ZodObject<{
3964
- challenge: z__default.ZodString;
3965
- ephemeralPublicKey: z__default.ZodString;
3966
- ephemeralPublicKeyAttestation: z__default.ZodObject<{
3967
- codeHash: z__default.ZodString;
3968
- attestationPub: z__default.ZodString;
3969
- certificate: z__default.ZodString;
3970
- signature: z__default.ZodString;
3971
- }, "strip", z__default.ZodTypeAny, {
3972
- signature: string;
3973
- codeHash: string;
3974
- attestationPub: string;
3975
- certificate: string;
3976
- }, {
3977
- signature: string;
3978
- codeHash: string;
3979
- attestationPub: string;
3980
- certificate: string;
3981
- }>;
3982
- handshake: z__default.ZodString;
3983
- handshakeAttestation: z__default.ZodObject<{
3984
- codeHash: z__default.ZodString;
3985
- attestationPub: z__default.ZodString;
3986
- certificate: z__default.ZodString;
3987
- signature: z__default.ZodString;
3988
- }, "strip", z__default.ZodTypeAny, {
3989
- signature: string;
3990
- codeHash: string;
3991
- attestationPub: string;
3992
- certificate: string;
3993
- }, {
3994
- signature: string;
3995
- codeHash: string;
3996
- attestationPub: string;
3997
- certificate: string;
3998
- }>;
3999
- u2fRegisterData: z__default.ZodString;
4000
- ciphertext: z__default.ZodString;
4001
- requestId: z__default.ZodString;
4002
- }, "strip", z__default.ZodTypeAny, {
4003
- challenge: string;
4004
- requestId: string;
4005
- handshake: string;
4006
- handshakeAttestation: {
4007
- signature: string;
4008
- codeHash: string;
4009
- attestationPub: string;
4010
- certificate: string;
4011
- };
4012
- ephemeralPublicKey: string;
4013
- ephemeralPublicKeyAttestation: {
4014
- signature: string;
4015
- codeHash: string;
4016
- attestationPub: string;
4017
- certificate: string;
4018
- };
4019
- u2fRegisterData: string;
4020
- ciphertext: string;
4021
- }, {
4022
- challenge: string;
4023
- requestId: string;
4024
- handshake: string;
4025
- handshakeAttestation: {
4026
- signature: string;
4027
- codeHash: string;
4028
- attestationPub: string;
4029
- certificate: string;
4030
- };
4031
- ephemeralPublicKey: string;
4032
- ephemeralPublicKeyAttestation: {
4033
- signature: string;
4034
- codeHash: string;
4035
- attestationPub: string;
4036
- certificate: string;
4037
- };
4038
- u2fRegisterData: string;
4039
- ciphertext: string;
4040
- }>;
4041
- }, "strip", z__default.ZodTypeAny, {
4042
- challenge: {
4043
- challenge: string;
4044
- requestId: string;
4045
- handshake: string;
4046
- handshakeAttestation: {
4047
- signature: string;
4048
- codeHash: string;
4049
- attestationPub: string;
4050
- certificate: string;
4051
- };
4052
- ephemeralPublicKey: string;
4053
- ephemeralPublicKeyAttestation: {
4054
- signature: string;
4055
- codeHash: string;
4056
- attestationPub: string;
4057
- certificate: string;
4058
- };
4059
- u2fRegisterData: string;
4060
- ciphertext: string;
4061
- };
4062
- subState: "PENDING";
4063
- deviceData: {
4064
- name: string;
4065
- pubKey: string;
4066
- psdModel: "BLUE" | "STAX";
4067
- confidentialityKey: string;
4068
- psdEphemeralKey: string;
4069
- psdEphemeralKeyAttestation: {
4070
- signature: string;
4071
- codeHash: string;
4072
- attestationPub: string;
4073
- certificate: string;
4074
- };
4075
- };
4076
- }, {
4077
- challenge: {
4078
- challenge: string;
4079
- requestId: string;
4080
- handshake: string;
4081
- handshakeAttestation: {
4082
- signature: string;
4083
- codeHash: string;
4084
- attestationPub: string;
4085
- certificate: string;
4086
- };
4087
- ephemeralPublicKey: string;
4088
- ephemeralPublicKeyAttestation: {
4089
- signature: string;
4090
- codeHash: string;
4091
- attestationPub: string;
4092
- certificate: string;
4093
- };
4094
- u2fRegisterData: string;
4095
- ciphertext: string;
4096
- };
4097
- subState: "PENDING";
4098
- deviceData: {
4099
- name: string;
4100
- pubKey: string;
4101
- psdModel: "BLUE" | "STAX";
4102
- confidentialityKey: string;
4103
- psdEphemeralKey: string;
4104
- psdEphemeralKeyAttestation: {
4105
- signature: string;
4106
- codeHash: string;
4107
- attestationPub: string;
4108
- certificate: string;
4109
- };
4110
- };
4111
- }>, z__default.ZodObject<{
4112
- subState: z__default.ZodLiteral<"COMPLETED">;
4113
- pubKey: z__default.ZodString;
4114
- u2fKeyHandle: z__default.ZodString;
4115
- u2fPubKey: z__default.ZodString;
4116
- }, "strip", z__default.ZodTypeAny, {
4117
- pubKey: string;
4118
- u2fKeyHandle: string;
4119
- u2fPubKey: string;
4120
- subState: "COMPLETED";
4121
- }, {
4122
- pubKey: string;
4123
- u2fKeyHandle: string;
4124
- u2fPubKey: string;
4125
- subState: "COMPLETED";
4126
- }>]>>;
4127
- } & {
4128
- deviceType: z__default.ZodLiteral<"PSD">;
4129
- }, "strip", z__default.ZodTypeAny, {
4130
- name: string;
4131
- deviceType: "PSD";
4132
- deviceUserId: string;
4133
- registration?: {
4134
- challenge: {
4135
- challenge: string;
4136
- requestId: string;
4137
- handshake: string;
4138
- handshakeAttestation: {
4139
- signature: string;
4140
- codeHash: string;
4141
- attestationPub: string;
4142
- certificate: string;
4143
- };
4144
- ephemeralPublicKey: string;
4145
- ephemeralPublicKeyAttestation: {
4146
- signature: string;
4147
- codeHash: string;
4148
- attestationPub: string;
4149
- certificate: string;
4150
- };
4151
- u2fRegisterData: string;
4152
- ciphertext: string;
4153
- };
4154
- subState: "PENDING";
4155
- deviceData: {
4156
- name: string;
4157
- pubKey: string;
4158
- psdModel: "BLUE" | "STAX";
4159
- confidentialityKey: string;
4160
- psdEphemeralKey: string;
4161
- psdEphemeralKeyAttestation: {
4162
- signature: string;
4163
- codeHash: string;
4164
- attestationPub: string;
4165
- certificate: string;
4166
- };
4167
- };
4168
- } | {
4169
- pubKey: string;
4170
- u2fKeyHandle: string;
4171
- u2fPubKey: string;
4172
- subState: "COMPLETED";
4173
- } | undefined;
4174
- }, {
4175
- name: string;
4176
- deviceType: "PSD";
4177
- deviceUserId: string;
4178
- registration?: {
4179
- challenge: {
4180
- challenge: string;
4181
- requestId: string;
4182
- handshake: string;
4183
- handshakeAttestation: {
4184
- signature: string;
4185
- codeHash: string;
4186
- attestationPub: string;
4187
- certificate: string;
4188
- };
4189
- ephemeralPublicKey: string;
4190
- ephemeralPublicKeyAttestation: {
4191
- signature: string;
4192
- codeHash: string;
4193
- attestationPub: string;
4194
- certificate: string;
4195
- };
4196
- u2fRegisterData: string;
4197
- ciphertext: string;
4198
- };
4199
- subState: "PENDING";
4200
- deviceData: {
4201
- name: string;
4202
- pubKey: string;
4203
- psdModel: "BLUE" | "STAX";
4204
- confidentialityKey: string;
4205
- psdEphemeralKey: string;
4206
- psdEphemeralKeyAttestation: {
4207
- signature: string;
4208
- codeHash: string;
4209
- attestationPub: string;
4210
- certificate: string;
4211
- };
4212
- };
4213
- } | {
4214
- pubKey: string;
4215
- u2fKeyHandle: string;
4216
- u2fPubKey: string;
4217
- subState: "COMPLETED";
4218
- } | undefined;
4219
- }>;
4220
- type CreateAdminRequestData = z__default.infer<typeof zCreateAdminRequestData>;
4221
- declare const zCreateOperatorRequestData: z__default.ZodObject<{
4222
- name: z__default.ZodString;
4223
- deviceType: z__default.ZodEnum<["PSD", "SOFT_PSD"]>;
4224
- deviceUserId: z__default.ZodString;
4225
- registration: z__default.ZodOptional<z__default.ZodDiscriminatedUnion<"subState", [z__default.ZodObject<{
4226
- subState: z__default.ZodLiteral<"PENDING">;
4227
- deviceData: z__default.ZodObject<{
4228
- name: z__default.ZodString;
4229
- psdModel: z__default.ZodNativeEnum<{
4230
- BLUE: "BLUE";
4231
- STAX: "STAX";
4232
- }>;
4233
- pubKey: z__default.ZodString;
4234
- confidentialityKey: z__default.ZodString;
4235
- psdEphemeralKey: z__default.ZodString;
4236
- psdEphemeralKeyAttestation: z__default.ZodObject<{
4237
- codeHash: z__default.ZodString;
4238
- attestationPub: z__default.ZodString;
4239
- certificate: z__default.ZodString;
4240
- signature: z__default.ZodString;
4241
- }, "strip", z__default.ZodTypeAny, {
4242
- signature: string;
4243
- codeHash: string;
4244
- attestationPub: string;
4245
- certificate: string;
4246
- }, {
4247
- signature: string;
4248
- codeHash: string;
4249
- attestationPub: string;
4250
- certificate: string;
4251
- }>;
4252
- }, "strip", z__default.ZodTypeAny, {
4253
- name: string;
4254
- pubKey: string;
4255
- psdModel: "BLUE" | "STAX";
4256
- confidentialityKey: string;
4257
- psdEphemeralKey: string;
4258
- psdEphemeralKeyAttestation: {
4259
- signature: string;
4260
- codeHash: string;
4261
- attestationPub: string;
4262
- certificate: string;
4263
- };
4264
- }, {
4265
- name: string;
4266
- pubKey: string;
4267
- psdModel: "BLUE" | "STAX";
4268
- confidentialityKey: string;
4269
- psdEphemeralKey: string;
4270
- psdEphemeralKeyAttestation: {
4271
- signature: string;
4272
- codeHash: string;
4273
- attestationPub: string;
4274
- certificate: string;
4275
- };
4276
- }>;
4277
- challenge: z__default.ZodObject<{
4278
- challenge: z__default.ZodString;
4279
- ephemeralPublicKey: z__default.ZodString;
4280
- ephemeralPublicKeyAttestation: z__default.ZodObject<{
4281
- codeHash: z__default.ZodString;
4282
- attestationPub: z__default.ZodString;
4283
- certificate: z__default.ZodString;
4284
- signature: z__default.ZodString;
4285
- }, "strip", z__default.ZodTypeAny, {
4286
- signature: string;
4287
- codeHash: string;
4288
- attestationPub: string;
4289
- certificate: string;
4290
- }, {
4291
- signature: string;
4292
- codeHash: string;
4293
- attestationPub: string;
4294
- certificate: string;
4295
- }>;
4296
- handshake: z__default.ZodString;
4297
- handshakeAttestation: z__default.ZodObject<{
4298
- codeHash: z__default.ZodString;
4299
- attestationPub: z__default.ZodString;
4300
- certificate: z__default.ZodString;
4301
- signature: z__default.ZodString;
4302
- }, "strip", z__default.ZodTypeAny, {
4303
- signature: string;
4304
- codeHash: string;
4305
- attestationPub: string;
4306
- certificate: string;
4307
- }, {
4308
- signature: string;
4309
- codeHash: string;
4310
- attestationPub: string;
4311
- certificate: string;
4312
- }>;
4313
- u2fRegisterData: z__default.ZodString;
4314
- ciphertext: z__default.ZodString;
4315
- requestId: z__default.ZodString;
4316
- }, "strip", z__default.ZodTypeAny, {
4317
- challenge: string;
4318
- requestId: string;
4319
- handshake: string;
4320
- handshakeAttestation: {
4321
- signature: string;
4322
- codeHash: string;
4323
- attestationPub: string;
4324
- certificate: string;
4325
- };
4326
- ephemeralPublicKey: string;
4327
- ephemeralPublicKeyAttestation: {
4328
- signature: string;
4329
- codeHash: string;
4330
- attestationPub: string;
4331
- certificate: string;
4332
- };
4333
- u2fRegisterData: string;
4334
- ciphertext: string;
4335
- }, {
4336
- challenge: string;
4337
- requestId: string;
4338
- handshake: string;
4339
- handshakeAttestation: {
4340
- signature: string;
4341
- codeHash: string;
4342
- attestationPub: string;
4343
- certificate: string;
4344
- };
4345
- ephemeralPublicKey: string;
4346
- ephemeralPublicKeyAttestation: {
4347
- signature: string;
4348
- codeHash: string;
4349
- attestationPub: string;
4350
- certificate: string;
4351
- };
4352
- u2fRegisterData: string;
4353
- ciphertext: string;
4354
- }>;
4355
- }, "strip", z__default.ZodTypeAny, {
4356
- challenge: {
4357
- challenge: string;
4358
- requestId: string;
4359
- handshake: string;
4360
- handshakeAttestation: {
4361
- signature: string;
4362
- codeHash: string;
4363
- attestationPub: string;
4364
- certificate: string;
4365
- };
4366
- ephemeralPublicKey: string;
4367
- ephemeralPublicKeyAttestation: {
4368
- signature: string;
4369
- codeHash: string;
4370
- attestationPub: string;
4371
- certificate: string;
4372
- };
4373
- u2fRegisterData: string;
4374
- ciphertext: string;
4375
- };
4376
- subState: "PENDING";
4377
- deviceData: {
4378
- name: string;
4379
- pubKey: string;
4380
- psdModel: "BLUE" | "STAX";
4381
- confidentialityKey: string;
4382
- psdEphemeralKey: string;
4383
- psdEphemeralKeyAttestation: {
4384
- signature: string;
4385
- codeHash: string;
4386
- attestationPub: string;
4387
- certificate: string;
4388
- };
4389
- };
4390
- }, {
4391
- challenge: {
4392
- challenge: string;
4393
- requestId: string;
4394
- handshake: string;
4395
- handshakeAttestation: {
4396
- signature: string;
4397
- codeHash: string;
4398
- attestationPub: string;
4399
- certificate: string;
4400
- };
4401
- ephemeralPublicKey: string;
4402
- ephemeralPublicKeyAttestation: {
4403
- signature: string;
4404
- codeHash: string;
4405
- attestationPub: string;
4406
- certificate: string;
4407
- };
4408
- u2fRegisterData: string;
4409
- ciphertext: string;
4410
- };
4411
- subState: "PENDING";
4412
- deviceData: {
4413
- name: string;
4414
- pubKey: string;
4415
- psdModel: "BLUE" | "STAX";
4416
- confidentialityKey: string;
4417
- psdEphemeralKey: string;
4418
- psdEphemeralKeyAttestation: {
4419
- signature: string;
4420
- codeHash: string;
4421
- attestationPub: string;
4422
- certificate: string;
4423
- };
4424
- };
4425
- }>, z__default.ZodObject<{
4426
- subState: z__default.ZodLiteral<"COMPLETED">;
4427
- pubKey: z__default.ZodString;
4428
- u2fKeyHandle: z__default.ZodString;
4429
- u2fPubKey: z__default.ZodString;
4430
- }, "strip", z__default.ZodTypeAny, {
4431
- pubKey: string;
4432
- u2fKeyHandle: string;
4433
- u2fPubKey: string;
4434
- subState: "COMPLETED";
4435
- }, {
4436
- pubKey: string;
4437
- u2fKeyHandle: string;
4438
- u2fPubKey: string;
4439
- subState: "COMPLETED";
4440
- }>]>>;
4441
- }, "strip", z__default.ZodTypeAny, {
4442
- name: string;
4443
- deviceType: "PSD" | "SOFT_PSD";
4444
- deviceUserId: string;
4445
- registration?: {
4446
- challenge: {
4447
- challenge: string;
4448
- requestId: string;
4449
- handshake: string;
4450
- handshakeAttestation: {
4451
- signature: string;
4452
- codeHash: string;
4453
- attestationPub: string;
4454
- certificate: string;
4455
- };
4456
- ephemeralPublicKey: string;
4457
- ephemeralPublicKeyAttestation: {
4458
- signature: string;
4459
- codeHash: string;
4460
- attestationPub: string;
4461
- certificate: string;
4462
- };
4463
- u2fRegisterData: string;
4464
- ciphertext: string;
4465
- };
4466
- subState: "PENDING";
4467
- deviceData: {
4468
- name: string;
4469
- pubKey: string;
4470
- psdModel: "BLUE" | "STAX";
4471
- confidentialityKey: string;
4472
- psdEphemeralKey: string;
4473
- psdEphemeralKeyAttestation: {
4474
- signature: string;
4475
- codeHash: string;
4476
- attestationPub: string;
4477
- certificate: string;
4478
- };
4479
- };
4480
- } | {
4481
- pubKey: string;
4482
- u2fKeyHandle: string;
4483
- u2fPubKey: string;
4484
- subState: "COMPLETED";
4485
- } | undefined;
4486
- }, {
4487
- name: string;
4488
- deviceType: "PSD" | "SOFT_PSD";
4489
- deviceUserId: string;
4490
- registration?: {
4491
- challenge: {
4492
- challenge: string;
4493
- requestId: string;
4494
- handshake: string;
4495
- handshakeAttestation: {
4496
- signature: string;
4497
- codeHash: string;
4498
- attestationPub: string;
4499
- certificate: string;
4500
- };
4501
- ephemeralPublicKey: string;
4502
- ephemeralPublicKeyAttestation: {
4503
- signature: string;
4504
- codeHash: string;
4505
- attestationPub: string;
4506
- certificate: string;
4507
- };
4508
- u2fRegisterData: string;
4509
- ciphertext: string;
4510
- };
4511
- subState: "PENDING";
4512
- deviceData: {
4513
- name: string;
4514
- pubKey: string;
4515
- psdModel: "BLUE" | "STAX";
4516
- confidentialityKey: string;
4517
- psdEphemeralKey: string;
4518
- psdEphemeralKeyAttestation: {
4519
- signature: string;
4520
- codeHash: string;
4521
- attestationPub: string;
4522
- certificate: string;
4523
- };
4524
- };
4525
- } | {
4526
- pubKey: string;
4527
- u2fKeyHandle: string;
4528
- u2fPubKey: string;
4529
- subState: "COMPLETED";
4530
- } | undefined;
4531
- }>;
4532
- type CreateOperatorRequestData = z__default.infer<typeof zCreateOperatorRequestData>;
4533
-
4534
4435
  declare const zCreateWhitelistRequestData: z__default.ZodObject<{
4535
4436
  name: z__default.ZodString;
4536
4437
  description: z__default.ZodNullable<z__default.ZodString>;
@@ -4555,8 +4456,8 @@ declare const zCreateWhitelistRequestData: z__default.ZodObject<{
4555
4456
  SMART_CONTRACT: "SMART_CONTRACT";
4556
4457
  }>;
4557
4458
  }, "strip", z__default.ZodTypeAny, {
4558
- type: "TRANSACTION" | "SMART_CONTRACT";
4559
4459
  name: string;
4460
+ type: "TRANSACTION" | "SMART_CONTRACT";
4560
4461
  description: string | null;
4561
4462
  addresses: {
4562
4463
  name: string;
@@ -4565,8 +4466,8 @@ declare const zCreateWhitelistRequestData: z__default.ZodObject<{
4565
4466
  destinationTags?: string[] | undefined;
4566
4467
  }[];
4567
4468
  }, {
4568
- type: "TRANSACTION" | "SMART_CONTRACT";
4569
4469
  name: string;
4470
+ type: "TRANSACTION" | "SMART_CONTRACT";
4570
4471
  description: string | null;
4571
4472
  addresses: {
4572
4473
  name: string;
@@ -4625,8 +4526,6 @@ type UpdateQuorumRequestData = z__default.infer<typeof zUpdateQuorumRequestData>
4625
4526
  type RequestDataTypes = {
4626
4527
  [RequestType.UPDATE_QUORUM]: UpdateQuorumRequestData;
4627
4528
  [RequestType.CREATE_PSD_USER]: CreatePsdUserRequestData;
4628
- [RequestType.CREATE_ADMIN]: CreateAdminRequestData;
4629
- [RequestType.CREATE_OPERATOR]: CreateOperatorRequestData;
4630
4529
  [RequestType.CREATE_API_USER]: CreateApiUserRequestData;
4631
4530
  [RequestType.CREATE_API_USER_ACCESS]: CreateApiUserAccessRequestData;
4632
4531
  [RequestType.REVOKE_USER]: Record<string, never>;
@@ -4654,9 +4553,11 @@ type RequestDataTypes = {
4654
4553
  [RequestType.CREATE_POLICY]: CreatePolicyRequestData;
4655
4554
  [RequestType.EDIT_POLICY]: EditPolicyRequestData;
4656
4555
  [RequestType.ADJUST_PLEDGE]: AdjustPledgeRequestData;
4556
+ [RequestType.TRADELINK_REPLEDGE]: RepledgeRequestData;
4657
4557
  [RequestType.CREATE_SETTLEMENT]: CreateSettlementRequestData;
4658
4558
  [RequestType.FORCE_UNPLEDGE]: ForceUnpledgeRequestData;
4659
4559
  [RequestType.TRADELINK_WITHDRAW]: TradelinkWithdrawRequestData;
4560
+ [RequestType.TRADELINK_ARBITRATE]: TradelinkArbitrationRequestData;
4660
4561
  };
4661
4562
  /**
4662
4563
  * A more strict subtype of `VaultRequest`: The `data` field should be a `Prisma.JsonValue`