@dfns/sdk 0.5.0 → 0.5.2-rc.1

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.
@@ -126,6 +126,28 @@ export type ArchivePolicyResponse = {
126
126
  limit: number;
127
127
  timeframe: number;
128
128
  };
129
+ } | {
130
+ kind: "ChainalysisTransactionPrescreening";
131
+ configuration: {
132
+ alerts: {
133
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
134
+ categoryIds: number[];
135
+ };
136
+ exposures: {
137
+ direct: {
138
+ categoryIds: number[];
139
+ };
140
+ };
141
+ addresses: {
142
+ categoryIds: number[];
143
+ };
144
+ fallbackBehaviours: {
145
+ skipUnscreenableTransaction: boolean;
146
+ skipUnsupportedNetwork: boolean;
147
+ skipUnsupportedAsset: boolean;
148
+ skipChainalysisFailure: boolean;
149
+ };
150
+ };
129
151
  };
130
152
  action: {
131
153
  kind: "RequestApproval";
@@ -141,6 +163,47 @@ export type ArchivePolicyResponse = {
141
163
  autoRejectTimeout?: (number | undefined) | null;
142
164
  } | {
143
165
  kind: "Block";
166
+ } | {
167
+ kind: "NoAction";
168
+ };
169
+ filters?: {
170
+ walletId?: {
171
+ in: string[];
172
+ } | undefined;
173
+ walletTags?: {
174
+ hasAny?: string[] | undefined;
175
+ hasAll?: string[] | undefined;
176
+ } | undefined;
177
+ } | undefined;
178
+ } | {
179
+ id: string;
180
+ name: string;
181
+ status: "Active" | "Archived";
182
+ dateCreated?: string | undefined;
183
+ dateUpdated?: string | undefined;
184
+ activityKind: "Wallets:IncomingTransaction";
185
+ rule: {
186
+ kind: "ChainalysisTransactionScreening";
187
+ configuration: {
188
+ alerts: {
189
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
190
+ categoryIds: number[];
191
+ };
192
+ exposures: {
193
+ direct: {
194
+ categoryIds: number[];
195
+ };
196
+ };
197
+ fallbackBehaviours: {
198
+ skipUnscreenableTransaction: boolean;
199
+ skipUnsupportedNetwork: boolean;
200
+ skipUnsupportedAsset: boolean;
201
+ skipChainalysisFailure: boolean;
202
+ };
203
+ };
204
+ };
205
+ action: {
206
+ kind: "NoAction";
144
207
  };
145
208
  filters?: {
146
209
  walletId?: {
@@ -358,6 +421,353 @@ export type CreateApprovalDecisionResponse = {
358
421
  dateSigned?: string | undefined;
359
422
  dateConfirmed?: string | undefined;
360
423
  } | undefined;
424
+ } | {
425
+ kind: "Wallets:IncomingTransaction";
426
+ blockchainEvent: {
427
+ walletId: string;
428
+ direction: "In" | "Out";
429
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
430
+ blockNumber: number;
431
+ txHash: string;
432
+ index?: string | undefined;
433
+ timestamp: string;
434
+ metadata: {
435
+ asset: {
436
+ symbol?: string | undefined;
437
+ decimals?: number | undefined;
438
+ verified?: boolean | undefined;
439
+ quotes?: {
440
+ [x: string]: number;
441
+ } | undefined;
442
+ };
443
+ fee?: {
444
+ symbol?: string | undefined;
445
+ decimals?: number | undefined;
446
+ verified?: boolean | undefined;
447
+ quotes?: {
448
+ [x: string]: number;
449
+ } | undefined;
450
+ } | undefined;
451
+ };
452
+ kind: "NativeTransfer";
453
+ from: string;
454
+ to: string;
455
+ value: string;
456
+ fee?: string | undefined;
457
+ memo?: string | undefined;
458
+ liquidityPool?: string | undefined;
459
+ balanceId?: string | undefined;
460
+ /** @deprecated use metadata.asset.symbol instead */
461
+ symbol: string;
462
+ /** @deprecated use metadata.asset.decimals instead */
463
+ decimals: number;
464
+ /** @deprecated use metadata.asset.verified instead */
465
+ verified?: boolean | undefined;
466
+ } | {
467
+ walletId: string;
468
+ direction: "In" | "Out";
469
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
470
+ blockNumber: number;
471
+ txHash: string;
472
+ index?: string | undefined;
473
+ timestamp: string;
474
+ metadata: {
475
+ asset: {
476
+ symbol?: string | undefined;
477
+ decimals?: number | undefined;
478
+ verified?: boolean | undefined;
479
+ quotes?: {
480
+ [x: string]: number;
481
+ } | undefined;
482
+ };
483
+ fee?: {
484
+ symbol?: string | undefined;
485
+ decimals?: number | undefined;
486
+ verified?: boolean | undefined;
487
+ quotes?: {
488
+ [x: string]: number;
489
+ } | undefined;
490
+ } | undefined;
491
+ };
492
+ kind: "AsaTransfer";
493
+ assetId: string;
494
+ from: string;
495
+ to: string;
496
+ value: string;
497
+ fee?: string | undefined;
498
+ optIn?: boolean | undefined;
499
+ optOut?: boolean | undefined;
500
+ clawback?: boolean | undefined;
501
+ } | {
502
+ walletId: string;
503
+ direction: "In" | "Out";
504
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
505
+ blockNumber: number;
506
+ txHash: string;
507
+ index?: string | undefined;
508
+ timestamp: string;
509
+ metadata: {
510
+ asset: {
511
+ symbol?: string | undefined;
512
+ decimals?: number | undefined;
513
+ verified?: boolean | undefined;
514
+ quotes?: {
515
+ [x: string]: number;
516
+ } | undefined;
517
+ };
518
+ fee?: {
519
+ symbol?: string | undefined;
520
+ decimals?: number | undefined;
521
+ verified?: boolean | undefined;
522
+ quotes?: {
523
+ [x: string]: number;
524
+ } | undefined;
525
+ } | undefined;
526
+ };
527
+ kind: "Erc20Transfer";
528
+ contract: string;
529
+ from: string;
530
+ to: string;
531
+ value: string;
532
+ fee?: string | undefined;
533
+ /** @deprecated use metadata.asset.symbol instead */
534
+ symbol?: string | undefined;
535
+ /** @deprecated use metadata.asset.decimals instead */
536
+ decimals: number;
537
+ /** @deprecated use metadata.asset.verified instead */
538
+ verified?: boolean | undefined;
539
+ } | {
540
+ walletId: string;
541
+ direction: "In" | "Out";
542
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
543
+ blockNumber: number;
544
+ txHash: string;
545
+ index?: string | undefined;
546
+ timestamp: string;
547
+ metadata: {
548
+ asset: {
549
+ symbol?: string | undefined;
550
+ decimals?: number | undefined;
551
+ verified?: boolean | undefined;
552
+ quotes?: {
553
+ [x: string]: number;
554
+ } | undefined;
555
+ };
556
+ fee?: {
557
+ symbol?: string | undefined;
558
+ decimals?: number | undefined;
559
+ verified?: boolean | undefined;
560
+ quotes?: {
561
+ [x: string]: number;
562
+ } | undefined;
563
+ } | undefined;
564
+ };
565
+ kind: "Erc721Transfer";
566
+ contract: string;
567
+ from: string;
568
+ to: string;
569
+ tokenId: string;
570
+ fee?: string | undefined;
571
+ /** @deprecated use metadata.asset.symbol instead */
572
+ symbol?: string | undefined;
573
+ /** @deprecated use metadata.asset.verified instead */
574
+ verified?: boolean | undefined;
575
+ } | {
576
+ walletId: string;
577
+ direction: "In" | "Out";
578
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
579
+ blockNumber: number;
580
+ txHash: string;
581
+ index?: string | undefined;
582
+ timestamp: string;
583
+ metadata: {
584
+ asset: {
585
+ symbol?: string | undefined;
586
+ decimals?: number | undefined;
587
+ verified?: boolean | undefined;
588
+ quotes?: {
589
+ [x: string]: number;
590
+ } | undefined;
591
+ };
592
+ fee?: {
593
+ symbol?: string | undefined;
594
+ decimals?: number | undefined;
595
+ verified?: boolean | undefined;
596
+ quotes?: {
597
+ [x: string]: number;
598
+ } | undefined;
599
+ } | undefined;
600
+ };
601
+ kind: "Sep41Transfer";
602
+ issuer: string;
603
+ assetCode: string;
604
+ from: string;
605
+ to: string;
606
+ value: string;
607
+ fee?: string | undefined;
608
+ memo?: string | undefined;
609
+ liquidityPool?: string | undefined;
610
+ balanceId?: string | undefined;
611
+ } | {
612
+ walletId: string;
613
+ direction: "In" | "Out";
614
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
615
+ blockNumber: number;
616
+ txHash: string;
617
+ index?: string | undefined;
618
+ timestamp: string;
619
+ metadata: {
620
+ asset: {
621
+ symbol?: string | undefined;
622
+ decimals?: number | undefined;
623
+ verified?: boolean | undefined;
624
+ quotes?: {
625
+ [x: string]: number;
626
+ } | undefined;
627
+ };
628
+ fee?: {
629
+ symbol?: string | undefined;
630
+ decimals?: number | undefined;
631
+ verified?: boolean | undefined;
632
+ quotes?: {
633
+ [x: string]: number;
634
+ } | undefined;
635
+ } | undefined;
636
+ };
637
+ kind: "SplTransfer" | "Spl2022Transfer";
638
+ from?: string | undefined;
639
+ to?: string | undefined;
640
+ mint: string;
641
+ value: string;
642
+ fee?: string | undefined;
643
+ } | {
644
+ walletId: string;
645
+ direction: "In" | "Out";
646
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
647
+ blockNumber: number;
648
+ txHash: string;
649
+ index?: string | undefined;
650
+ timestamp: string;
651
+ metadata: {
652
+ asset: {
653
+ symbol?: string | undefined;
654
+ decimals?: number | undefined;
655
+ verified?: boolean | undefined;
656
+ quotes?: {
657
+ [x: string]: number;
658
+ } | undefined;
659
+ };
660
+ fee?: {
661
+ symbol?: string | undefined;
662
+ decimals?: number | undefined;
663
+ verified?: boolean | undefined;
664
+ quotes?: {
665
+ [x: string]: number;
666
+ } | undefined;
667
+ } | undefined;
668
+ };
669
+ kind: "Trc10Transfer";
670
+ tokenId: string;
671
+ from: string;
672
+ to: string;
673
+ value: string;
674
+ fee?: string | undefined;
675
+ } | {
676
+ walletId: string;
677
+ direction: "In" | "Out";
678
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
679
+ blockNumber: number;
680
+ txHash: string;
681
+ index?: string | undefined;
682
+ timestamp: string;
683
+ metadata: {
684
+ asset: {
685
+ symbol?: string | undefined;
686
+ decimals?: number | undefined;
687
+ verified?: boolean | undefined;
688
+ quotes?: {
689
+ [x: string]: number;
690
+ } | undefined;
691
+ };
692
+ fee?: {
693
+ symbol?: string | undefined;
694
+ decimals?: number | undefined;
695
+ verified?: boolean | undefined;
696
+ quotes?: {
697
+ [x: string]: number;
698
+ } | undefined;
699
+ } | undefined;
700
+ };
701
+ kind: "Trc20Transfer";
702
+ contract: string;
703
+ from: string;
704
+ to: string;
705
+ value: string;
706
+ fee?: string | undefined;
707
+ } | {
708
+ walletId: string;
709
+ direction: "In" | "Out";
710
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
711
+ blockNumber: number;
712
+ txHash: string;
713
+ index?: string | undefined;
714
+ timestamp: string;
715
+ metadata: {
716
+ asset: {
717
+ symbol?: string | undefined;
718
+ decimals?: number | undefined;
719
+ verified?: boolean | undefined;
720
+ quotes?: {
721
+ [x: string]: number;
722
+ } | undefined;
723
+ };
724
+ fee?: {
725
+ symbol?: string | undefined;
726
+ decimals?: number | undefined;
727
+ verified?: boolean | undefined;
728
+ quotes?: {
729
+ [x: string]: number;
730
+ } | undefined;
731
+ } | undefined;
732
+ };
733
+ kind: "Trc721Transfer";
734
+ contract: string;
735
+ from: string;
736
+ to: string;
737
+ tokenId: string;
738
+ fee?: string | undefined;
739
+ } | {
740
+ walletId: string;
741
+ direction: "In" | "Out";
742
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
743
+ blockNumber: number;
744
+ txHash: string;
745
+ index?: string | undefined;
746
+ timestamp: string;
747
+ metadata: {
748
+ asset: {
749
+ symbol?: string | undefined;
750
+ decimals?: number | undefined;
751
+ verified?: boolean | undefined;
752
+ quotes?: {
753
+ [x: string]: number;
754
+ } | undefined;
755
+ };
756
+ fee?: {
757
+ symbol?: string | undefined;
758
+ decimals?: number | undefined;
759
+ verified?: boolean | undefined;
760
+ quotes?: {
761
+ [x: string]: number;
762
+ } | undefined;
763
+ } | undefined;
764
+ };
765
+ kind: "UtxoTransfer";
766
+ froms: string[];
767
+ tos: string[];
768
+ value: string;
769
+ fee?: string | undefined;
770
+ };
361
771
  } | {
362
772
  kind: "Policies:Modify";
363
773
  changeRequest: {
@@ -499,6 +909,28 @@ export type CreateApprovalDecisionResponse = {
499
909
  limit: number;
500
910
  timeframe: number;
501
911
  };
912
+ } | {
913
+ kind: "ChainalysisTransactionPrescreening";
914
+ configuration: {
915
+ alerts: {
916
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
917
+ categoryIds: number[];
918
+ };
919
+ exposures: {
920
+ direct: {
921
+ categoryIds: number[];
922
+ };
923
+ };
924
+ addresses: {
925
+ categoryIds: number[];
926
+ };
927
+ fallbackBehaviours: {
928
+ skipUnscreenableTransaction: boolean;
929
+ skipUnsupportedNetwork: boolean;
930
+ skipUnsupportedAsset: boolean;
931
+ skipChainalysisFailure: boolean;
932
+ };
933
+ };
502
934
  };
503
935
  action: {
504
936
  kind: "RequestApproval";
@@ -514,6 +946,8 @@ export type CreateApprovalDecisionResponse = {
514
946
  autoRejectTimeout?: (number | undefined) | null;
515
947
  } | {
516
948
  kind: "Block";
949
+ } | {
950
+ kind: "NoAction";
517
951
  };
518
952
  filters?: {
519
953
  walletId?: {
@@ -524,8 +958,47 @@ export type CreateApprovalDecisionResponse = {
524
958
  hasAll?: string[] | undefined;
525
959
  } | undefined;
526
960
  } | undefined;
527
- };
528
- };
961
+ } | {
962
+ id: string;
963
+ name: string;
964
+ status: "Active" | "Archived";
965
+ dateCreated?: string | undefined;
966
+ dateUpdated?: string | undefined;
967
+ activityKind: "Wallets:IncomingTransaction";
968
+ rule: {
969
+ kind: "ChainalysisTransactionScreening";
970
+ configuration: {
971
+ alerts: {
972
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
973
+ categoryIds: number[];
974
+ };
975
+ exposures: {
976
+ direct: {
977
+ categoryIds: number[];
978
+ };
979
+ };
980
+ fallbackBehaviours: {
981
+ skipUnscreenableTransaction: boolean;
982
+ skipUnsupportedNetwork: boolean;
983
+ skipUnsupportedAsset: boolean;
984
+ skipChainalysisFailure: boolean;
985
+ };
986
+ };
987
+ };
988
+ action: {
989
+ kind: "NoAction";
990
+ };
991
+ filters?: {
992
+ walletId?: {
993
+ in: string[];
994
+ } | undefined;
995
+ walletTags?: {
996
+ hasAny?: string[] | undefined;
997
+ hasAll?: string[] | undefined;
998
+ } | undefined;
999
+ } | undefined;
1000
+ };
1001
+ };
529
1002
  } | {
530
1003
  kind: "Permissions:Modify";
531
1004
  changeRequest: {
@@ -575,14 +1048,14 @@ export type CreateApprovalDecisionResponse = {
575
1048
  };
576
1049
  };
577
1050
  };
578
- status: "Pending" | "Approved" | "Denied" | "AutoApproved" | "AutoDenied" | "Expired";
1051
+ status: "Pending" | "Approved" | "Denied" | "Expired";
579
1052
  expirationDate?: string | undefined;
580
1053
  dateCreated?: string | undefined;
581
1054
  dateUpdated: string;
582
1055
  dateResolved?: string | undefined;
583
- evaluatedPolicies: {
1056
+ policyEvaluations: {
584
1057
  policyId: string;
585
- triggerStatus: "Triggered" | "Skipped";
1058
+ triggered: boolean;
586
1059
  reason: string;
587
1060
  }[];
588
1061
  decisions: {
@@ -704,6 +1177,28 @@ export type CreatePolicyBody = {
704
1177
  limit: number;
705
1178
  timeframe: number;
706
1179
  };
1180
+ } | {
1181
+ kind: "ChainalysisTransactionPrescreening";
1182
+ configuration: {
1183
+ alerts: {
1184
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
1185
+ categoryIds: number[];
1186
+ };
1187
+ exposures: {
1188
+ direct: {
1189
+ categoryIds: number[];
1190
+ };
1191
+ };
1192
+ addresses: {
1193
+ categoryIds: number[];
1194
+ };
1195
+ fallbackBehaviours: {
1196
+ skipUnscreenableTransaction: boolean;
1197
+ skipUnsupportedNetwork: boolean;
1198
+ skipUnsupportedAsset: boolean;
1199
+ skipChainalysisFailure: boolean;
1200
+ };
1201
+ };
707
1202
  };
708
1203
  action: {
709
1204
  kind: "RequestApproval";
@@ -719,6 +1214,43 @@ export type CreatePolicyBody = {
719
1214
  autoRejectTimeout?: (number | undefined) | null;
720
1215
  } | {
721
1216
  kind: "Block";
1217
+ } | {
1218
+ kind: "NoAction";
1219
+ };
1220
+ filters?: {
1221
+ walletId?: {
1222
+ in: string[];
1223
+ } | undefined;
1224
+ walletTags?: {
1225
+ hasAny?: string[] | undefined;
1226
+ hasAll?: string[] | undefined;
1227
+ } | undefined;
1228
+ } | undefined;
1229
+ } | {
1230
+ name: string;
1231
+ activityKind: "Wallets:IncomingTransaction";
1232
+ rule: {
1233
+ kind: "ChainalysisTransactionScreening";
1234
+ configuration: {
1235
+ alerts: {
1236
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
1237
+ categoryIds: number[];
1238
+ };
1239
+ exposures: {
1240
+ direct: {
1241
+ categoryIds: number[];
1242
+ };
1243
+ };
1244
+ fallbackBehaviours: {
1245
+ skipUnscreenableTransaction: boolean;
1246
+ skipUnsupportedNetwork: boolean;
1247
+ skipUnsupportedAsset: boolean;
1248
+ skipChainalysisFailure: boolean;
1249
+ };
1250
+ };
1251
+ };
1252
+ action: {
1253
+ kind: "NoAction";
722
1254
  };
723
1255
  filters?: {
724
1256
  walletId?: {
@@ -855,6 +1387,28 @@ export type CreatePolicyResponse = {
855
1387
  limit: number;
856
1388
  timeframe: number;
857
1389
  };
1390
+ } | {
1391
+ kind: "ChainalysisTransactionPrescreening";
1392
+ configuration: {
1393
+ alerts: {
1394
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
1395
+ categoryIds: number[];
1396
+ };
1397
+ exposures: {
1398
+ direct: {
1399
+ categoryIds: number[];
1400
+ };
1401
+ };
1402
+ addresses: {
1403
+ categoryIds: number[];
1404
+ };
1405
+ fallbackBehaviours: {
1406
+ skipUnscreenableTransaction: boolean;
1407
+ skipUnsupportedNetwork: boolean;
1408
+ skipUnsupportedAsset: boolean;
1409
+ skipChainalysisFailure: boolean;
1410
+ };
1411
+ };
858
1412
  };
859
1413
  action: {
860
1414
  kind: "RequestApproval";
@@ -870,6 +1424,47 @@ export type CreatePolicyResponse = {
870
1424
  autoRejectTimeout?: (number | undefined) | null;
871
1425
  } | {
872
1426
  kind: "Block";
1427
+ } | {
1428
+ kind: "NoAction";
1429
+ };
1430
+ filters?: {
1431
+ walletId?: {
1432
+ in: string[];
1433
+ } | undefined;
1434
+ walletTags?: {
1435
+ hasAny?: string[] | undefined;
1436
+ hasAll?: string[] | undefined;
1437
+ } | undefined;
1438
+ } | undefined;
1439
+ } | {
1440
+ id: string;
1441
+ name: string;
1442
+ status: "Active" | "Archived";
1443
+ dateCreated?: string | undefined;
1444
+ dateUpdated?: string | undefined;
1445
+ activityKind: "Wallets:IncomingTransaction";
1446
+ rule: {
1447
+ kind: "ChainalysisTransactionScreening";
1448
+ configuration: {
1449
+ alerts: {
1450
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
1451
+ categoryIds: number[];
1452
+ };
1453
+ exposures: {
1454
+ direct: {
1455
+ categoryIds: number[];
1456
+ };
1457
+ };
1458
+ fallbackBehaviours: {
1459
+ skipUnscreenableTransaction: boolean;
1460
+ skipUnsupportedNetwork: boolean;
1461
+ skipUnsupportedAsset: boolean;
1462
+ skipChainalysisFailure: boolean;
1463
+ };
1464
+ };
1465
+ };
1466
+ action: {
1467
+ kind: "NoAction";
873
1468
  };
874
1469
  filters?: {
875
1470
  walletId?: {
@@ -1086,82 +1681,429 @@ export type GetApprovalResponse = {
1086
1681
  dateConfirmed?: string | undefined;
1087
1682
  } | undefined;
1088
1683
  } | {
1089
- kind: "Policies:Modify";
1090
- changeRequest: {
1091
- id: string;
1092
- requester: {
1093
- userId: string;
1094
- tokenId?: string | undefined;
1095
- appId?: string | undefined;
1684
+ kind: "Wallets:IncomingTransaction";
1685
+ blockchainEvent: {
1686
+ walletId: string;
1687
+ direction: "In" | "Out";
1688
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1689
+ blockNumber: number;
1690
+ txHash: string;
1691
+ index?: string | undefined;
1692
+ timestamp: string;
1693
+ metadata: {
1694
+ asset: {
1695
+ symbol?: string | undefined;
1696
+ decimals?: number | undefined;
1697
+ verified?: boolean | undefined;
1698
+ quotes?: {
1699
+ [x: string]: number;
1700
+ } | undefined;
1701
+ };
1702
+ fee?: {
1703
+ symbol?: string | undefined;
1704
+ decimals?: number | undefined;
1705
+ verified?: boolean | undefined;
1706
+ quotes?: {
1707
+ [x: string]: number;
1708
+ } | undefined;
1709
+ } | undefined;
1096
1710
  };
1097
- kind: "Policy";
1098
- operationKind: "Update";
1099
- status: "Applied" | "Failed" | "Pending" | "Rejected";
1100
- entityId: string;
1101
- dateCreated: string;
1102
- dateResolved?: string | undefined;
1103
- approvalId?: string | undefined;
1104
- body: {
1105
- id: string;
1106
- name: string;
1107
- status: "Active" | "Archived";
1108
- dateCreated?: string | undefined;
1109
- dateUpdated?: string | undefined;
1110
- activityKind: "Permissions:Assign";
1111
- rule: {
1112
- kind: "AlwaysTrigger";
1113
- configuration?: {} | undefined;
1711
+ kind: "NativeTransfer";
1712
+ from: string;
1713
+ to: string;
1714
+ value: string;
1715
+ fee?: string | undefined;
1716
+ memo?: string | undefined;
1717
+ liquidityPool?: string | undefined;
1718
+ balanceId?: string | undefined;
1719
+ /** @deprecated use metadata.asset.symbol instead */
1720
+ symbol: string;
1721
+ /** @deprecated use metadata.asset.decimals instead */
1722
+ decimals: number;
1723
+ /** @deprecated use metadata.asset.verified instead */
1724
+ verified?: boolean | undefined;
1725
+ } | {
1726
+ walletId: string;
1727
+ direction: "In" | "Out";
1728
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1729
+ blockNumber: number;
1730
+ txHash: string;
1731
+ index?: string | undefined;
1732
+ timestamp: string;
1733
+ metadata: {
1734
+ asset: {
1735
+ symbol?: string | undefined;
1736
+ decimals?: number | undefined;
1737
+ verified?: boolean | undefined;
1738
+ quotes?: {
1739
+ [x: string]: number;
1740
+ } | undefined;
1114
1741
  };
1115
- action: {
1116
- kind: "RequestApproval";
1117
- approvalGroups: {
1118
- name?: string | undefined;
1119
- quorum: number;
1120
- approvers: {
1121
- userId?: {
1122
- in: string[];
1123
- } | undefined;
1124
- };
1125
- }[];
1126
- autoRejectTimeout?: (number | undefined) | null;
1127
- } | {
1128
- kind: "Block";
1742
+ fee?: {
1743
+ symbol?: string | undefined;
1744
+ decimals?: number | undefined;
1745
+ verified?: boolean | undefined;
1746
+ quotes?: {
1747
+ [x: string]: number;
1748
+ } | undefined;
1749
+ } | undefined;
1750
+ };
1751
+ kind: "AsaTransfer";
1752
+ assetId: string;
1753
+ from: string;
1754
+ to: string;
1755
+ value: string;
1756
+ fee?: string | undefined;
1757
+ optIn?: boolean | undefined;
1758
+ optOut?: boolean | undefined;
1759
+ clawback?: boolean | undefined;
1760
+ } | {
1761
+ walletId: string;
1762
+ direction: "In" | "Out";
1763
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1764
+ blockNumber: number;
1765
+ txHash: string;
1766
+ index?: string | undefined;
1767
+ timestamp: string;
1768
+ metadata: {
1769
+ asset: {
1770
+ symbol?: string | undefined;
1771
+ decimals?: number | undefined;
1772
+ verified?: boolean | undefined;
1773
+ quotes?: {
1774
+ [x: string]: number;
1775
+ } | undefined;
1129
1776
  };
1130
- filters?: {
1131
- permissionId: {
1132
- in: string[];
1133
- };
1777
+ fee?: {
1778
+ symbol?: string | undefined;
1779
+ decimals?: number | undefined;
1780
+ verified?: boolean | undefined;
1781
+ quotes?: {
1782
+ [x: string]: number;
1783
+ } | undefined;
1134
1784
  } | undefined;
1135
- } | {
1136
- id: string;
1137
- name: string;
1138
- status: "Active" | "Archived";
1139
- dateCreated?: string | undefined;
1140
- dateUpdated?: string | undefined;
1141
- activityKind: "Permissions:Modify";
1142
- rule: {
1143
- kind: "AlwaysTrigger";
1144
- configuration?: {} | undefined;
1785
+ };
1786
+ kind: "Erc20Transfer";
1787
+ contract: string;
1788
+ from: string;
1789
+ to: string;
1790
+ value: string;
1791
+ fee?: string | undefined;
1792
+ /** @deprecated use metadata.asset.symbol instead */
1793
+ symbol?: string | undefined;
1794
+ /** @deprecated use metadata.asset.decimals instead */
1795
+ decimals: number;
1796
+ /** @deprecated use metadata.asset.verified instead */
1797
+ verified?: boolean | undefined;
1798
+ } | {
1799
+ walletId: string;
1800
+ direction: "In" | "Out";
1801
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1802
+ blockNumber: number;
1803
+ txHash: string;
1804
+ index?: string | undefined;
1805
+ timestamp: string;
1806
+ metadata: {
1807
+ asset: {
1808
+ symbol?: string | undefined;
1809
+ decimals?: number | undefined;
1810
+ verified?: boolean | undefined;
1811
+ quotes?: {
1812
+ [x: string]: number;
1813
+ } | undefined;
1145
1814
  };
1146
- action: {
1147
- kind: "RequestApproval";
1148
- approvalGroups: {
1149
- name?: string | undefined;
1150
- quorum: number;
1151
- approvers: {
1152
- userId?: {
1153
- in: string[];
1154
- } | undefined;
1155
- };
1156
- }[];
1157
- autoRejectTimeout?: (number | undefined) | null;
1158
- } | {
1159
- kind: "Block";
1815
+ fee?: {
1816
+ symbol?: string | undefined;
1817
+ decimals?: number | undefined;
1818
+ verified?: boolean | undefined;
1819
+ quotes?: {
1820
+ [x: string]: number;
1821
+ } | undefined;
1822
+ } | undefined;
1823
+ };
1824
+ kind: "Erc721Transfer";
1825
+ contract: string;
1826
+ from: string;
1827
+ to: string;
1828
+ tokenId: string;
1829
+ fee?: string | undefined;
1830
+ /** @deprecated use metadata.asset.symbol instead */
1831
+ symbol?: string | undefined;
1832
+ /** @deprecated use metadata.asset.verified instead */
1833
+ verified?: boolean | undefined;
1834
+ } | {
1835
+ walletId: string;
1836
+ direction: "In" | "Out";
1837
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1838
+ blockNumber: number;
1839
+ txHash: string;
1840
+ index?: string | undefined;
1841
+ timestamp: string;
1842
+ metadata: {
1843
+ asset: {
1844
+ symbol?: string | undefined;
1845
+ decimals?: number | undefined;
1846
+ verified?: boolean | undefined;
1847
+ quotes?: {
1848
+ [x: string]: number;
1849
+ } | undefined;
1160
1850
  };
1161
- filters?: {
1162
- permissionId: {
1163
- in: string[];
1164
- };
1851
+ fee?: {
1852
+ symbol?: string | undefined;
1853
+ decimals?: number | undefined;
1854
+ verified?: boolean | undefined;
1855
+ quotes?: {
1856
+ [x: string]: number;
1857
+ } | undefined;
1858
+ } | undefined;
1859
+ };
1860
+ kind: "Sep41Transfer";
1861
+ issuer: string;
1862
+ assetCode: string;
1863
+ from: string;
1864
+ to: string;
1865
+ value: string;
1866
+ fee?: string | undefined;
1867
+ memo?: string | undefined;
1868
+ liquidityPool?: string | undefined;
1869
+ balanceId?: string | undefined;
1870
+ } | {
1871
+ walletId: string;
1872
+ direction: "In" | "Out";
1873
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1874
+ blockNumber: number;
1875
+ txHash: string;
1876
+ index?: string | undefined;
1877
+ timestamp: string;
1878
+ metadata: {
1879
+ asset: {
1880
+ symbol?: string | undefined;
1881
+ decimals?: number | undefined;
1882
+ verified?: boolean | undefined;
1883
+ quotes?: {
1884
+ [x: string]: number;
1885
+ } | undefined;
1886
+ };
1887
+ fee?: {
1888
+ symbol?: string | undefined;
1889
+ decimals?: number | undefined;
1890
+ verified?: boolean | undefined;
1891
+ quotes?: {
1892
+ [x: string]: number;
1893
+ } | undefined;
1894
+ } | undefined;
1895
+ };
1896
+ kind: "SplTransfer" | "Spl2022Transfer";
1897
+ from?: string | undefined;
1898
+ to?: string | undefined;
1899
+ mint: string;
1900
+ value: string;
1901
+ fee?: string | undefined;
1902
+ } | {
1903
+ walletId: string;
1904
+ direction: "In" | "Out";
1905
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1906
+ blockNumber: number;
1907
+ txHash: string;
1908
+ index?: string | undefined;
1909
+ timestamp: string;
1910
+ metadata: {
1911
+ asset: {
1912
+ symbol?: string | undefined;
1913
+ decimals?: number | undefined;
1914
+ verified?: boolean | undefined;
1915
+ quotes?: {
1916
+ [x: string]: number;
1917
+ } | undefined;
1918
+ };
1919
+ fee?: {
1920
+ symbol?: string | undefined;
1921
+ decimals?: number | undefined;
1922
+ verified?: boolean | undefined;
1923
+ quotes?: {
1924
+ [x: string]: number;
1925
+ } | undefined;
1926
+ } | undefined;
1927
+ };
1928
+ kind: "Trc10Transfer";
1929
+ tokenId: string;
1930
+ from: string;
1931
+ to: string;
1932
+ value: string;
1933
+ fee?: string | undefined;
1934
+ } | {
1935
+ walletId: string;
1936
+ direction: "In" | "Out";
1937
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1938
+ blockNumber: number;
1939
+ txHash: string;
1940
+ index?: string | undefined;
1941
+ timestamp: string;
1942
+ metadata: {
1943
+ asset: {
1944
+ symbol?: string | undefined;
1945
+ decimals?: number | undefined;
1946
+ verified?: boolean | undefined;
1947
+ quotes?: {
1948
+ [x: string]: number;
1949
+ } | undefined;
1950
+ };
1951
+ fee?: {
1952
+ symbol?: string | undefined;
1953
+ decimals?: number | undefined;
1954
+ verified?: boolean | undefined;
1955
+ quotes?: {
1956
+ [x: string]: number;
1957
+ } | undefined;
1958
+ } | undefined;
1959
+ };
1960
+ kind: "Trc20Transfer";
1961
+ contract: string;
1962
+ from: string;
1963
+ to: string;
1964
+ value: string;
1965
+ fee?: string | undefined;
1966
+ } | {
1967
+ walletId: string;
1968
+ direction: "In" | "Out";
1969
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1970
+ blockNumber: number;
1971
+ txHash: string;
1972
+ index?: string | undefined;
1973
+ timestamp: string;
1974
+ metadata: {
1975
+ asset: {
1976
+ symbol?: string | undefined;
1977
+ decimals?: number | undefined;
1978
+ verified?: boolean | undefined;
1979
+ quotes?: {
1980
+ [x: string]: number;
1981
+ } | undefined;
1982
+ };
1983
+ fee?: {
1984
+ symbol?: string | undefined;
1985
+ decimals?: number | undefined;
1986
+ verified?: boolean | undefined;
1987
+ quotes?: {
1988
+ [x: string]: number;
1989
+ } | undefined;
1990
+ } | undefined;
1991
+ };
1992
+ kind: "Trc721Transfer";
1993
+ contract: string;
1994
+ from: string;
1995
+ to: string;
1996
+ tokenId: string;
1997
+ fee?: string | undefined;
1998
+ } | {
1999
+ walletId: string;
2000
+ direction: "In" | "Out";
2001
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
2002
+ blockNumber: number;
2003
+ txHash: string;
2004
+ index?: string | undefined;
2005
+ timestamp: string;
2006
+ metadata: {
2007
+ asset: {
2008
+ symbol?: string | undefined;
2009
+ decimals?: number | undefined;
2010
+ verified?: boolean | undefined;
2011
+ quotes?: {
2012
+ [x: string]: number;
2013
+ } | undefined;
2014
+ };
2015
+ fee?: {
2016
+ symbol?: string | undefined;
2017
+ decimals?: number | undefined;
2018
+ verified?: boolean | undefined;
2019
+ quotes?: {
2020
+ [x: string]: number;
2021
+ } | undefined;
2022
+ } | undefined;
2023
+ };
2024
+ kind: "UtxoTransfer";
2025
+ froms: string[];
2026
+ tos: string[];
2027
+ value: string;
2028
+ fee?: string | undefined;
2029
+ };
2030
+ } | {
2031
+ kind: "Policies:Modify";
2032
+ changeRequest: {
2033
+ id: string;
2034
+ requester: {
2035
+ userId: string;
2036
+ tokenId?: string | undefined;
2037
+ appId?: string | undefined;
2038
+ };
2039
+ kind: "Policy";
2040
+ operationKind: "Update";
2041
+ status: "Applied" | "Failed" | "Pending" | "Rejected";
2042
+ entityId: string;
2043
+ dateCreated: string;
2044
+ dateResolved?: string | undefined;
2045
+ approvalId?: string | undefined;
2046
+ body: {
2047
+ id: string;
2048
+ name: string;
2049
+ status: "Active" | "Archived";
2050
+ dateCreated?: string | undefined;
2051
+ dateUpdated?: string | undefined;
2052
+ activityKind: "Permissions:Assign";
2053
+ rule: {
2054
+ kind: "AlwaysTrigger";
2055
+ configuration?: {} | undefined;
2056
+ };
2057
+ action: {
2058
+ kind: "RequestApproval";
2059
+ approvalGroups: {
2060
+ name?: string | undefined;
2061
+ quorum: number;
2062
+ approvers: {
2063
+ userId?: {
2064
+ in: string[];
2065
+ } | undefined;
2066
+ };
2067
+ }[];
2068
+ autoRejectTimeout?: (number | undefined) | null;
2069
+ } | {
2070
+ kind: "Block";
2071
+ };
2072
+ filters?: {
2073
+ permissionId: {
2074
+ in: string[];
2075
+ };
2076
+ } | undefined;
2077
+ } | {
2078
+ id: string;
2079
+ name: string;
2080
+ status: "Active" | "Archived";
2081
+ dateCreated?: string | undefined;
2082
+ dateUpdated?: string | undefined;
2083
+ activityKind: "Permissions:Modify";
2084
+ rule: {
2085
+ kind: "AlwaysTrigger";
2086
+ configuration?: {} | undefined;
2087
+ };
2088
+ action: {
2089
+ kind: "RequestApproval";
2090
+ approvalGroups: {
2091
+ name?: string | undefined;
2092
+ quorum: number;
2093
+ approvers: {
2094
+ userId?: {
2095
+ in: string[];
2096
+ } | undefined;
2097
+ };
2098
+ }[];
2099
+ autoRejectTimeout?: (number | undefined) | null;
2100
+ } | {
2101
+ kind: "Block";
2102
+ };
2103
+ filters?: {
2104
+ permissionId: {
2105
+ in: string[];
2106
+ };
1165
2107
  } | undefined;
1166
2108
  } | {
1167
2109
  id: string;
@@ -1226,6 +2168,28 @@ export type GetApprovalResponse = {
1226
2168
  limit: number;
1227
2169
  timeframe: number;
1228
2170
  };
2171
+ } | {
2172
+ kind: "ChainalysisTransactionPrescreening";
2173
+ configuration: {
2174
+ alerts: {
2175
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
2176
+ categoryIds: number[];
2177
+ };
2178
+ exposures: {
2179
+ direct: {
2180
+ categoryIds: number[];
2181
+ };
2182
+ };
2183
+ addresses: {
2184
+ categoryIds: number[];
2185
+ };
2186
+ fallbackBehaviours: {
2187
+ skipUnscreenableTransaction: boolean;
2188
+ skipUnsupportedNetwork: boolean;
2189
+ skipUnsupportedAsset: boolean;
2190
+ skipChainalysisFailure: boolean;
2191
+ };
2192
+ };
1229
2193
  };
1230
2194
  action: {
1231
2195
  kind: "RequestApproval";
@@ -1241,6 +2205,47 @@ export type GetApprovalResponse = {
1241
2205
  autoRejectTimeout?: (number | undefined) | null;
1242
2206
  } | {
1243
2207
  kind: "Block";
2208
+ } | {
2209
+ kind: "NoAction";
2210
+ };
2211
+ filters?: {
2212
+ walletId?: {
2213
+ in: string[];
2214
+ } | undefined;
2215
+ walletTags?: {
2216
+ hasAny?: string[] | undefined;
2217
+ hasAll?: string[] | undefined;
2218
+ } | undefined;
2219
+ } | undefined;
2220
+ } | {
2221
+ id: string;
2222
+ name: string;
2223
+ status: "Active" | "Archived";
2224
+ dateCreated?: string | undefined;
2225
+ dateUpdated?: string | undefined;
2226
+ activityKind: "Wallets:IncomingTransaction";
2227
+ rule: {
2228
+ kind: "ChainalysisTransactionScreening";
2229
+ configuration: {
2230
+ alerts: {
2231
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
2232
+ categoryIds: number[];
2233
+ };
2234
+ exposures: {
2235
+ direct: {
2236
+ categoryIds: number[];
2237
+ };
2238
+ };
2239
+ fallbackBehaviours: {
2240
+ skipUnscreenableTransaction: boolean;
2241
+ skipUnsupportedNetwork: boolean;
2242
+ skipUnsupportedAsset: boolean;
2243
+ skipChainalysisFailure: boolean;
2244
+ };
2245
+ };
2246
+ };
2247
+ action: {
2248
+ kind: "NoAction";
1244
2249
  };
1245
2250
  filters?: {
1246
2251
  walletId?: {
@@ -1302,14 +2307,14 @@ export type GetApprovalResponse = {
1302
2307
  };
1303
2308
  };
1304
2309
  };
1305
- status: "Pending" | "Approved" | "Denied" | "AutoApproved" | "AutoDenied" | "Expired";
2310
+ status: "Pending" | "Approved" | "Denied" | "Expired";
1306
2311
  expirationDate?: string | undefined;
1307
2312
  dateCreated?: string | undefined;
1308
2313
  dateUpdated: string;
1309
2314
  dateResolved?: string | undefined;
1310
- evaluatedPolicies: {
2315
+ policyEvaluations: {
1311
2316
  policyId: string;
1312
- triggerStatus: "Triggered" | "Skipped";
2317
+ triggered: boolean;
1313
2318
  reason: string;
1314
2319
  }[];
1315
2320
  decisions: {
@@ -1448,6 +2453,28 @@ export type GetPolicyResponse = ({
1448
2453
  limit: number;
1449
2454
  timeframe: number;
1450
2455
  };
2456
+ } | {
2457
+ kind: "ChainalysisTransactionPrescreening";
2458
+ configuration: {
2459
+ alerts: {
2460
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
2461
+ categoryIds: number[];
2462
+ };
2463
+ exposures: {
2464
+ direct: {
2465
+ categoryIds: number[];
2466
+ };
2467
+ };
2468
+ addresses: {
2469
+ categoryIds: number[];
2470
+ };
2471
+ fallbackBehaviours: {
2472
+ skipUnscreenableTransaction: boolean;
2473
+ skipUnsupportedNetwork: boolean;
2474
+ skipUnsupportedAsset: boolean;
2475
+ skipChainalysisFailure: boolean;
2476
+ };
2477
+ };
1451
2478
  };
1452
2479
  action: {
1453
2480
  kind: "RequestApproval";
@@ -1463,6 +2490,47 @@ export type GetPolicyResponse = ({
1463
2490
  autoRejectTimeout?: (number | undefined) | null;
1464
2491
  } | {
1465
2492
  kind: "Block";
2493
+ } | {
2494
+ kind: "NoAction";
2495
+ };
2496
+ filters?: {
2497
+ walletId?: {
2498
+ in: string[];
2499
+ } | undefined;
2500
+ walletTags?: {
2501
+ hasAny?: string[] | undefined;
2502
+ hasAll?: string[] | undefined;
2503
+ } | undefined;
2504
+ } | undefined;
2505
+ } | {
2506
+ id: string;
2507
+ name: string;
2508
+ status: "Active" | "Archived";
2509
+ dateCreated?: string | undefined;
2510
+ dateUpdated?: string | undefined;
2511
+ activityKind: "Wallets:IncomingTransaction";
2512
+ rule: {
2513
+ kind: "ChainalysisTransactionScreening";
2514
+ configuration: {
2515
+ alerts: {
2516
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
2517
+ categoryIds: number[];
2518
+ };
2519
+ exposures: {
2520
+ direct: {
2521
+ categoryIds: number[];
2522
+ };
2523
+ };
2524
+ fallbackBehaviours: {
2525
+ skipUnscreenableTransaction: boolean;
2526
+ skipUnsupportedNetwork: boolean;
2527
+ skipUnsupportedAsset: boolean;
2528
+ skipChainalysisFailure: boolean;
2529
+ };
2530
+ };
2531
+ };
2532
+ action: {
2533
+ kind: "NoAction";
1466
2534
  };
1467
2535
  filters?: {
1468
2536
  walletId?: {
@@ -1613,8 +2681,30 @@ export type GetPolicyResponse = ({
1613
2681
  limit: number;
1614
2682
  timeframe: number;
1615
2683
  };
1616
- };
1617
- action: {
2684
+ } | {
2685
+ kind: "ChainalysisTransactionPrescreening";
2686
+ configuration: {
2687
+ alerts: {
2688
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
2689
+ categoryIds: number[];
2690
+ };
2691
+ exposures: {
2692
+ direct: {
2693
+ categoryIds: number[];
2694
+ };
2695
+ };
2696
+ addresses: {
2697
+ categoryIds: number[];
2698
+ };
2699
+ fallbackBehaviours: {
2700
+ skipUnscreenableTransaction: boolean;
2701
+ skipUnsupportedNetwork: boolean;
2702
+ skipUnsupportedAsset: boolean;
2703
+ skipChainalysisFailure: boolean;
2704
+ };
2705
+ };
2706
+ };
2707
+ action: {
1618
2708
  kind: "RequestApproval";
1619
2709
  approvalGroups: {
1620
2710
  name?: string | undefined;
@@ -1628,6 +2718,47 @@ export type GetPolicyResponse = ({
1628
2718
  autoRejectTimeout?: (number | undefined) | null;
1629
2719
  } | {
1630
2720
  kind: "Block";
2721
+ } | {
2722
+ kind: "NoAction";
2723
+ };
2724
+ filters?: {
2725
+ walletId?: {
2726
+ in: string[];
2727
+ } | undefined;
2728
+ walletTags?: {
2729
+ hasAny?: string[] | undefined;
2730
+ hasAll?: string[] | undefined;
2731
+ } | undefined;
2732
+ } | undefined;
2733
+ } | {
2734
+ id: string;
2735
+ name: string;
2736
+ status: "Active" | "Archived";
2737
+ dateCreated?: string | undefined;
2738
+ dateUpdated?: string | undefined;
2739
+ activityKind: "Wallets:IncomingTransaction";
2740
+ rule: {
2741
+ kind: "ChainalysisTransactionScreening";
2742
+ configuration: {
2743
+ alerts: {
2744
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
2745
+ categoryIds: number[];
2746
+ };
2747
+ exposures: {
2748
+ direct: {
2749
+ categoryIds: number[];
2750
+ };
2751
+ };
2752
+ fallbackBehaviours: {
2753
+ skipUnscreenableTransaction: boolean;
2754
+ skipUnsupportedNetwork: boolean;
2755
+ skipUnsupportedAsset: boolean;
2756
+ skipChainalysisFailure: boolean;
2757
+ };
2758
+ };
2759
+ };
2760
+ action: {
2761
+ kind: "NoAction";
1631
2762
  };
1632
2763
  filters?: {
1633
2764
  walletId?: {
@@ -1645,8 +2776,7 @@ export type GetPolicyRequest = GetPolicyParams;
1645
2776
  export type ListApprovalsQuery = {
1646
2777
  limit?: string | undefined;
1647
2778
  paginationToken?: string | undefined;
1648
- status?: ("Pending" | "Approved" | "Denied" | "AutoApproved" | "AutoDenied" | "Expired") | undefined;
1649
- triggerStatus?: ("Triggered" | "Skipped") | undefined;
2779
+ status?: ("Pending" | "Approved" | "Denied" | "Expired") | undefined;
1650
2780
  initiatorId?: string | undefined;
1651
2781
  approverId?: string | undefined;
1652
2782
  };
@@ -1776,79 +2906,426 @@ export type ListApprovalsResponse = {
1776
2906
  kind: "Psbt";
1777
2907
  psbt: string;
1778
2908
  };
1779
- status: "Pending" | "Executing" | "Broadcasted" | "Confirmed" | "Failed" | "Rejected";
1780
- reason?: string | undefined;
1781
- txHash?: string | undefined;
2909
+ status: "Pending" | "Executing" | "Broadcasted" | "Confirmed" | "Failed" | "Rejected";
2910
+ reason?: string | undefined;
2911
+ txHash?: string | undefined;
2912
+ fee?: string | undefined;
2913
+ approvalId?: string | undefined;
2914
+ dateRequested: string;
2915
+ datePolicyResolved?: string | undefined;
2916
+ dateBroadcasted?: string | undefined;
2917
+ dateConfirmed?: string | undefined;
2918
+ } | undefined;
2919
+ signatureRequest?: {
2920
+ id: string;
2921
+ walletId: string;
2922
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
2923
+ requester: {
2924
+ userId: string;
2925
+ tokenId?: string | undefined;
2926
+ appId?: string | undefined;
2927
+ };
2928
+ requestBody: {
2929
+ kind: "Hash";
2930
+ hash: string;
2931
+ } | {
2932
+ kind: "Message";
2933
+ message: string;
2934
+ } | {
2935
+ kind: "Transaction";
2936
+ transaction: string;
2937
+ } | {
2938
+ kind: "Eip712";
2939
+ types: {
2940
+ [x: string]: {
2941
+ name: string;
2942
+ type: string;
2943
+ }[];
2944
+ };
2945
+ domain: {
2946
+ name?: string | undefined;
2947
+ version?: string | undefined;
2948
+ chainId?: number | undefined;
2949
+ verifyingContract?: string | undefined;
2950
+ salt?: string | undefined;
2951
+ };
2952
+ message: {
2953
+ [x: string]: unknown;
2954
+ };
2955
+ } | {
2956
+ kind: "Psbt";
2957
+ psbt: string;
2958
+ };
2959
+ status: "Pending" | "Executing" | "Signed" | "Confirmed" | "Failed" | "Rejected";
2960
+ reason?: string | undefined;
2961
+ signature?: {
2962
+ r: string;
2963
+ s: string;
2964
+ recid?: number | undefined;
2965
+ encoded?: string | undefined;
2966
+ } | undefined;
2967
+ signatures?: {
2968
+ r: string;
2969
+ s: string;
2970
+ recid?: number | undefined;
2971
+ encoded?: string | undefined;
2972
+ }[] | undefined;
2973
+ signedData?: string | undefined;
2974
+ txHash?: string | undefined;
2975
+ fee?: string | undefined;
2976
+ approvalId?: string | undefined;
2977
+ dateRequested: string;
2978
+ datePolicyResolved?: string | undefined;
2979
+ dateSigned?: string | undefined;
2980
+ dateConfirmed?: string | undefined;
2981
+ } | undefined;
2982
+ } | {
2983
+ kind: "Wallets:IncomingTransaction";
2984
+ blockchainEvent: {
2985
+ walletId: string;
2986
+ direction: "In" | "Out";
2987
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
2988
+ blockNumber: number;
2989
+ txHash: string;
2990
+ index?: string | undefined;
2991
+ timestamp: string;
2992
+ metadata: {
2993
+ asset: {
2994
+ symbol?: string | undefined;
2995
+ decimals?: number | undefined;
2996
+ verified?: boolean | undefined;
2997
+ quotes?: {
2998
+ [x: string]: number;
2999
+ } | undefined;
3000
+ };
3001
+ fee?: {
3002
+ symbol?: string | undefined;
3003
+ decimals?: number | undefined;
3004
+ verified?: boolean | undefined;
3005
+ quotes?: {
3006
+ [x: string]: number;
3007
+ } | undefined;
3008
+ } | undefined;
3009
+ };
3010
+ kind: "NativeTransfer";
3011
+ from: string;
3012
+ to: string;
3013
+ value: string;
3014
+ fee?: string | undefined;
3015
+ memo?: string | undefined;
3016
+ liquidityPool?: string | undefined;
3017
+ balanceId?: string | undefined;
3018
+ /** @deprecated use metadata.asset.symbol instead */
3019
+ symbol: string;
3020
+ /** @deprecated use metadata.asset.decimals instead */
3021
+ decimals: number;
3022
+ /** @deprecated use metadata.asset.verified instead */
3023
+ verified?: boolean | undefined;
3024
+ } | {
3025
+ walletId: string;
3026
+ direction: "In" | "Out";
3027
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
3028
+ blockNumber: number;
3029
+ txHash: string;
3030
+ index?: string | undefined;
3031
+ timestamp: string;
3032
+ metadata: {
3033
+ asset: {
3034
+ symbol?: string | undefined;
3035
+ decimals?: number | undefined;
3036
+ verified?: boolean | undefined;
3037
+ quotes?: {
3038
+ [x: string]: number;
3039
+ } | undefined;
3040
+ };
3041
+ fee?: {
3042
+ symbol?: string | undefined;
3043
+ decimals?: number | undefined;
3044
+ verified?: boolean | undefined;
3045
+ quotes?: {
3046
+ [x: string]: number;
3047
+ } | undefined;
3048
+ } | undefined;
3049
+ };
3050
+ kind: "AsaTransfer";
3051
+ assetId: string;
3052
+ from: string;
3053
+ to: string;
3054
+ value: string;
3055
+ fee?: string | undefined;
3056
+ optIn?: boolean | undefined;
3057
+ optOut?: boolean | undefined;
3058
+ clawback?: boolean | undefined;
3059
+ } | {
3060
+ walletId: string;
3061
+ direction: "In" | "Out";
3062
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
3063
+ blockNumber: number;
3064
+ txHash: string;
3065
+ index?: string | undefined;
3066
+ timestamp: string;
3067
+ metadata: {
3068
+ asset: {
3069
+ symbol?: string | undefined;
3070
+ decimals?: number | undefined;
3071
+ verified?: boolean | undefined;
3072
+ quotes?: {
3073
+ [x: string]: number;
3074
+ } | undefined;
3075
+ };
3076
+ fee?: {
3077
+ symbol?: string | undefined;
3078
+ decimals?: number | undefined;
3079
+ verified?: boolean | undefined;
3080
+ quotes?: {
3081
+ [x: string]: number;
3082
+ } | undefined;
3083
+ } | undefined;
3084
+ };
3085
+ kind: "Erc20Transfer";
3086
+ contract: string;
3087
+ from: string;
3088
+ to: string;
3089
+ value: string;
3090
+ fee?: string | undefined;
3091
+ /** @deprecated use metadata.asset.symbol instead */
3092
+ symbol?: string | undefined;
3093
+ /** @deprecated use metadata.asset.decimals instead */
3094
+ decimals: number;
3095
+ /** @deprecated use metadata.asset.verified instead */
3096
+ verified?: boolean | undefined;
3097
+ } | {
3098
+ walletId: string;
3099
+ direction: "In" | "Out";
3100
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
3101
+ blockNumber: number;
3102
+ txHash: string;
3103
+ index?: string | undefined;
3104
+ timestamp: string;
3105
+ metadata: {
3106
+ asset: {
3107
+ symbol?: string | undefined;
3108
+ decimals?: number | undefined;
3109
+ verified?: boolean | undefined;
3110
+ quotes?: {
3111
+ [x: string]: number;
3112
+ } | undefined;
3113
+ };
3114
+ fee?: {
3115
+ symbol?: string | undefined;
3116
+ decimals?: number | undefined;
3117
+ verified?: boolean | undefined;
3118
+ quotes?: {
3119
+ [x: string]: number;
3120
+ } | undefined;
3121
+ } | undefined;
3122
+ };
3123
+ kind: "Erc721Transfer";
3124
+ contract: string;
3125
+ from: string;
3126
+ to: string;
3127
+ tokenId: string;
3128
+ fee?: string | undefined;
3129
+ /** @deprecated use metadata.asset.symbol instead */
3130
+ symbol?: string | undefined;
3131
+ /** @deprecated use metadata.asset.verified instead */
3132
+ verified?: boolean | undefined;
3133
+ } | {
3134
+ walletId: string;
3135
+ direction: "In" | "Out";
3136
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
3137
+ blockNumber: number;
3138
+ txHash: string;
3139
+ index?: string | undefined;
3140
+ timestamp: string;
3141
+ metadata: {
3142
+ asset: {
3143
+ symbol?: string | undefined;
3144
+ decimals?: number | undefined;
3145
+ verified?: boolean | undefined;
3146
+ quotes?: {
3147
+ [x: string]: number;
3148
+ } | undefined;
3149
+ };
3150
+ fee?: {
3151
+ symbol?: string | undefined;
3152
+ decimals?: number | undefined;
3153
+ verified?: boolean | undefined;
3154
+ quotes?: {
3155
+ [x: string]: number;
3156
+ } | undefined;
3157
+ } | undefined;
3158
+ };
3159
+ kind: "Sep41Transfer";
3160
+ issuer: string;
3161
+ assetCode: string;
3162
+ from: string;
3163
+ to: string;
3164
+ value: string;
3165
+ fee?: string | undefined;
3166
+ memo?: string | undefined;
3167
+ liquidityPool?: string | undefined;
3168
+ balanceId?: string | undefined;
3169
+ } | {
3170
+ walletId: string;
3171
+ direction: "In" | "Out";
3172
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
3173
+ blockNumber: number;
3174
+ txHash: string;
3175
+ index?: string | undefined;
3176
+ timestamp: string;
3177
+ metadata: {
3178
+ asset: {
3179
+ symbol?: string | undefined;
3180
+ decimals?: number | undefined;
3181
+ verified?: boolean | undefined;
3182
+ quotes?: {
3183
+ [x: string]: number;
3184
+ } | undefined;
3185
+ };
3186
+ fee?: {
3187
+ symbol?: string | undefined;
3188
+ decimals?: number | undefined;
3189
+ verified?: boolean | undefined;
3190
+ quotes?: {
3191
+ [x: string]: number;
3192
+ } | undefined;
3193
+ } | undefined;
3194
+ };
3195
+ kind: "SplTransfer" | "Spl2022Transfer";
3196
+ from?: string | undefined;
3197
+ to?: string | undefined;
3198
+ mint: string;
3199
+ value: string;
3200
+ fee?: string | undefined;
3201
+ } | {
3202
+ walletId: string;
3203
+ direction: "In" | "Out";
3204
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
3205
+ blockNumber: number;
3206
+ txHash: string;
3207
+ index?: string | undefined;
3208
+ timestamp: string;
3209
+ metadata: {
3210
+ asset: {
3211
+ symbol?: string | undefined;
3212
+ decimals?: number | undefined;
3213
+ verified?: boolean | undefined;
3214
+ quotes?: {
3215
+ [x: string]: number;
3216
+ } | undefined;
3217
+ };
3218
+ fee?: {
3219
+ symbol?: string | undefined;
3220
+ decimals?: number | undefined;
3221
+ verified?: boolean | undefined;
3222
+ quotes?: {
3223
+ [x: string]: number;
3224
+ } | undefined;
3225
+ } | undefined;
3226
+ };
3227
+ kind: "Trc10Transfer";
3228
+ tokenId: string;
3229
+ from: string;
3230
+ to: string;
3231
+ value: string;
3232
+ fee?: string | undefined;
3233
+ } | {
3234
+ walletId: string;
3235
+ direction: "In" | "Out";
3236
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
3237
+ blockNumber: number;
3238
+ txHash: string;
3239
+ index?: string | undefined;
3240
+ timestamp: string;
3241
+ metadata: {
3242
+ asset: {
3243
+ symbol?: string | undefined;
3244
+ decimals?: number | undefined;
3245
+ verified?: boolean | undefined;
3246
+ quotes?: {
3247
+ [x: string]: number;
3248
+ } | undefined;
3249
+ };
3250
+ fee?: {
3251
+ symbol?: string | undefined;
3252
+ decimals?: number | undefined;
3253
+ verified?: boolean | undefined;
3254
+ quotes?: {
3255
+ [x: string]: number;
3256
+ } | undefined;
3257
+ } | undefined;
3258
+ };
3259
+ kind: "Trc20Transfer";
3260
+ contract: string;
3261
+ from: string;
3262
+ to: string;
3263
+ value: string;
3264
+ fee?: string | undefined;
3265
+ } | {
3266
+ walletId: string;
3267
+ direction: "In" | "Out";
3268
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
3269
+ blockNumber: number;
3270
+ txHash: string;
3271
+ index?: string | undefined;
3272
+ timestamp: string;
3273
+ metadata: {
3274
+ asset: {
3275
+ symbol?: string | undefined;
3276
+ decimals?: number | undefined;
3277
+ verified?: boolean | undefined;
3278
+ quotes?: {
3279
+ [x: string]: number;
3280
+ } | undefined;
3281
+ };
3282
+ fee?: {
3283
+ symbol?: string | undefined;
3284
+ decimals?: number | undefined;
3285
+ verified?: boolean | undefined;
3286
+ quotes?: {
3287
+ [x: string]: number;
3288
+ } | undefined;
3289
+ } | undefined;
3290
+ };
3291
+ kind: "Trc721Transfer";
3292
+ contract: string;
3293
+ from: string;
3294
+ to: string;
3295
+ tokenId: string;
1782
3296
  fee?: string | undefined;
1783
- approvalId?: string | undefined;
1784
- dateRequested: string;
1785
- datePolicyResolved?: string | undefined;
1786
- dateBroadcasted?: string | undefined;
1787
- dateConfirmed?: string | undefined;
1788
- } | undefined;
1789
- signatureRequest?: {
1790
- id: string;
3297
+ } | {
1791
3298
  walletId: string;
3299
+ direction: "In" | "Out";
1792
3300
  network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
1793
- requester: {
1794
- userId: string;
1795
- tokenId?: string | undefined;
1796
- appId?: string | undefined;
1797
- };
1798
- requestBody: {
1799
- kind: "Hash";
1800
- hash: string;
1801
- } | {
1802
- kind: "Message";
1803
- message: string;
1804
- } | {
1805
- kind: "Transaction";
1806
- transaction: string;
1807
- } | {
1808
- kind: "Eip712";
1809
- types: {
1810
- [x: string]: {
1811
- name: string;
1812
- type: string;
1813
- }[];
1814
- };
1815
- domain: {
1816
- name?: string | undefined;
1817
- version?: string | undefined;
1818
- chainId?: number | undefined;
1819
- verifyingContract?: string | undefined;
1820
- salt?: string | undefined;
1821
- };
1822
- message: {
1823
- [x: string]: unknown;
3301
+ blockNumber: number;
3302
+ txHash: string;
3303
+ index?: string | undefined;
3304
+ timestamp: string;
3305
+ metadata: {
3306
+ asset: {
3307
+ symbol?: string | undefined;
3308
+ decimals?: number | undefined;
3309
+ verified?: boolean | undefined;
3310
+ quotes?: {
3311
+ [x: string]: number;
3312
+ } | undefined;
1824
3313
  };
1825
- } | {
1826
- kind: "Psbt";
1827
- psbt: string;
3314
+ fee?: {
3315
+ symbol?: string | undefined;
3316
+ decimals?: number | undefined;
3317
+ verified?: boolean | undefined;
3318
+ quotes?: {
3319
+ [x: string]: number;
3320
+ } | undefined;
3321
+ } | undefined;
1828
3322
  };
1829
- status: "Pending" | "Executing" | "Signed" | "Confirmed" | "Failed" | "Rejected";
1830
- reason?: string | undefined;
1831
- signature?: {
1832
- r: string;
1833
- s: string;
1834
- recid?: number | undefined;
1835
- encoded?: string | undefined;
1836
- } | undefined;
1837
- signatures?: {
1838
- r: string;
1839
- s: string;
1840
- recid?: number | undefined;
1841
- encoded?: string | undefined;
1842
- }[] | undefined;
1843
- signedData?: string | undefined;
1844
- txHash?: string | undefined;
3323
+ kind: "UtxoTransfer";
3324
+ froms: string[];
3325
+ tos: string[];
3326
+ value: string;
1845
3327
  fee?: string | undefined;
1846
- approvalId?: string | undefined;
1847
- dateRequested: string;
1848
- datePolicyResolved?: string | undefined;
1849
- dateSigned?: string | undefined;
1850
- dateConfirmed?: string | undefined;
1851
- } | undefined;
3328
+ };
1852
3329
  } | {
1853
3330
  kind: "Policies:Modify";
1854
3331
  changeRequest: {
@@ -1990,6 +3467,28 @@ export type ListApprovalsResponse = {
1990
3467
  limit: number;
1991
3468
  timeframe: number;
1992
3469
  };
3470
+ } | {
3471
+ kind: "ChainalysisTransactionPrescreening";
3472
+ configuration: {
3473
+ alerts: {
3474
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
3475
+ categoryIds: number[];
3476
+ };
3477
+ exposures: {
3478
+ direct: {
3479
+ categoryIds: number[];
3480
+ };
3481
+ };
3482
+ addresses: {
3483
+ categoryIds: number[];
3484
+ };
3485
+ fallbackBehaviours: {
3486
+ skipUnscreenableTransaction: boolean;
3487
+ skipUnsupportedNetwork: boolean;
3488
+ skipUnsupportedAsset: boolean;
3489
+ skipChainalysisFailure: boolean;
3490
+ };
3491
+ };
1993
3492
  };
1994
3493
  action: {
1995
3494
  kind: "RequestApproval";
@@ -2005,6 +3504,47 @@ export type ListApprovalsResponse = {
2005
3504
  autoRejectTimeout?: (number | undefined) | null;
2006
3505
  } | {
2007
3506
  kind: "Block";
3507
+ } | {
3508
+ kind: "NoAction";
3509
+ };
3510
+ filters?: {
3511
+ walletId?: {
3512
+ in: string[];
3513
+ } | undefined;
3514
+ walletTags?: {
3515
+ hasAny?: string[] | undefined;
3516
+ hasAll?: string[] | undefined;
3517
+ } | undefined;
3518
+ } | undefined;
3519
+ } | {
3520
+ id: string;
3521
+ name: string;
3522
+ status: "Active" | "Archived";
3523
+ dateCreated?: string | undefined;
3524
+ dateUpdated?: string | undefined;
3525
+ activityKind: "Wallets:IncomingTransaction";
3526
+ rule: {
3527
+ kind: "ChainalysisTransactionScreening";
3528
+ configuration: {
3529
+ alerts: {
3530
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
3531
+ categoryIds: number[];
3532
+ };
3533
+ exposures: {
3534
+ direct: {
3535
+ categoryIds: number[];
3536
+ };
3537
+ };
3538
+ fallbackBehaviours: {
3539
+ skipUnscreenableTransaction: boolean;
3540
+ skipUnsupportedNetwork: boolean;
3541
+ skipUnsupportedAsset: boolean;
3542
+ skipChainalysisFailure: boolean;
3543
+ };
3544
+ };
3545
+ };
3546
+ action: {
3547
+ kind: "NoAction";
2008
3548
  };
2009
3549
  filters?: {
2010
3550
  walletId?: {
@@ -2066,14 +3606,14 @@ export type ListApprovalsResponse = {
2066
3606
  };
2067
3607
  };
2068
3608
  };
2069
- status: "Pending" | "Approved" | "Denied" | "AutoApproved" | "AutoDenied" | "Expired";
3609
+ status: "Pending" | "Approved" | "Denied" | "Expired";
2070
3610
  expirationDate?: string | undefined;
2071
3611
  dateCreated?: string | undefined;
2072
3612
  dateUpdated: string;
2073
3613
  dateResolved?: string | undefined;
2074
- evaluatedPolicies: {
3614
+ policyEvaluations: {
2075
3615
  policyId: string;
2076
- triggerStatus: "Triggered" | "Skipped";
3616
+ triggered: boolean;
2077
3617
  reason: string;
2078
3618
  }[];
2079
3619
  decisions: {
@@ -2219,6 +3759,28 @@ export type ListPoliciesResponse = {
2219
3759
  limit: number;
2220
3760
  timeframe: number;
2221
3761
  };
3762
+ } | {
3763
+ kind: "ChainalysisTransactionPrescreening";
3764
+ configuration: {
3765
+ alerts: {
3766
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
3767
+ categoryIds: number[];
3768
+ };
3769
+ exposures: {
3770
+ direct: {
3771
+ categoryIds: number[];
3772
+ };
3773
+ };
3774
+ addresses: {
3775
+ categoryIds: number[];
3776
+ };
3777
+ fallbackBehaviours: {
3778
+ skipUnscreenableTransaction: boolean;
3779
+ skipUnsupportedNetwork: boolean;
3780
+ skipUnsupportedAsset: boolean;
3781
+ skipChainalysisFailure: boolean;
3782
+ };
3783
+ };
2222
3784
  };
2223
3785
  action: {
2224
3786
  kind: "RequestApproval";
@@ -2234,6 +3796,47 @@ export type ListPoliciesResponse = {
2234
3796
  autoRejectTimeout?: (number | undefined) | null;
2235
3797
  } | {
2236
3798
  kind: "Block";
3799
+ } | {
3800
+ kind: "NoAction";
3801
+ };
3802
+ filters?: {
3803
+ walletId?: {
3804
+ in: string[];
3805
+ } | undefined;
3806
+ walletTags?: {
3807
+ hasAny?: string[] | undefined;
3808
+ hasAll?: string[] | undefined;
3809
+ } | undefined;
3810
+ } | undefined;
3811
+ } | {
3812
+ id: string;
3813
+ name: string;
3814
+ status: "Active" | "Archived";
3815
+ dateCreated?: string | undefined;
3816
+ dateUpdated?: string | undefined;
3817
+ activityKind: "Wallets:IncomingTransaction";
3818
+ rule: {
3819
+ kind: "ChainalysisTransactionScreening";
3820
+ configuration: {
3821
+ alerts: {
3822
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
3823
+ categoryIds: number[];
3824
+ };
3825
+ exposures: {
3826
+ direct: {
3827
+ categoryIds: number[];
3828
+ };
3829
+ };
3830
+ fallbackBehaviours: {
3831
+ skipUnscreenableTransaction: boolean;
3832
+ skipUnsupportedNetwork: boolean;
3833
+ skipUnsupportedAsset: boolean;
3834
+ skipChainalysisFailure: boolean;
3835
+ };
3836
+ };
3837
+ };
3838
+ action: {
3839
+ kind: "NoAction";
2237
3840
  };
2238
3841
  filters?: {
2239
3842
  walletId?: {
@@ -2384,6 +3987,28 @@ export type ListPoliciesResponse = {
2384
3987
  limit: number;
2385
3988
  timeframe: number;
2386
3989
  };
3990
+ } | {
3991
+ kind: "ChainalysisTransactionPrescreening";
3992
+ configuration: {
3993
+ alerts: {
3994
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
3995
+ categoryIds: number[];
3996
+ };
3997
+ exposures: {
3998
+ direct: {
3999
+ categoryIds: number[];
4000
+ };
4001
+ };
4002
+ addresses: {
4003
+ categoryIds: number[];
4004
+ };
4005
+ fallbackBehaviours: {
4006
+ skipUnscreenableTransaction: boolean;
4007
+ skipUnsupportedNetwork: boolean;
4008
+ skipUnsupportedAsset: boolean;
4009
+ skipChainalysisFailure: boolean;
4010
+ };
4011
+ };
2387
4012
  };
2388
4013
  action: {
2389
4014
  kind: "RequestApproval";
@@ -2399,6 +4024,47 @@ export type ListPoliciesResponse = {
2399
4024
  autoRejectTimeout?: (number | undefined) | null;
2400
4025
  } | {
2401
4026
  kind: "Block";
4027
+ } | {
4028
+ kind: "NoAction";
4029
+ };
4030
+ filters?: {
4031
+ walletId?: {
4032
+ in: string[];
4033
+ } | undefined;
4034
+ walletTags?: {
4035
+ hasAny?: string[] | undefined;
4036
+ hasAll?: string[] | undefined;
4037
+ } | undefined;
4038
+ } | undefined;
4039
+ } | {
4040
+ id: string;
4041
+ name: string;
4042
+ status: "Active" | "Archived";
4043
+ dateCreated?: string | undefined;
4044
+ dateUpdated?: string | undefined;
4045
+ activityKind: "Wallets:IncomingTransaction";
4046
+ rule: {
4047
+ kind: "ChainalysisTransactionScreening";
4048
+ configuration: {
4049
+ alerts: {
4050
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
4051
+ categoryIds: number[];
4052
+ };
4053
+ exposures: {
4054
+ direct: {
4055
+ categoryIds: number[];
4056
+ };
4057
+ };
4058
+ fallbackBehaviours: {
4059
+ skipUnscreenableTransaction: boolean;
4060
+ skipUnsupportedNetwork: boolean;
4061
+ skipUnsupportedAsset: boolean;
4062
+ skipChainalysisFailure: boolean;
4063
+ };
4064
+ };
4065
+ };
4066
+ action: {
4067
+ kind: "NoAction";
2402
4068
  };
2403
4069
  filters?: {
2404
4070
  walletId?: {
@@ -2526,6 +4192,28 @@ export type UpdatePolicyBody = {
2526
4192
  limit: number;
2527
4193
  timeframe: number;
2528
4194
  };
4195
+ } | {
4196
+ kind: "ChainalysisTransactionPrescreening";
4197
+ configuration: {
4198
+ alerts: {
4199
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
4200
+ categoryIds: number[];
4201
+ };
4202
+ exposures: {
4203
+ direct: {
4204
+ categoryIds: number[];
4205
+ };
4206
+ };
4207
+ addresses: {
4208
+ categoryIds: number[];
4209
+ };
4210
+ fallbackBehaviours: {
4211
+ skipUnscreenableTransaction: boolean;
4212
+ skipUnsupportedNetwork: boolean;
4213
+ skipUnsupportedAsset: boolean;
4214
+ skipChainalysisFailure: boolean;
4215
+ };
4216
+ };
2529
4217
  };
2530
4218
  action: {
2531
4219
  kind: "RequestApproval";
@@ -2541,6 +4229,43 @@ export type UpdatePolicyBody = {
2541
4229
  autoRejectTimeout?: (number | undefined) | null;
2542
4230
  } | {
2543
4231
  kind: "Block";
4232
+ } | {
4233
+ kind: "NoAction";
4234
+ };
4235
+ filters?: {
4236
+ walletId?: {
4237
+ in: string[];
4238
+ } | undefined;
4239
+ walletTags?: {
4240
+ hasAny?: string[] | undefined;
4241
+ hasAll?: string[] | undefined;
4242
+ } | undefined;
4243
+ } | undefined;
4244
+ } | {
4245
+ name: string;
4246
+ activityKind: "Wallets:IncomingTransaction";
4247
+ rule: {
4248
+ kind: "ChainalysisTransactionScreening";
4249
+ configuration: {
4250
+ alerts: {
4251
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
4252
+ categoryIds: number[];
4253
+ };
4254
+ exposures: {
4255
+ direct: {
4256
+ categoryIds: number[];
4257
+ };
4258
+ };
4259
+ fallbackBehaviours: {
4260
+ skipUnscreenableTransaction: boolean;
4261
+ skipUnsupportedNetwork: boolean;
4262
+ skipUnsupportedAsset: boolean;
4263
+ skipChainalysisFailure: boolean;
4264
+ };
4265
+ };
4266
+ };
4267
+ action: {
4268
+ kind: "NoAction";
2544
4269
  };
2545
4270
  filters?: {
2546
4271
  walletId?: {
@@ -2680,6 +4405,28 @@ export type UpdatePolicyResponse = {
2680
4405
  limit: number;
2681
4406
  timeframe: number;
2682
4407
  };
4408
+ } | {
4409
+ kind: "ChainalysisTransactionPrescreening";
4410
+ configuration: {
4411
+ alerts: {
4412
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
4413
+ categoryIds: number[];
4414
+ };
4415
+ exposures: {
4416
+ direct: {
4417
+ categoryIds: number[];
4418
+ };
4419
+ };
4420
+ addresses: {
4421
+ categoryIds: number[];
4422
+ };
4423
+ fallbackBehaviours: {
4424
+ skipUnscreenableTransaction: boolean;
4425
+ skipUnsupportedNetwork: boolean;
4426
+ skipUnsupportedAsset: boolean;
4427
+ skipChainalysisFailure: boolean;
4428
+ };
4429
+ };
2683
4430
  };
2684
4431
  action: {
2685
4432
  kind: "RequestApproval";
@@ -2695,6 +4442,47 @@ export type UpdatePolicyResponse = {
2695
4442
  autoRejectTimeout?: (number | undefined) | null;
2696
4443
  } | {
2697
4444
  kind: "Block";
4445
+ } | {
4446
+ kind: "NoAction";
4447
+ };
4448
+ filters?: {
4449
+ walletId?: {
4450
+ in: string[];
4451
+ } | undefined;
4452
+ walletTags?: {
4453
+ hasAny?: string[] | undefined;
4454
+ hasAll?: string[] | undefined;
4455
+ } | undefined;
4456
+ } | undefined;
4457
+ } | {
4458
+ id: string;
4459
+ name: string;
4460
+ status: "Active" | "Archived";
4461
+ dateCreated?: string | undefined;
4462
+ dateUpdated?: string | undefined;
4463
+ activityKind: "Wallets:IncomingTransaction";
4464
+ rule: {
4465
+ kind: "ChainalysisTransactionScreening";
4466
+ configuration: {
4467
+ alerts: {
4468
+ alertLevel: "LOW" | "MEDIUM" | "HIGH" | "SEVERE";
4469
+ categoryIds: number[];
4470
+ };
4471
+ exposures: {
4472
+ direct: {
4473
+ categoryIds: number[];
4474
+ };
4475
+ };
4476
+ fallbackBehaviours: {
4477
+ skipUnscreenableTransaction: boolean;
4478
+ skipUnsupportedNetwork: boolean;
4479
+ skipUnsupportedAsset: boolean;
4480
+ skipChainalysisFailure: boolean;
4481
+ };
4482
+ };
4483
+ };
4484
+ action: {
4485
+ kind: "NoAction";
2698
4486
  };
2699
4487
  filters?: {
2700
4488
  walletId?: {