@nexeraid/identity-schemas 2.193.0-dev → 2.195.0-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/declarations/src/identity/scenario.schema.d.ts +1237 -604
  2. package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -1
  3. package/dist/declarations/src/providers/provider.schema.d.ts +25 -25
  4. package/dist/declarations/src/providers/provider.schema.d.ts.map +1 -1
  5. package/dist/{identity-api.schema-29e4e10d.esm.mjs → identity-api.schema-61a3a904.esm.mjs} +11 -7
  6. package/dist/{identity-api.schema-d79225f4.cjs.prod.cjs → identity-api.schema-b70ea48d.cjs.prod.cjs} +11 -7
  7. package/dist/{identity-api.schema-f9da0747.cjs.dev.cjs → identity-api.schema-fbf3ebdf.cjs.dev.cjs} +11 -7
  8. package/dist/nexeraid-identity-schemas.cjs.dev.cjs +2 -2
  9. package/dist/nexeraid-identity-schemas.cjs.prod.cjs +2 -2
  10. package/dist/nexeraid-identity-schemas.esm.mjs +3 -3
  11. package/dist/{nota-bene.schema-0ad2c4e2.cjs.dev.cjs → nota-bene.schema-223cb8f9.cjs.dev.cjs} +2 -2
  12. package/dist/{nota-bene.schema-f3545475.esm.mjs → nota-bene.schema-6e877fea.esm.mjs} +2 -2
  13. package/dist/{nota-bene.schema-db882205.cjs.prod.cjs → nota-bene.schema-f9a5071b.cjs.prod.cjs} +2 -2
  14. package/dist/package.json +2 -1
  15. package/dist/{tfhe-utilities-a37819f2.esm.mjs → tfhe-utilities-24522032.esm.mjs} +1 -1
  16. package/dist/{tfhe-utilities-396c5a40.cjs.dev.cjs → tfhe-utilities-43b94ef2.cjs.dev.cjs} +1 -1
  17. package/dist/{tfhe-utilities-98602326.cjs.prod.cjs → tfhe-utilities-b784026d.cjs.prod.cjs} +1 -1
  18. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +1 -1
  19. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +1 -1
  20. package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +1 -1
  21. package/package.json +2 -1
  22. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +2 -2
  23. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +2 -2
  24. package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +2 -2
  25. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +2 -2
  26. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +2 -2
  27. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +2 -2
  28. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +2 -2
  29. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +2 -2
  30. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +2 -2
@@ -705,85 +705,7 @@ export declare const SimplifiedScenario: z.ZodObject<{
705
705
  id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
706
706
  name: z.ZodString;
707
707
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
708
- queries: z.ZodArray<z.ZodObject<{
709
- queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
710
- id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
711
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
712
- attribute: z.ZodObject<{
713
- version: z.ZodEnum<["v1"]>;
714
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
715
- path: z.ZodString;
716
- }, "strip", z.ZodTypeAny, {
717
- path: string;
718
- version: "v1";
719
- schema: keyof import("../index.js").VaultSchema;
720
- }, {
721
- path: string;
722
- version: "v1";
723
- schema: keyof import("../index.js").VaultSchema;
724
- }>;
725
- secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
726
- version: z.ZodEnum<["v1"]>;
727
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
728
- path: z.ZodString;
729
- }, "strip", z.ZodTypeAny, {
730
- path: string;
731
- version: "v1";
732
- schema: keyof import("../index.js").VaultSchema;
733
- }, {
734
- path: string;
735
- version: "v1";
736
- schema: keyof import("../index.js").VaultSchema;
737
- }>>>;
738
- value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
739
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
740
- displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
741
- timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
742
- datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
743
- specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
744
- }, "strip", z.ZodTypeAny, {
745
- attribute: {
746
- path: string;
747
- version: "v1";
748
- schema: keyof import("../index.js").VaultSchema;
749
- };
750
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
751
- id?: `query_${string}` | undefined;
752
- value?: string | number | boolean | string[] | number[] | null | undefined;
753
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
754
- queryId?: `query_${string}` | undefined;
755
- requestId?: number | null | undefined;
756
- secondaryAttribute?: {
757
- path: string;
758
- version: "v1";
759
- schema: keyof import("../index.js").VaultSchema;
760
- } | null | undefined;
761
- displayMode?: "amount" | "percentage" | null | undefined;
762
- datasetColumnId?: `datasetc_${string}` | null | undefined;
763
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
764
- }, {
765
- attribute: {
766
- path: string;
767
- version: "v1";
768
- schema: keyof import("../index.js").VaultSchema;
769
- };
770
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
771
- id?: `query_${string}` | undefined;
772
- value?: string | number | boolean | string[] | number[] | null | undefined;
773
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
774
- queryId?: `query_${string}` | undefined;
775
- requestId?: number | null | undefined;
776
- secondaryAttribute?: {
777
- path: string;
778
- version: "v1";
779
- schema: keyof import("../index.js").VaultSchema;
780
- } | null | undefined;
781
- displayMode?: "amount" | "percentage" | null | undefined;
782
- datasetColumnId?: `datasetc_${string}` | null | undefined;
783
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
784
- }>, "many">;
785
- queryGroups: z.ZodArray<z.ZodObject<{
786
- id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
708
+ primaryEvaluationMethod: z.ZodObject<{
787
709
  operator: z.ZodEnum<["AND", "OR"]>;
788
710
  queries: z.ZodArray<z.ZodObject<{
789
711
  queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
@@ -862,6 +784,135 @@ export declare const SimplifiedScenario: z.ZodObject<{
862
784
  datasetColumnId?: `datasetc_${string}` | null | undefined;
863
785
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
864
786
  }>, "many">;
787
+ queryGroups: z.ZodArray<z.ZodObject<{
788
+ id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
789
+ operator: z.ZodEnum<["AND", "OR"]>;
790
+ queries: z.ZodArray<z.ZodObject<{
791
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
792
+ id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
793
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
794
+ attribute: z.ZodObject<{
795
+ version: z.ZodEnum<["v1"]>;
796
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
797
+ path: z.ZodString;
798
+ }, "strip", z.ZodTypeAny, {
799
+ path: string;
800
+ version: "v1";
801
+ schema: keyof import("../index.js").VaultSchema;
802
+ }, {
803
+ path: string;
804
+ version: "v1";
805
+ schema: keyof import("../index.js").VaultSchema;
806
+ }>;
807
+ secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
808
+ version: z.ZodEnum<["v1"]>;
809
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
810
+ path: z.ZodString;
811
+ }, "strip", z.ZodTypeAny, {
812
+ path: string;
813
+ version: "v1";
814
+ schema: keyof import("../index.js").VaultSchema;
815
+ }, {
816
+ path: string;
817
+ version: "v1";
818
+ schema: keyof import("../index.js").VaultSchema;
819
+ }>>>;
820
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
821
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
822
+ displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
823
+ timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
824
+ datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
825
+ specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
826
+ }, "strip", z.ZodTypeAny, {
827
+ attribute: {
828
+ path: string;
829
+ version: "v1";
830
+ schema: keyof import("../index.js").VaultSchema;
831
+ };
832
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
833
+ id?: `query_${string}` | undefined;
834
+ value?: string | number | boolean | string[] | number[] | null | undefined;
835
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
836
+ queryId?: `query_${string}` | undefined;
837
+ requestId?: number | null | undefined;
838
+ secondaryAttribute?: {
839
+ path: string;
840
+ version: "v1";
841
+ schema: keyof import("../index.js").VaultSchema;
842
+ } | null | undefined;
843
+ displayMode?: "amount" | "percentage" | null | undefined;
844
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
845
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
846
+ }, {
847
+ attribute: {
848
+ path: string;
849
+ version: "v1";
850
+ schema: keyof import("../index.js").VaultSchema;
851
+ };
852
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
853
+ id?: `query_${string}` | undefined;
854
+ value?: string | number | boolean | string[] | number[] | null | undefined;
855
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
856
+ queryId?: `query_${string}` | undefined;
857
+ requestId?: number | null | undefined;
858
+ secondaryAttribute?: {
859
+ path: string;
860
+ version: "v1";
861
+ schema: keyof import("../index.js").VaultSchema;
862
+ } | null | undefined;
863
+ displayMode?: "amount" | "percentage" | null | undefined;
864
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
865
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
866
+ }>, "many">;
867
+ }, "strip", z.ZodTypeAny, {
868
+ operator: "AND" | "OR";
869
+ queries: {
870
+ attribute: {
871
+ path: string;
872
+ version: "v1";
873
+ schema: keyof import("../index.js").VaultSchema;
874
+ };
875
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
876
+ id?: `query_${string}` | undefined;
877
+ value?: string | number | boolean | string[] | number[] | null | undefined;
878
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
879
+ queryId?: `query_${string}` | undefined;
880
+ requestId?: number | null | undefined;
881
+ secondaryAttribute?: {
882
+ path: string;
883
+ version: "v1";
884
+ schema: keyof import("../index.js").VaultSchema;
885
+ } | null | undefined;
886
+ displayMode?: "amount" | "percentage" | null | undefined;
887
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
888
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
889
+ }[];
890
+ id?: `qgroup_${string}` | undefined;
891
+ }, {
892
+ operator: "AND" | "OR";
893
+ queries: {
894
+ attribute: {
895
+ path: string;
896
+ version: "v1";
897
+ schema: keyof import("../index.js").VaultSchema;
898
+ };
899
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
900
+ id?: `query_${string}` | undefined;
901
+ value?: string | number | boolean | string[] | number[] | null | undefined;
902
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
903
+ queryId?: `query_${string}` | undefined;
904
+ requestId?: number | null | undefined;
905
+ secondaryAttribute?: {
906
+ path: string;
907
+ version: "v1";
908
+ schema: keyof import("../index.js").VaultSchema;
909
+ } | null | undefined;
910
+ displayMode?: "amount" | "percentage" | null | undefined;
911
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
912
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
913
+ }[];
914
+ id?: `qgroup_${string}` | undefined;
915
+ }>, "many">;
865
916
  }, "strip", z.ZodTypeAny, {
866
917
  operator: "AND" | "OR";
867
918
  queries: {
@@ -885,7 +936,31 @@ export declare const SimplifiedScenario: z.ZodObject<{
885
936
  datasetColumnId?: `datasetc_${string}` | null | undefined;
886
937
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
887
938
  }[];
888
- id?: `qgroup_${string}` | undefined;
939
+ queryGroups: {
940
+ operator: "AND" | "OR";
941
+ queries: {
942
+ attribute: {
943
+ path: string;
944
+ version: "v1";
945
+ schema: keyof import("../index.js").VaultSchema;
946
+ };
947
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
948
+ id?: `query_${string}` | undefined;
949
+ value?: string | number | boolean | string[] | number[] | null | undefined;
950
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
951
+ queryId?: `query_${string}` | undefined;
952
+ requestId?: number | null | undefined;
953
+ secondaryAttribute?: {
954
+ path: string;
955
+ version: "v1";
956
+ schema: keyof import("../index.js").VaultSchema;
957
+ } | null | undefined;
958
+ displayMode?: "amount" | "percentage" | null | undefined;
959
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
960
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
961
+ }[];
962
+ id?: `qgroup_${string}` | undefined;
963
+ }[];
889
964
  }, {
890
965
  operator: "AND" | "OR";
891
966
  queries: {
@@ -909,8 +984,32 @@ export declare const SimplifiedScenario: z.ZodObject<{
909
984
  datasetColumnId?: `datasetc_${string}` | null | undefined;
910
985
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
911
986
  }[];
912
- id?: `qgroup_${string}` | undefined;
913
- }>, "many">;
987
+ queryGroups: {
988
+ operator: "AND" | "OR";
989
+ queries: {
990
+ attribute: {
991
+ path: string;
992
+ version: "v1";
993
+ schema: keyof import("../index.js").VaultSchema;
994
+ };
995
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
996
+ id?: `query_${string}` | undefined;
997
+ value?: string | number | boolean | string[] | number[] | null | undefined;
998
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
999
+ queryId?: `query_${string}` | undefined;
1000
+ requestId?: number | null | undefined;
1001
+ secondaryAttribute?: {
1002
+ path: string;
1003
+ version: "v1";
1004
+ schema: keyof import("../index.js").VaultSchema;
1005
+ } | null | undefined;
1006
+ displayMode?: "amount" | "percentage" | null | undefined;
1007
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1008
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1009
+ }[];
1010
+ id?: `qgroup_${string}` | undefined;
1011
+ }[];
1012
+ }>;
914
1013
  actions: z.ZodArray<z.ZodObject<{
915
1014
  type: z.ZodEnum<["SET_CUSTOMER_RISK_LEVEL", "SET_CUSTOMER_STATUS", "SET_ALERT_RISK_LEVEL", "SET_TRANSACTION_RISK_LEVEL", "SET_TRANSACTION_STATUS", "ASSIGN_COMPLIANCE_OFFICER", "CREATE_ALERT", "ASSIGN_TAG", "BLOCK_ON_CHAIN_TRANSACTION"]>;
916
1015
  trigger: z.ZodEnum<["ON_TRUE", "ON_FALSE", "ALWAYS"]>;
@@ -930,34 +1029,12 @@ export declare const SimplifiedScenario: z.ZodObject<{
930
1029
  type: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring", "TFHE", "BlockchainPolicies"]>;
931
1030
  mode: z.ZodEnum<["INTERNAL", "EXTERNAL"]>;
932
1031
  workspaceId: z.ZodString;
933
- vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "IDInformationTfhe", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
934
1032
  }, "strip", z.ZodTypeAny, {
935
1033
  id: `scenario_${string}`;
936
1034
  type: "TFHE" | "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring" | "BlockchainPolicies";
937
1035
  name: string;
938
1036
  workspaceId: string;
939
- queries: {
940
- attribute: {
941
- path: string;
942
- version: "v1";
943
- schema: keyof import("../index.js").VaultSchema;
944
- };
945
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
946
- id?: `query_${string}` | undefined;
947
- value?: string | number | boolean | string[] | number[] | null | undefined;
948
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
949
- queryId?: `query_${string}` | undefined;
950
- requestId?: number | null | undefined;
951
- secondaryAttribute?: {
952
- path: string;
953
- version: "v1";
954
- schema: keyof import("../index.js").VaultSchema;
955
- } | null | undefined;
956
- displayMode?: "amount" | "percentage" | null | undefined;
957
- datasetColumnId?: `datasetc_${string}` | null | undefined;
958
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
959
- }[];
960
- queryGroups: {
1037
+ primaryEvaluationMethod: {
961
1038
  operator: "AND" | "OR";
962
1039
  queries: {
963
1040
  attribute: {
@@ -980,8 +1057,32 @@ export declare const SimplifiedScenario: z.ZodObject<{
980
1057
  datasetColumnId?: `datasetc_${string}` | null | undefined;
981
1058
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
982
1059
  }[];
983
- id?: `qgroup_${string}` | undefined;
984
- }[];
1060
+ queryGroups: {
1061
+ operator: "AND" | "OR";
1062
+ queries: {
1063
+ attribute: {
1064
+ path: string;
1065
+ version: "v1";
1066
+ schema: keyof import("../index.js").VaultSchema;
1067
+ };
1068
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1069
+ id?: `query_${string}` | undefined;
1070
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1071
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1072
+ queryId?: `query_${string}` | undefined;
1073
+ requestId?: number | null | undefined;
1074
+ secondaryAttribute?: {
1075
+ path: string;
1076
+ version: "v1";
1077
+ schema: keyof import("../index.js").VaultSchema;
1078
+ } | null | undefined;
1079
+ displayMode?: "amount" | "percentage" | null | undefined;
1080
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1081
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1082
+ }[];
1083
+ id?: `qgroup_${string}` | undefined;
1084
+ }[];
1085
+ };
985
1086
  actions: {
986
1087
  value: string;
987
1088
  type: "SET_CUSTOMER_RISK_LEVEL" | "SET_CUSTOMER_STATUS" | "SET_ALERT_RISK_LEVEL" | "SET_TRANSACTION_RISK_LEVEL" | "SET_TRANSACTION_STATUS" | "ASSIGN_COMPLIANCE_OFFICER" | "CREATE_ALERT" | "ASSIGN_TAG" | "BLOCK_ON_CHAIN_TRANSACTION";
@@ -990,34 +1091,12 @@ export declare const SimplifiedScenario: z.ZodObject<{
990
1091
  }[];
991
1092
  mode: "INTERNAL" | "EXTERNAL";
992
1093
  description?: string | null | undefined;
993
- vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "IDInformationTfhe" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
994
1094
  }, {
995
1095
  id: `scenario_${string}`;
996
1096
  type: "TFHE" | "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring" | "BlockchainPolicies";
997
1097
  name: string;
998
1098
  workspaceId: string;
999
- queries: {
1000
- attribute: {
1001
- path: string;
1002
- version: "v1";
1003
- schema: keyof import("../index.js").VaultSchema;
1004
- };
1005
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1006
- id?: `query_${string}` | undefined;
1007
- value?: string | number | boolean | string[] | number[] | null | undefined;
1008
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1009
- queryId?: `query_${string}` | undefined;
1010
- requestId?: number | null | undefined;
1011
- secondaryAttribute?: {
1012
- path: string;
1013
- version: "v1";
1014
- schema: keyof import("../index.js").VaultSchema;
1015
- } | null | undefined;
1016
- displayMode?: "amount" | "percentage" | null | undefined;
1017
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1018
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1019
- }[];
1020
- queryGroups: {
1099
+ primaryEvaluationMethod: {
1021
1100
  operator: "AND" | "OR";
1022
1101
  queries: {
1023
1102
  attribute: {
@@ -1040,8 +1119,32 @@ export declare const SimplifiedScenario: z.ZodObject<{
1040
1119
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1041
1120
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1042
1121
  }[];
1043
- id?: `qgroup_${string}` | undefined;
1044
- }[];
1122
+ queryGroups: {
1123
+ operator: "AND" | "OR";
1124
+ queries: {
1125
+ attribute: {
1126
+ path: string;
1127
+ version: "v1";
1128
+ schema: keyof import("../index.js").VaultSchema;
1129
+ };
1130
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1131
+ id?: `query_${string}` | undefined;
1132
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1133
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1134
+ queryId?: `query_${string}` | undefined;
1135
+ requestId?: number | null | undefined;
1136
+ secondaryAttribute?: {
1137
+ path: string;
1138
+ version: "v1";
1139
+ schema: keyof import("../index.js").VaultSchema;
1140
+ } | null | undefined;
1141
+ displayMode?: "amount" | "percentage" | null | undefined;
1142
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1143
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1144
+ }[];
1145
+ id?: `qgroup_${string}` | undefined;
1146
+ }[];
1147
+ };
1045
1148
  actions: {
1046
1149
  value: string;
1047
1150
  type: "SET_CUSTOMER_RISK_LEVEL" | "SET_CUSTOMER_STATUS" | "SET_ALERT_RISK_LEVEL" | "SET_TRANSACTION_RISK_LEVEL" | "SET_TRANSACTION_STATUS" | "ASSIGN_COMPLIANCE_OFFICER" | "CREATE_ALERT" | "ASSIGN_TAG" | "BLOCK_ON_CHAIN_TRANSACTION";
@@ -1050,91 +1153,12 @@ export declare const SimplifiedScenario: z.ZodObject<{
1050
1153
  }[];
1051
1154
  mode: "INTERNAL" | "EXTERNAL";
1052
1155
  description?: string | null | undefined;
1053
- vcsIncluded?: string[] | null | undefined;
1054
1156
  }>;
1055
1157
  export declare const AbbreviatedWorkflowScenario: z.ZodObject<Omit<{
1056
1158
  id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
1057
1159
  name: z.ZodString;
1058
1160
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1059
- queries: z.ZodArray<z.ZodObject<{
1060
- queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1061
- id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1062
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1063
- attribute: z.ZodObject<{
1064
- version: z.ZodEnum<["v1"]>;
1065
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1066
- path: z.ZodString;
1067
- }, "strip", z.ZodTypeAny, {
1068
- path: string;
1069
- version: "v1";
1070
- schema: keyof import("../index.js").VaultSchema;
1071
- }, {
1072
- path: string;
1073
- version: "v1";
1074
- schema: keyof import("../index.js").VaultSchema;
1075
- }>;
1076
- secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1077
- version: z.ZodEnum<["v1"]>;
1078
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1079
- path: z.ZodString;
1080
- }, "strip", z.ZodTypeAny, {
1081
- path: string;
1082
- version: "v1";
1083
- schema: keyof import("../index.js").VaultSchema;
1084
- }, {
1085
- path: string;
1086
- version: "v1";
1087
- schema: keyof import("../index.js").VaultSchema;
1088
- }>>>;
1089
- value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
1090
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
1091
- displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
1092
- timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
1093
- datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
1094
- specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
1095
- }, "strip", z.ZodTypeAny, {
1096
- attribute: {
1097
- path: string;
1098
- version: "v1";
1099
- schema: keyof import("../index.js").VaultSchema;
1100
- };
1101
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1102
- id?: `query_${string}` | undefined;
1103
- value?: string | number | boolean | string[] | number[] | null | undefined;
1104
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1105
- queryId?: `query_${string}` | undefined;
1106
- requestId?: number | null | undefined;
1107
- secondaryAttribute?: {
1108
- path: string;
1109
- version: "v1";
1110
- schema: keyof import("../index.js").VaultSchema;
1111
- } | null | undefined;
1112
- displayMode?: "amount" | "percentage" | null | undefined;
1113
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1114
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1115
- }, {
1116
- attribute: {
1117
- path: string;
1118
- version: "v1";
1119
- schema: keyof import("../index.js").VaultSchema;
1120
- };
1121
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1122
- id?: `query_${string}` | undefined;
1123
- value?: string | number | boolean | string[] | number[] | null | undefined;
1124
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1125
- queryId?: `query_${string}` | undefined;
1126
- requestId?: number | null | undefined;
1127
- secondaryAttribute?: {
1128
- path: string;
1129
- version: "v1";
1130
- schema: keyof import("../index.js").VaultSchema;
1131
- } | null | undefined;
1132
- displayMode?: "amount" | "percentage" | null | undefined;
1133
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1134
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1135
- }>, "many">;
1136
- queryGroups: z.ZodArray<z.ZodObject<{
1137
- id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
1161
+ primaryEvaluationMethod: z.ZodObject<{
1138
1162
  operator: z.ZodEnum<["AND", "OR"]>;
1139
1163
  queries: z.ZodArray<z.ZodObject<{
1140
1164
  queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
@@ -1213,6 +1237,135 @@ export declare const AbbreviatedWorkflowScenario: z.ZodObject<Omit<{
1213
1237
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1214
1238
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1215
1239
  }>, "many">;
1240
+ queryGroups: z.ZodArray<z.ZodObject<{
1241
+ id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
1242
+ operator: z.ZodEnum<["AND", "OR"]>;
1243
+ queries: z.ZodArray<z.ZodObject<{
1244
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1245
+ id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1246
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1247
+ attribute: z.ZodObject<{
1248
+ version: z.ZodEnum<["v1"]>;
1249
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1250
+ path: z.ZodString;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ path: string;
1253
+ version: "v1";
1254
+ schema: keyof import("../index.js").VaultSchema;
1255
+ }, {
1256
+ path: string;
1257
+ version: "v1";
1258
+ schema: keyof import("../index.js").VaultSchema;
1259
+ }>;
1260
+ secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1261
+ version: z.ZodEnum<["v1"]>;
1262
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1263
+ path: z.ZodString;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ path: string;
1266
+ version: "v1";
1267
+ schema: keyof import("../index.js").VaultSchema;
1268
+ }, {
1269
+ path: string;
1270
+ version: "v1";
1271
+ schema: keyof import("../index.js").VaultSchema;
1272
+ }>>>;
1273
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
1274
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
1275
+ displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
1276
+ timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
1277
+ datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
1278
+ specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
1279
+ }, "strip", z.ZodTypeAny, {
1280
+ attribute: {
1281
+ path: string;
1282
+ version: "v1";
1283
+ schema: keyof import("../index.js").VaultSchema;
1284
+ };
1285
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1286
+ id?: `query_${string}` | undefined;
1287
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1288
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1289
+ queryId?: `query_${string}` | undefined;
1290
+ requestId?: number | null | undefined;
1291
+ secondaryAttribute?: {
1292
+ path: string;
1293
+ version: "v1";
1294
+ schema: keyof import("../index.js").VaultSchema;
1295
+ } | null | undefined;
1296
+ displayMode?: "amount" | "percentage" | null | undefined;
1297
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1298
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1299
+ }, {
1300
+ attribute: {
1301
+ path: string;
1302
+ version: "v1";
1303
+ schema: keyof import("../index.js").VaultSchema;
1304
+ };
1305
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1306
+ id?: `query_${string}` | undefined;
1307
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1308
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1309
+ queryId?: `query_${string}` | undefined;
1310
+ requestId?: number | null | undefined;
1311
+ secondaryAttribute?: {
1312
+ path: string;
1313
+ version: "v1";
1314
+ schema: keyof import("../index.js").VaultSchema;
1315
+ } | null | undefined;
1316
+ displayMode?: "amount" | "percentage" | null | undefined;
1317
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1318
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1319
+ }>, "many">;
1320
+ }, "strip", z.ZodTypeAny, {
1321
+ operator: "AND" | "OR";
1322
+ queries: {
1323
+ attribute: {
1324
+ path: string;
1325
+ version: "v1";
1326
+ schema: keyof import("../index.js").VaultSchema;
1327
+ };
1328
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1329
+ id?: `query_${string}` | undefined;
1330
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1331
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1332
+ queryId?: `query_${string}` | undefined;
1333
+ requestId?: number | null | undefined;
1334
+ secondaryAttribute?: {
1335
+ path: string;
1336
+ version: "v1";
1337
+ schema: keyof import("../index.js").VaultSchema;
1338
+ } | null | undefined;
1339
+ displayMode?: "amount" | "percentage" | null | undefined;
1340
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1341
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1342
+ }[];
1343
+ id?: `qgroup_${string}` | undefined;
1344
+ }, {
1345
+ operator: "AND" | "OR";
1346
+ queries: {
1347
+ attribute: {
1348
+ path: string;
1349
+ version: "v1";
1350
+ schema: keyof import("../index.js").VaultSchema;
1351
+ };
1352
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1353
+ id?: `query_${string}` | undefined;
1354
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1355
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1356
+ queryId?: `query_${string}` | undefined;
1357
+ requestId?: number | null | undefined;
1358
+ secondaryAttribute?: {
1359
+ path: string;
1360
+ version: "v1";
1361
+ schema: keyof import("../index.js").VaultSchema;
1362
+ } | null | undefined;
1363
+ displayMode?: "amount" | "percentage" | null | undefined;
1364
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1365
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1366
+ }[];
1367
+ id?: `qgroup_${string}` | undefined;
1368
+ }>, "many">;
1216
1369
  }, "strip", z.ZodTypeAny, {
1217
1370
  operator: "AND" | "OR";
1218
1371
  queries: {
@@ -1236,7 +1389,31 @@ export declare const AbbreviatedWorkflowScenario: z.ZodObject<Omit<{
1236
1389
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1237
1390
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1238
1391
  }[];
1239
- id?: `qgroup_${string}` | undefined;
1392
+ queryGroups: {
1393
+ operator: "AND" | "OR";
1394
+ queries: {
1395
+ attribute: {
1396
+ path: string;
1397
+ version: "v1";
1398
+ schema: keyof import("../index.js").VaultSchema;
1399
+ };
1400
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1401
+ id?: `query_${string}` | undefined;
1402
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1403
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1404
+ queryId?: `query_${string}` | undefined;
1405
+ requestId?: number | null | undefined;
1406
+ secondaryAttribute?: {
1407
+ path: string;
1408
+ version: "v1";
1409
+ schema: keyof import("../index.js").VaultSchema;
1410
+ } | null | undefined;
1411
+ displayMode?: "amount" | "percentage" | null | undefined;
1412
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1413
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1414
+ }[];
1415
+ id?: `qgroup_${string}` | undefined;
1416
+ }[];
1240
1417
  }, {
1241
1418
  operator: "AND" | "OR";
1242
1419
  queries: {
@@ -1260,8 +1437,32 @@ export declare const AbbreviatedWorkflowScenario: z.ZodObject<Omit<{
1260
1437
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1261
1438
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1262
1439
  }[];
1263
- id?: `qgroup_${string}` | undefined;
1264
- }>, "many">;
1440
+ queryGroups: {
1441
+ operator: "AND" | "OR";
1442
+ queries: {
1443
+ attribute: {
1444
+ path: string;
1445
+ version: "v1";
1446
+ schema: keyof import("../index.js").VaultSchema;
1447
+ };
1448
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1449
+ id?: `query_${string}` | undefined;
1450
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1451
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1452
+ queryId?: `query_${string}` | undefined;
1453
+ requestId?: number | null | undefined;
1454
+ secondaryAttribute?: {
1455
+ path: string;
1456
+ version: "v1";
1457
+ schema: keyof import("../index.js").VaultSchema;
1458
+ } | null | undefined;
1459
+ displayMode?: "amount" | "percentage" | null | undefined;
1460
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1461
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1462
+ }[];
1463
+ id?: `qgroup_${string}` | undefined;
1464
+ }[];
1465
+ }>;
1265
1466
  actions: z.ZodArray<z.ZodObject<{
1266
1467
  type: z.ZodEnum<["SET_CUSTOMER_RISK_LEVEL", "SET_CUSTOMER_STATUS", "SET_ALERT_RISK_LEVEL", "SET_TRANSACTION_RISK_LEVEL", "SET_TRANSACTION_STATUS", "ASSIGN_COMPLIANCE_OFFICER", "CREATE_ALERT", "ASSIGN_TAG", "BLOCK_ON_CHAIN_TRANSACTION"]>;
1267
1468
  trigger: z.ZodEnum<["ON_TRUE", "ON_FALSE", "ALWAYS"]>;
@@ -1281,113 +1482,315 @@ export declare const AbbreviatedWorkflowScenario: z.ZodObject<Omit<{
1281
1482
  type: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring", "TFHE", "BlockchainPolicies"]>;
1282
1483
  mode: z.ZodEnum<["INTERNAL", "EXTERNAL"]>;
1283
1484
  workspaceId: z.ZodString;
1284
- vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "IDInformationTfhe", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
1285
- }, "queries" | "vcsIncluded"> & {
1286
- queries: z.ZodArray<z.ZodObject<{
1287
- queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1288
- id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1289
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1290
- attribute: z.ZodObject<{
1291
- version: z.ZodEnum<["v1"]>;
1292
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1293
- path: z.ZodString;
1485
+ }, "primaryEvaluationMethod"> & {
1486
+ primaryEvaluationMethod: z.ZodObject<{
1487
+ queries: z.ZodArray<z.ZodObject<{
1488
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1489
+ id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1490
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1491
+ attribute: z.ZodObject<{
1492
+ version: z.ZodEnum<["v1"]>;
1493
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1494
+ path: z.ZodString;
1495
+ }, "strip", z.ZodTypeAny, {
1496
+ path: string;
1497
+ version: "v1";
1498
+ schema: keyof import("../index.js").VaultSchema;
1499
+ }, {
1500
+ path: string;
1501
+ version: "v1";
1502
+ schema: keyof import("../index.js").VaultSchema;
1503
+ }>;
1504
+ secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1505
+ version: z.ZodEnum<["v1"]>;
1506
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1507
+ path: z.ZodString;
1508
+ }, "strip", z.ZodTypeAny, {
1509
+ path: string;
1510
+ version: "v1";
1511
+ schema: keyof import("../index.js").VaultSchema;
1512
+ }, {
1513
+ path: string;
1514
+ version: "v1";
1515
+ schema: keyof import("../index.js").VaultSchema;
1516
+ }>>>;
1517
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
1518
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
1519
+ displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
1520
+ timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
1521
+ datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
1522
+ specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
1294
1523
  }, "strip", z.ZodTypeAny, {
1295
- path: string;
1296
- version: "v1";
1297
- schema: keyof import("../index.js").VaultSchema;
1524
+ attribute: {
1525
+ path: string;
1526
+ version: "v1";
1527
+ schema: keyof import("../index.js").VaultSchema;
1528
+ };
1529
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1530
+ id?: `query_${string}` | undefined;
1531
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1532
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1533
+ queryId?: `query_${string}` | undefined;
1534
+ requestId?: number | null | undefined;
1535
+ secondaryAttribute?: {
1536
+ path: string;
1537
+ version: "v1";
1538
+ schema: keyof import("../index.js").VaultSchema;
1539
+ } | null | undefined;
1540
+ displayMode?: "amount" | "percentage" | null | undefined;
1541
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1542
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1298
1543
  }, {
1299
- path: string;
1300
- version: "v1";
1301
- schema: keyof import("../index.js").VaultSchema;
1302
- }>;
1303
- secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1304
- version: z.ZodEnum<["v1"]>;
1305
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1306
- path: z.ZodString;
1544
+ attribute: {
1545
+ path: string;
1546
+ version: "v1";
1547
+ schema: keyof import("../index.js").VaultSchema;
1548
+ };
1549
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1550
+ id?: `query_${string}` | undefined;
1551
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1552
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1553
+ queryId?: `query_${string}` | undefined;
1554
+ requestId?: number | null | undefined;
1555
+ secondaryAttribute?: {
1556
+ path: string;
1557
+ version: "v1";
1558
+ schema: keyof import("../index.js").VaultSchema;
1559
+ } | null | undefined;
1560
+ displayMode?: "amount" | "percentage" | null | undefined;
1561
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1562
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1563
+ }>, "many">;
1564
+ queryGroups: z.ZodArray<z.ZodObject<{
1565
+ id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
1566
+ operator: z.ZodEnum<["AND", "OR"]>;
1567
+ queries: z.ZodArray<z.ZodObject<{
1568
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1569
+ id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1570
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1571
+ attribute: z.ZodObject<{
1572
+ version: z.ZodEnum<["v1"]>;
1573
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1574
+ path: z.ZodString;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ path: string;
1577
+ version: "v1";
1578
+ schema: keyof import("../index.js").VaultSchema;
1579
+ }, {
1580
+ path: string;
1581
+ version: "v1";
1582
+ schema: keyof import("../index.js").VaultSchema;
1583
+ }>;
1584
+ secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1585
+ version: z.ZodEnum<["v1"]>;
1586
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1587
+ path: z.ZodString;
1588
+ }, "strip", z.ZodTypeAny, {
1589
+ path: string;
1590
+ version: "v1";
1591
+ schema: keyof import("../index.js").VaultSchema;
1592
+ }, {
1593
+ path: string;
1594
+ version: "v1";
1595
+ schema: keyof import("../index.js").VaultSchema;
1596
+ }>>>;
1597
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
1598
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
1599
+ displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
1600
+ timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
1601
+ datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
1602
+ specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
1603
+ }, "strip", z.ZodTypeAny, {
1604
+ attribute: {
1605
+ path: string;
1606
+ version: "v1";
1607
+ schema: keyof import("../index.js").VaultSchema;
1608
+ };
1609
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1610
+ id?: `query_${string}` | undefined;
1611
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1612
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1613
+ queryId?: `query_${string}` | undefined;
1614
+ requestId?: number | null | undefined;
1615
+ secondaryAttribute?: {
1616
+ path: string;
1617
+ version: "v1";
1618
+ schema: keyof import("../index.js").VaultSchema;
1619
+ } | null | undefined;
1620
+ displayMode?: "amount" | "percentage" | null | undefined;
1621
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1622
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1623
+ }, {
1624
+ attribute: {
1625
+ path: string;
1626
+ version: "v1";
1627
+ schema: keyof import("../index.js").VaultSchema;
1628
+ };
1629
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1630
+ id?: `query_${string}` | undefined;
1631
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1632
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1633
+ queryId?: `query_${string}` | undefined;
1634
+ requestId?: number | null | undefined;
1635
+ secondaryAttribute?: {
1636
+ path: string;
1637
+ version: "v1";
1638
+ schema: keyof import("../index.js").VaultSchema;
1639
+ } | null | undefined;
1640
+ displayMode?: "amount" | "percentage" | null | undefined;
1641
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1642
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1643
+ }>, "many">;
1307
1644
  }, "strip", z.ZodTypeAny, {
1308
- path: string;
1309
- version: "v1";
1310
- schema: keyof import("../index.js").VaultSchema;
1645
+ operator: "AND" | "OR";
1646
+ queries: {
1647
+ attribute: {
1648
+ path: string;
1649
+ version: "v1";
1650
+ schema: keyof import("../index.js").VaultSchema;
1651
+ };
1652
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1653
+ id?: `query_${string}` | undefined;
1654
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1655
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1656
+ queryId?: `query_${string}` | undefined;
1657
+ requestId?: number | null | undefined;
1658
+ secondaryAttribute?: {
1659
+ path: string;
1660
+ version: "v1";
1661
+ schema: keyof import("../index.js").VaultSchema;
1662
+ } | null | undefined;
1663
+ displayMode?: "amount" | "percentage" | null | undefined;
1664
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1665
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1666
+ }[];
1667
+ id?: `qgroup_${string}` | undefined;
1311
1668
  }, {
1312
- path: string;
1313
- version: "v1";
1314
- schema: keyof import("../index.js").VaultSchema;
1315
- }>>>;
1316
- value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
1317
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
1318
- displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
1319
- timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
1320
- datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
1321
- specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
1669
+ operator: "AND" | "OR";
1670
+ queries: {
1671
+ attribute: {
1672
+ path: string;
1673
+ version: "v1";
1674
+ schema: keyof import("../index.js").VaultSchema;
1675
+ };
1676
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1677
+ id?: `query_${string}` | undefined;
1678
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1679
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1680
+ queryId?: `query_${string}` | undefined;
1681
+ requestId?: number | null | undefined;
1682
+ secondaryAttribute?: {
1683
+ path: string;
1684
+ version: "v1";
1685
+ schema: keyof import("../index.js").VaultSchema;
1686
+ } | null | undefined;
1687
+ displayMode?: "amount" | "percentage" | null | undefined;
1688
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1689
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1690
+ }[];
1691
+ id?: `qgroup_${string}` | undefined;
1692
+ }>, "many">;
1322
1693
  }, "strip", z.ZodTypeAny, {
1323
- attribute: {
1324
- path: string;
1325
- version: "v1";
1326
- schema: keyof import("../index.js").VaultSchema;
1327
- };
1328
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1329
- id?: `query_${string}` | undefined;
1330
- value?: string | number | boolean | string[] | number[] | null | undefined;
1331
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1332
- queryId?: `query_${string}` | undefined;
1333
- requestId?: number | null | undefined;
1334
- secondaryAttribute?: {
1335
- path: string;
1336
- version: "v1";
1337
- schema: keyof import("../index.js").VaultSchema;
1338
- } | null | undefined;
1339
- displayMode?: "amount" | "percentage" | null | undefined;
1340
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1341
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1694
+ queries: {
1695
+ attribute: {
1696
+ path: string;
1697
+ version: "v1";
1698
+ schema: keyof import("../index.js").VaultSchema;
1699
+ };
1700
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1701
+ id?: `query_${string}` | undefined;
1702
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1703
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1704
+ queryId?: `query_${string}` | undefined;
1705
+ requestId?: number | null | undefined;
1706
+ secondaryAttribute?: {
1707
+ path: string;
1708
+ version: "v1";
1709
+ schema: keyof import("../index.js").VaultSchema;
1710
+ } | null | undefined;
1711
+ displayMode?: "amount" | "percentage" | null | undefined;
1712
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1713
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1714
+ }[];
1715
+ queryGroups: {
1716
+ operator: "AND" | "OR";
1717
+ queries: {
1718
+ attribute: {
1719
+ path: string;
1720
+ version: "v1";
1721
+ schema: keyof import("../index.js").VaultSchema;
1722
+ };
1723
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1724
+ id?: `query_${string}` | undefined;
1725
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1726
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1727
+ queryId?: `query_${string}` | undefined;
1728
+ requestId?: number | null | undefined;
1729
+ secondaryAttribute?: {
1730
+ path: string;
1731
+ version: "v1";
1732
+ schema: keyof import("../index.js").VaultSchema;
1733
+ } | null | undefined;
1734
+ displayMode?: "amount" | "percentage" | null | undefined;
1735
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1736
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1737
+ }[];
1738
+ id?: `qgroup_${string}` | undefined;
1739
+ }[];
1342
1740
  }, {
1343
- attribute: {
1344
- path: string;
1345
- version: "v1";
1346
- schema: keyof import("../index.js").VaultSchema;
1347
- };
1348
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1349
- id?: `query_${string}` | undefined;
1350
- value?: string | number | boolean | string[] | number[] | null | undefined;
1351
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1352
- queryId?: `query_${string}` | undefined;
1353
- requestId?: number | null | undefined;
1354
- secondaryAttribute?: {
1355
- path: string;
1356
- version: "v1";
1357
- schema: keyof import("../index.js").VaultSchema;
1358
- } | null | undefined;
1359
- displayMode?: "amount" | "percentage" | null | undefined;
1360
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1361
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1362
- }>, "many">;
1741
+ queries: {
1742
+ attribute: {
1743
+ path: string;
1744
+ version: "v1";
1745
+ schema: keyof import("../index.js").VaultSchema;
1746
+ };
1747
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1748
+ id?: `query_${string}` | undefined;
1749
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1750
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1751
+ queryId?: `query_${string}` | undefined;
1752
+ requestId?: number | null | undefined;
1753
+ secondaryAttribute?: {
1754
+ path: string;
1755
+ version: "v1";
1756
+ schema: keyof import("../index.js").VaultSchema;
1757
+ } | null | undefined;
1758
+ displayMode?: "amount" | "percentage" | null | undefined;
1759
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1760
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1761
+ }[];
1762
+ queryGroups: {
1763
+ operator: "AND" | "OR";
1764
+ queries: {
1765
+ attribute: {
1766
+ path: string;
1767
+ version: "v1";
1768
+ schema: keyof import("../index.js").VaultSchema;
1769
+ };
1770
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1771
+ id?: `query_${string}` | undefined;
1772
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1773
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1774
+ queryId?: `query_${string}` | undefined;
1775
+ requestId?: number | null | undefined;
1776
+ secondaryAttribute?: {
1777
+ path: string;
1778
+ version: "v1";
1779
+ schema: keyof import("../index.js").VaultSchema;
1780
+ } | null | undefined;
1781
+ displayMode?: "amount" | "percentage" | null | undefined;
1782
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1783
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1784
+ }[];
1785
+ id?: `qgroup_${string}` | undefined;
1786
+ }[];
1787
+ }>;
1363
1788
  }, "strip", z.ZodTypeAny, {
1364
1789
  id: `scenario_${string}`;
1365
1790
  type: "TFHE" | "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring" | "BlockchainPolicies";
1366
1791
  name: string;
1367
1792
  workspaceId: string;
1368
- queries: {
1369
- attribute: {
1370
- path: string;
1371
- version: "v1";
1372
- schema: keyof import("../index.js").VaultSchema;
1373
- };
1374
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1375
- id?: `query_${string}` | undefined;
1376
- value?: string | number | boolean | string[] | number[] | null | undefined;
1377
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1378
- queryId?: `query_${string}` | undefined;
1379
- requestId?: number | null | undefined;
1380
- secondaryAttribute?: {
1381
- path: string;
1382
- version: "v1";
1383
- schema: keyof import("../index.js").VaultSchema;
1384
- } | null | undefined;
1385
- displayMode?: "amount" | "percentage" | null | undefined;
1386
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1387
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1388
- }[];
1389
- queryGroups: {
1390
- operator: "AND" | "OR";
1793
+ primaryEvaluationMethod: {
1391
1794
  queries: {
1392
1795
  attribute: {
1393
1796
  path: string;
@@ -1409,8 +1812,32 @@ export declare const AbbreviatedWorkflowScenario: z.ZodObject<Omit<{
1409
1812
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1410
1813
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1411
1814
  }[];
1412
- id?: `qgroup_${string}` | undefined;
1413
- }[];
1815
+ queryGroups: {
1816
+ operator: "AND" | "OR";
1817
+ queries: {
1818
+ attribute: {
1819
+ path: string;
1820
+ version: "v1";
1821
+ schema: keyof import("../index.js").VaultSchema;
1822
+ };
1823
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1824
+ id?: `query_${string}` | undefined;
1825
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1826
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1827
+ queryId?: `query_${string}` | undefined;
1828
+ requestId?: number | null | undefined;
1829
+ secondaryAttribute?: {
1830
+ path: string;
1831
+ version: "v1";
1832
+ schema: keyof import("../index.js").VaultSchema;
1833
+ } | null | undefined;
1834
+ displayMode?: "amount" | "percentage" | null | undefined;
1835
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1836
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1837
+ }[];
1838
+ id?: `qgroup_${string}` | undefined;
1839
+ }[];
1840
+ };
1414
1841
  actions: {
1415
1842
  value: string;
1416
1843
  type: "SET_CUSTOMER_RISK_LEVEL" | "SET_CUSTOMER_STATUS" | "SET_ALERT_RISK_LEVEL" | "SET_TRANSACTION_RISK_LEVEL" | "SET_TRANSACTION_STATUS" | "ASSIGN_COMPLIANCE_OFFICER" | "CREATE_ALERT" | "ASSIGN_TAG" | "BLOCK_ON_CHAIN_TRANSACTION";
@@ -1424,29 +1851,7 @@ export declare const AbbreviatedWorkflowScenario: z.ZodObject<Omit<{
1424
1851
  type: "TFHE" | "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring" | "BlockchainPolicies";
1425
1852
  name: string;
1426
1853
  workspaceId: string;
1427
- queries: {
1428
- attribute: {
1429
- path: string;
1430
- version: "v1";
1431
- schema: keyof import("../index.js").VaultSchema;
1432
- };
1433
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1434
- id?: `query_${string}` | undefined;
1435
- value?: string | number | boolean | string[] | number[] | null | undefined;
1436
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1437
- queryId?: `query_${string}` | undefined;
1438
- requestId?: number | null | undefined;
1439
- secondaryAttribute?: {
1440
- path: string;
1441
- version: "v1";
1442
- schema: keyof import("../index.js").VaultSchema;
1443
- } | null | undefined;
1444
- displayMode?: "amount" | "percentage" | null | undefined;
1445
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1446
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1447
- }[];
1448
- queryGroups: {
1449
- operator: "AND" | "OR";
1854
+ primaryEvaluationMethod: {
1450
1855
  queries: {
1451
1856
  attribute: {
1452
1857
  path: string;
@@ -1468,8 +1873,32 @@ export declare const AbbreviatedWorkflowScenario: z.ZodObject<Omit<{
1468
1873
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1469
1874
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1470
1875
  }[];
1471
- id?: `qgroup_${string}` | undefined;
1472
- }[];
1876
+ queryGroups: {
1877
+ operator: "AND" | "OR";
1878
+ queries: {
1879
+ attribute: {
1880
+ path: string;
1881
+ version: "v1";
1882
+ schema: keyof import("../index.js").VaultSchema;
1883
+ };
1884
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1885
+ id?: `query_${string}` | undefined;
1886
+ value?: string | number | boolean | string[] | number[] | null | undefined;
1887
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1888
+ queryId?: `query_${string}` | undefined;
1889
+ requestId?: number | null | undefined;
1890
+ secondaryAttribute?: {
1891
+ path: string;
1892
+ version: "v1";
1893
+ schema: keyof import("../index.js").VaultSchema;
1894
+ } | null | undefined;
1895
+ displayMode?: "amount" | "percentage" | null | undefined;
1896
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
1897
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1898
+ }[];
1899
+ id?: `qgroup_${string}` | undefined;
1900
+ }[];
1901
+ };
1473
1902
  actions: {
1474
1903
  value: string;
1475
1904
  type: "SET_CUSTOMER_RISK_LEVEL" | "SET_CUSTOMER_STATUS" | "SET_ALERT_RISK_LEVEL" | "SET_TRANSACTION_RISK_LEVEL" | "SET_TRANSACTION_STATUS" | "ASSIGN_COMPLIANCE_OFFICER" | "CREATE_ALERT" | "ASSIGN_TAG" | "BLOCK_ON_CHAIN_TRANSACTION";
@@ -1483,85 +1912,7 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1483
1912
  id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
1484
1913
  name: z.ZodString;
1485
1914
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1486
- queries: z.ZodArray<z.ZodObject<{
1487
- queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1488
- id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1489
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1490
- attribute: z.ZodObject<{
1491
- version: z.ZodEnum<["v1"]>;
1492
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1493
- path: z.ZodString;
1494
- }, "strip", z.ZodTypeAny, {
1495
- path: string;
1496
- version: "v1";
1497
- schema: keyof import("../index.js").VaultSchema;
1498
- }, {
1499
- path: string;
1500
- version: "v1";
1501
- schema: keyof import("../index.js").VaultSchema;
1502
- }>;
1503
- secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1504
- version: z.ZodEnum<["v1"]>;
1505
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1506
- path: z.ZodString;
1507
- }, "strip", z.ZodTypeAny, {
1508
- path: string;
1509
- version: "v1";
1510
- schema: keyof import("../index.js").VaultSchema;
1511
- }, {
1512
- path: string;
1513
- version: "v1";
1514
- schema: keyof import("../index.js").VaultSchema;
1515
- }>>>;
1516
- value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
1517
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
1518
- displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
1519
- timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
1520
- datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
1521
- specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
1522
- }, "strip", z.ZodTypeAny, {
1523
- attribute: {
1524
- path: string;
1525
- version: "v1";
1526
- schema: keyof import("../index.js").VaultSchema;
1527
- };
1528
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1529
- id?: `query_${string}` | undefined;
1530
- value?: string | number | boolean | string[] | number[] | null | undefined;
1531
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1532
- queryId?: `query_${string}` | undefined;
1533
- requestId?: number | null | undefined;
1534
- secondaryAttribute?: {
1535
- path: string;
1536
- version: "v1";
1537
- schema: keyof import("../index.js").VaultSchema;
1538
- } | null | undefined;
1539
- displayMode?: "amount" | "percentage" | null | undefined;
1540
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1541
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1542
- }, {
1543
- attribute: {
1544
- path: string;
1545
- version: "v1";
1546
- schema: keyof import("../index.js").VaultSchema;
1547
- };
1548
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1549
- id?: `query_${string}` | undefined;
1550
- value?: string | number | boolean | string[] | number[] | null | undefined;
1551
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1552
- queryId?: `query_${string}` | undefined;
1553
- requestId?: number | null | undefined;
1554
- secondaryAttribute?: {
1555
- path: string;
1556
- version: "v1";
1557
- schema: keyof import("../index.js").VaultSchema;
1558
- } | null | undefined;
1559
- displayMode?: "amount" | "percentage" | null | undefined;
1560
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1561
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1562
- }>, "many">;
1563
- queryGroups: z.ZodArray<z.ZodObject<{
1564
- id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
1915
+ primaryEvaluationMethod: z.ZodObject<{
1565
1916
  operator: z.ZodEnum<["AND", "OR"]>;
1566
1917
  queries: z.ZodArray<z.ZodObject<{
1567
1918
  queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
@@ -1640,6 +1991,135 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1640
1991
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1641
1992
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1642
1993
  }>, "many">;
1994
+ queryGroups: z.ZodArray<z.ZodObject<{
1995
+ id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
1996
+ operator: z.ZodEnum<["AND", "OR"]>;
1997
+ queries: z.ZodArray<z.ZodObject<{
1998
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1999
+ id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
2000
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2001
+ attribute: z.ZodObject<{
2002
+ version: z.ZodEnum<["v1"]>;
2003
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
2004
+ path: z.ZodString;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ path: string;
2007
+ version: "v1";
2008
+ schema: keyof import("../index.js").VaultSchema;
2009
+ }, {
2010
+ path: string;
2011
+ version: "v1";
2012
+ schema: keyof import("../index.js").VaultSchema;
2013
+ }>;
2014
+ secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2015
+ version: z.ZodEnum<["v1"]>;
2016
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
2017
+ path: z.ZodString;
2018
+ }, "strip", z.ZodTypeAny, {
2019
+ path: string;
2020
+ version: "v1";
2021
+ schema: keyof import("../index.js").VaultSchema;
2022
+ }, {
2023
+ path: string;
2024
+ version: "v1";
2025
+ schema: keyof import("../index.js").VaultSchema;
2026
+ }>>>;
2027
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
2028
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
2029
+ displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
2030
+ timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
2031
+ datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
2032
+ specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
2033
+ }, "strip", z.ZodTypeAny, {
2034
+ attribute: {
2035
+ path: string;
2036
+ version: "v1";
2037
+ schema: keyof import("../index.js").VaultSchema;
2038
+ };
2039
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2040
+ id?: `query_${string}` | undefined;
2041
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2042
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2043
+ queryId?: `query_${string}` | undefined;
2044
+ requestId?: number | null | undefined;
2045
+ secondaryAttribute?: {
2046
+ path: string;
2047
+ version: "v1";
2048
+ schema: keyof import("../index.js").VaultSchema;
2049
+ } | null | undefined;
2050
+ displayMode?: "amount" | "percentage" | null | undefined;
2051
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2052
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2053
+ }, {
2054
+ attribute: {
2055
+ path: string;
2056
+ version: "v1";
2057
+ schema: keyof import("../index.js").VaultSchema;
2058
+ };
2059
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2060
+ id?: `query_${string}` | undefined;
2061
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2062
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2063
+ queryId?: `query_${string}` | undefined;
2064
+ requestId?: number | null | undefined;
2065
+ secondaryAttribute?: {
2066
+ path: string;
2067
+ version: "v1";
2068
+ schema: keyof import("../index.js").VaultSchema;
2069
+ } | null | undefined;
2070
+ displayMode?: "amount" | "percentage" | null | undefined;
2071
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2072
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2073
+ }>, "many">;
2074
+ }, "strip", z.ZodTypeAny, {
2075
+ operator: "AND" | "OR";
2076
+ queries: {
2077
+ attribute: {
2078
+ path: string;
2079
+ version: "v1";
2080
+ schema: keyof import("../index.js").VaultSchema;
2081
+ };
2082
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2083
+ id?: `query_${string}` | undefined;
2084
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2085
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2086
+ queryId?: `query_${string}` | undefined;
2087
+ requestId?: number | null | undefined;
2088
+ secondaryAttribute?: {
2089
+ path: string;
2090
+ version: "v1";
2091
+ schema: keyof import("../index.js").VaultSchema;
2092
+ } | null | undefined;
2093
+ displayMode?: "amount" | "percentage" | null | undefined;
2094
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2095
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2096
+ }[];
2097
+ id?: `qgroup_${string}` | undefined;
2098
+ }, {
2099
+ operator: "AND" | "OR";
2100
+ queries: {
2101
+ attribute: {
2102
+ path: string;
2103
+ version: "v1";
2104
+ schema: keyof import("../index.js").VaultSchema;
2105
+ };
2106
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2107
+ id?: `query_${string}` | undefined;
2108
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2109
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2110
+ queryId?: `query_${string}` | undefined;
2111
+ requestId?: number | null | undefined;
2112
+ secondaryAttribute?: {
2113
+ path: string;
2114
+ version: "v1";
2115
+ schema: keyof import("../index.js").VaultSchema;
2116
+ } | null | undefined;
2117
+ displayMode?: "amount" | "percentage" | null | undefined;
2118
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2119
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2120
+ }[];
2121
+ id?: `qgroup_${string}` | undefined;
2122
+ }>, "many">;
1643
2123
  }, "strip", z.ZodTypeAny, {
1644
2124
  operator: "AND" | "OR";
1645
2125
  queries: {
@@ -1663,7 +2143,31 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1663
2143
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1664
2144
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1665
2145
  }[];
1666
- id?: `qgroup_${string}` | undefined;
2146
+ queryGroups: {
2147
+ operator: "AND" | "OR";
2148
+ queries: {
2149
+ attribute: {
2150
+ path: string;
2151
+ version: "v1";
2152
+ schema: keyof import("../index.js").VaultSchema;
2153
+ };
2154
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2155
+ id?: `query_${string}` | undefined;
2156
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2157
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2158
+ queryId?: `query_${string}` | undefined;
2159
+ requestId?: number | null | undefined;
2160
+ secondaryAttribute?: {
2161
+ path: string;
2162
+ version: "v1";
2163
+ schema: keyof import("../index.js").VaultSchema;
2164
+ } | null | undefined;
2165
+ displayMode?: "amount" | "percentage" | null | undefined;
2166
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2167
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2168
+ }[];
2169
+ id?: `qgroup_${string}` | undefined;
2170
+ }[];
1667
2171
  }, {
1668
2172
  operator: "AND" | "OR";
1669
2173
  queries: {
@@ -1687,8 +2191,32 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1687
2191
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1688
2192
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1689
2193
  }[];
1690
- id?: `qgroup_${string}` | undefined;
1691
- }>, "many">;
2194
+ queryGroups: {
2195
+ operator: "AND" | "OR";
2196
+ queries: {
2197
+ attribute: {
2198
+ path: string;
2199
+ version: "v1";
2200
+ schema: keyof import("../index.js").VaultSchema;
2201
+ };
2202
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2203
+ id?: `query_${string}` | undefined;
2204
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2205
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2206
+ queryId?: `query_${string}` | undefined;
2207
+ requestId?: number | null | undefined;
2208
+ secondaryAttribute?: {
2209
+ path: string;
2210
+ version: "v1";
2211
+ schema: keyof import("../index.js").VaultSchema;
2212
+ } | null | undefined;
2213
+ displayMode?: "amount" | "percentage" | null | undefined;
2214
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2215
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2216
+ }[];
2217
+ id?: `qgroup_${string}` | undefined;
2218
+ }[];
2219
+ }>;
1692
2220
  actions: z.ZodArray<z.ZodObject<{
1693
2221
  type: z.ZodEnum<["SET_CUSTOMER_RISK_LEVEL", "SET_CUSTOMER_STATUS", "SET_ALERT_RISK_LEVEL", "SET_TRANSACTION_RISK_LEVEL", "SET_TRANSACTION_STATUS", "ASSIGN_COMPLIANCE_OFFICER", "CREATE_ALERT", "ASSIGN_TAG", "BLOCK_ON_CHAIN_TRANSACTION"]>;
1694
2222
  trigger: z.ZodEnum<["ON_TRUE", "ON_FALSE", "ALWAYS"]>;
@@ -1708,33 +2236,11 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1708
2236
  type: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring", "TFHE", "BlockchainPolicies"]>;
1709
2237
  mode: z.ZodEnum<["INTERNAL", "EXTERNAL"]>;
1710
2238
  workspaceId: z.ZodString;
1711
- vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "IDInformationTfhe", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
1712
2239
  }, "workspaceId">, "strip", z.ZodTypeAny, {
1713
2240
  id: `scenario_${string}`;
1714
2241
  type: "TFHE" | "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring" | "BlockchainPolicies";
1715
2242
  name: string;
1716
- queries: {
1717
- attribute: {
1718
- path: string;
1719
- version: "v1";
1720
- schema: keyof import("../index.js").VaultSchema;
1721
- };
1722
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1723
- id?: `query_${string}` | undefined;
1724
- value?: string | number | boolean | string[] | number[] | null | undefined;
1725
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1726
- queryId?: `query_${string}` | undefined;
1727
- requestId?: number | null | undefined;
1728
- secondaryAttribute?: {
1729
- path: string;
1730
- version: "v1";
1731
- schema: keyof import("../index.js").VaultSchema;
1732
- } | null | undefined;
1733
- displayMode?: "amount" | "percentage" | null | undefined;
1734
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1735
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1736
- }[];
1737
- queryGroups: {
2243
+ primaryEvaluationMethod: {
1738
2244
  operator: "AND" | "OR";
1739
2245
  queries: {
1740
2246
  attribute: {
@@ -1757,8 +2263,32 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1757
2263
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1758
2264
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1759
2265
  }[];
1760
- id?: `qgroup_${string}` | undefined;
1761
- }[];
2266
+ queryGroups: {
2267
+ operator: "AND" | "OR";
2268
+ queries: {
2269
+ attribute: {
2270
+ path: string;
2271
+ version: "v1";
2272
+ schema: keyof import("../index.js").VaultSchema;
2273
+ };
2274
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2275
+ id?: `query_${string}` | undefined;
2276
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2277
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2278
+ queryId?: `query_${string}` | undefined;
2279
+ requestId?: number | null | undefined;
2280
+ secondaryAttribute?: {
2281
+ path: string;
2282
+ version: "v1";
2283
+ schema: keyof import("../index.js").VaultSchema;
2284
+ } | null | undefined;
2285
+ displayMode?: "amount" | "percentage" | null | undefined;
2286
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2287
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2288
+ }[];
2289
+ id?: `qgroup_${string}` | undefined;
2290
+ }[];
2291
+ };
1762
2292
  actions: {
1763
2293
  value: string;
1764
2294
  type: "SET_CUSTOMER_RISK_LEVEL" | "SET_CUSTOMER_STATUS" | "SET_ALERT_RISK_LEVEL" | "SET_TRANSACTION_RISK_LEVEL" | "SET_TRANSACTION_STATUS" | "ASSIGN_COMPLIANCE_OFFICER" | "CREATE_ALERT" | "ASSIGN_TAG" | "BLOCK_ON_CHAIN_TRANSACTION";
@@ -1767,33 +2297,11 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1767
2297
  }[];
1768
2298
  mode: "INTERNAL" | "EXTERNAL";
1769
2299
  description?: string | null | undefined;
1770
- vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "IDInformationTfhe" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
1771
2300
  }, {
1772
2301
  id: `scenario_${string}`;
1773
2302
  type: "TFHE" | "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring" | "BlockchainPolicies";
1774
2303
  name: string;
1775
- queries: {
1776
- attribute: {
1777
- path: string;
1778
- version: "v1";
1779
- schema: keyof import("../index.js").VaultSchema;
1780
- };
1781
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1782
- id?: `query_${string}` | undefined;
1783
- value?: string | number | boolean | string[] | number[] | null | undefined;
1784
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1785
- queryId?: `query_${string}` | undefined;
1786
- requestId?: number | null | undefined;
1787
- secondaryAttribute?: {
1788
- path: string;
1789
- version: "v1";
1790
- schema: keyof import("../index.js").VaultSchema;
1791
- } | null | undefined;
1792
- displayMode?: "amount" | "percentage" | null | undefined;
1793
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1794
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1795
- }[];
1796
- queryGroups: {
2304
+ primaryEvaluationMethod: {
1797
2305
  operator: "AND" | "OR";
1798
2306
  queries: {
1799
2307
  attribute: {
@@ -1816,8 +2324,32 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1816
2324
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1817
2325
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1818
2326
  }[];
1819
- id?: `qgroup_${string}` | undefined;
1820
- }[];
2327
+ queryGroups: {
2328
+ operator: "AND" | "OR";
2329
+ queries: {
2330
+ attribute: {
2331
+ path: string;
2332
+ version: "v1";
2333
+ schema: keyof import("../index.js").VaultSchema;
2334
+ };
2335
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2336
+ id?: `query_${string}` | undefined;
2337
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2338
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2339
+ queryId?: `query_${string}` | undefined;
2340
+ requestId?: number | null | undefined;
2341
+ secondaryAttribute?: {
2342
+ path: string;
2343
+ version: "v1";
2344
+ schema: keyof import("../index.js").VaultSchema;
2345
+ } | null | undefined;
2346
+ displayMode?: "amount" | "percentage" | null | undefined;
2347
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2348
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2349
+ }[];
2350
+ id?: `qgroup_${string}` | undefined;
2351
+ }[];
2352
+ };
1821
2353
  actions: {
1822
2354
  value: string;
1823
2355
  type: "SET_CUSTOMER_RISK_LEVEL" | "SET_CUSTOMER_STATUS" | "SET_ALERT_RISK_LEVEL" | "SET_TRANSACTION_RISK_LEVEL" | "SET_TRANSACTION_STATUS" | "ASSIGN_COMPLIANCE_OFFICER" | "CREATE_ALERT" | "ASSIGN_TAG" | "BLOCK_ON_CHAIN_TRANSACTION";
@@ -1826,91 +2358,12 @@ export declare const TemplateScenario: z.ZodObject<Omit<{
1826
2358
  }[];
1827
2359
  mode: "INTERNAL" | "EXTERNAL";
1828
2360
  description?: string | null | undefined;
1829
- vcsIncluded?: string[] | null | undefined;
1830
2361
  }>;
1831
2362
  export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
1832
2363
  id: z.ZodType<`scenario_${string}`, z.ZodTypeDef, `scenario_${string}`>;
1833
2364
  name: z.ZodString;
1834
2365
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1835
- queries: z.ZodArray<z.ZodObject<{
1836
- queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1837
- id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
1838
- requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1839
- attribute: z.ZodObject<{
1840
- version: z.ZodEnum<["v1"]>;
1841
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1842
- path: z.ZodString;
1843
- }, "strip", z.ZodTypeAny, {
1844
- path: string;
1845
- version: "v1";
1846
- schema: keyof import("../index.js").VaultSchema;
1847
- }, {
1848
- path: string;
1849
- version: "v1";
1850
- schema: keyof import("../index.js").VaultSchema;
1851
- }>;
1852
- secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1853
- version: z.ZodEnum<["v1"]>;
1854
- schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
1855
- path: z.ZodString;
1856
- }, "strip", z.ZodTypeAny, {
1857
- path: string;
1858
- version: "v1";
1859
- schema: keyof import("../index.js").VaultSchema;
1860
- }, {
1861
- path: string;
1862
- version: "v1";
1863
- schema: keyof import("../index.js").VaultSchema;
1864
- }>>>;
1865
- value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
1866
- operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
1867
- displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
1868
- timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
1869
- datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
1870
- specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
1871
- }, "strip", z.ZodTypeAny, {
1872
- attribute: {
1873
- path: string;
1874
- version: "v1";
1875
- schema: keyof import("../index.js").VaultSchema;
1876
- };
1877
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1878
- id?: `query_${string}` | undefined;
1879
- value?: string | number | boolean | string[] | number[] | null | undefined;
1880
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1881
- queryId?: `query_${string}` | undefined;
1882
- requestId?: number | null | undefined;
1883
- secondaryAttribute?: {
1884
- path: string;
1885
- version: "v1";
1886
- schema: keyof import("../index.js").VaultSchema;
1887
- } | null | undefined;
1888
- displayMode?: "amount" | "percentage" | null | undefined;
1889
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1890
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1891
- }, {
1892
- attribute: {
1893
- path: string;
1894
- version: "v1";
1895
- schema: keyof import("../index.js").VaultSchema;
1896
- };
1897
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
1898
- id?: `query_${string}` | undefined;
1899
- value?: string | number | boolean | string[] | number[] | null | undefined;
1900
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
1901
- queryId?: `query_${string}` | undefined;
1902
- requestId?: number | null | undefined;
1903
- secondaryAttribute?: {
1904
- path: string;
1905
- version: "v1";
1906
- schema: keyof import("../index.js").VaultSchema;
1907
- } | null | undefined;
1908
- displayMode?: "amount" | "percentage" | null | undefined;
1909
- datasetColumnId?: `datasetc_${string}` | null | undefined;
1910
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1911
- }>, "many">;
1912
- queryGroups: z.ZodArray<z.ZodObject<{
1913
- id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
2366
+ primaryEvaluationMethod: z.ZodObject<{
1914
2367
  operator: z.ZodEnum<["AND", "OR"]>;
1915
2368
  queries: z.ZodArray<z.ZodObject<{
1916
2369
  queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
@@ -1989,6 +2442,135 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
1989
2442
  datasetColumnId?: `datasetc_${string}` | null | undefined;
1990
2443
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
1991
2444
  }>, "many">;
2445
+ queryGroups: z.ZodArray<z.ZodObject<{
2446
+ id: z.ZodOptional<z.ZodType<`qgroup_${string}`, z.ZodTypeDef, `qgroup_${string}`>>;
2447
+ operator: z.ZodEnum<["AND", "OR"]>;
2448
+ queries: z.ZodArray<z.ZodObject<{
2449
+ queryId: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
2450
+ id: z.ZodOptional<z.ZodType<`query_${string}`, z.ZodTypeDef, `query_${string}`>>;
2451
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2452
+ attribute: z.ZodObject<{
2453
+ version: z.ZodEnum<["v1"]>;
2454
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
2455
+ path: z.ZodString;
2456
+ }, "strip", z.ZodTypeAny, {
2457
+ path: string;
2458
+ version: "v1";
2459
+ schema: keyof import("../index.js").VaultSchema;
2460
+ }, {
2461
+ path: string;
2462
+ version: "v1";
2463
+ schema: keyof import("../index.js").VaultSchema;
2464
+ }>;
2465
+ secondaryAttribute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2466
+ version: z.ZodEnum<["v1"]>;
2467
+ schema: z.ZodEnum<[keyof import("../index.js").VaultSchema, ...(keyof import("../index.js").VaultSchema)[]]>;
2468
+ path: z.ZodString;
2469
+ }, "strip", z.ZodTypeAny, {
2470
+ path: string;
2471
+ version: "v1";
2472
+ schema: keyof import("../index.js").VaultSchema;
2473
+ }, {
2474
+ path: string;
2475
+ version: "v1";
2476
+ schema: keyof import("../index.js").VaultSchema;
2477
+ }>>>;
2478
+ value: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodNumber, "many">]>>>;
2479
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne", "$exists", "$has", "$nhas"]>;
2480
+ displayMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["amount", "percentage"]>>>;
2481
+ timeframe: z.ZodOptional<z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>>;
2482
+ datasetColumnId: z.ZodOptional<z.ZodNullable<z.ZodType<`datasetc_${string}`, z.ZodTypeDef, `datasetc_${string}`>>>;
2483
+ specialDataSetType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACTIVE_USERS_ADDRESSES"]>>>;
2484
+ }, "strip", z.ZodTypeAny, {
2485
+ attribute: {
2486
+ path: string;
2487
+ version: "v1";
2488
+ schema: keyof import("../index.js").VaultSchema;
2489
+ };
2490
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2491
+ id?: `query_${string}` | undefined;
2492
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2493
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2494
+ queryId?: `query_${string}` | undefined;
2495
+ requestId?: number | null | undefined;
2496
+ secondaryAttribute?: {
2497
+ path: string;
2498
+ version: "v1";
2499
+ schema: keyof import("../index.js").VaultSchema;
2500
+ } | null | undefined;
2501
+ displayMode?: "amount" | "percentage" | null | undefined;
2502
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2503
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2504
+ }, {
2505
+ attribute: {
2506
+ path: string;
2507
+ version: "v1";
2508
+ schema: keyof import("../index.js").VaultSchema;
2509
+ };
2510
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2511
+ id?: `query_${string}` | undefined;
2512
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2513
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2514
+ queryId?: `query_${string}` | undefined;
2515
+ requestId?: number | null | undefined;
2516
+ secondaryAttribute?: {
2517
+ path: string;
2518
+ version: "v1";
2519
+ schema: keyof import("../index.js").VaultSchema;
2520
+ } | null | undefined;
2521
+ displayMode?: "amount" | "percentage" | null | undefined;
2522
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2523
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2524
+ }>, "many">;
2525
+ }, "strip", z.ZodTypeAny, {
2526
+ operator: "AND" | "OR";
2527
+ queries: {
2528
+ attribute: {
2529
+ path: string;
2530
+ version: "v1";
2531
+ schema: keyof import("../index.js").VaultSchema;
2532
+ };
2533
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2534
+ id?: `query_${string}` | undefined;
2535
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2536
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2537
+ queryId?: `query_${string}` | undefined;
2538
+ requestId?: number | null | undefined;
2539
+ secondaryAttribute?: {
2540
+ path: string;
2541
+ version: "v1";
2542
+ schema: keyof import("../index.js").VaultSchema;
2543
+ } | null | undefined;
2544
+ displayMode?: "amount" | "percentage" | null | undefined;
2545
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2546
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2547
+ }[];
2548
+ id?: `qgroup_${string}` | undefined;
2549
+ }, {
2550
+ operator: "AND" | "OR";
2551
+ queries: {
2552
+ attribute: {
2553
+ path: string;
2554
+ version: "v1";
2555
+ schema: keyof import("../index.js").VaultSchema;
2556
+ };
2557
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2558
+ id?: `query_${string}` | undefined;
2559
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2560
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2561
+ queryId?: `query_${string}` | undefined;
2562
+ requestId?: number | null | undefined;
2563
+ secondaryAttribute?: {
2564
+ path: string;
2565
+ version: "v1";
2566
+ schema: keyof import("../index.js").VaultSchema;
2567
+ } | null | undefined;
2568
+ displayMode?: "amount" | "percentage" | null | undefined;
2569
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2570
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2571
+ }[];
2572
+ id?: `qgroup_${string}` | undefined;
2573
+ }>, "many">;
1992
2574
  }, "strip", z.ZodTypeAny, {
1993
2575
  operator: "AND" | "OR";
1994
2576
  queries: {
@@ -2012,7 +2594,31 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
2012
2594
  datasetColumnId?: `datasetc_${string}` | null | undefined;
2013
2595
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2014
2596
  }[];
2015
- id?: `qgroup_${string}` | undefined;
2597
+ queryGroups: {
2598
+ operator: "AND" | "OR";
2599
+ queries: {
2600
+ attribute: {
2601
+ path: string;
2602
+ version: "v1";
2603
+ schema: keyof import("../index.js").VaultSchema;
2604
+ };
2605
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2606
+ id?: `query_${string}` | undefined;
2607
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2608
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2609
+ queryId?: `query_${string}` | undefined;
2610
+ requestId?: number | null | undefined;
2611
+ secondaryAttribute?: {
2612
+ path: string;
2613
+ version: "v1";
2614
+ schema: keyof import("../index.js").VaultSchema;
2615
+ } | null | undefined;
2616
+ displayMode?: "amount" | "percentage" | null | undefined;
2617
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2618
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2619
+ }[];
2620
+ id?: `qgroup_${string}` | undefined;
2621
+ }[];
2016
2622
  }, {
2017
2623
  operator: "AND" | "OR";
2018
2624
  queries: {
@@ -2036,8 +2642,32 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
2036
2642
  datasetColumnId?: `datasetc_${string}` | null | undefined;
2037
2643
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2038
2644
  }[];
2039
- id?: `qgroup_${string}` | undefined;
2040
- }>, "many">;
2645
+ queryGroups: {
2646
+ operator: "AND" | "OR";
2647
+ queries: {
2648
+ attribute: {
2649
+ path: string;
2650
+ version: "v1";
2651
+ schema: keyof import("../index.js").VaultSchema;
2652
+ };
2653
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2654
+ id?: `query_${string}` | undefined;
2655
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2656
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2657
+ queryId?: `query_${string}` | undefined;
2658
+ requestId?: number | null | undefined;
2659
+ secondaryAttribute?: {
2660
+ path: string;
2661
+ version: "v1";
2662
+ schema: keyof import("../index.js").VaultSchema;
2663
+ } | null | undefined;
2664
+ displayMode?: "amount" | "percentage" | null | undefined;
2665
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2666
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2667
+ }[];
2668
+ id?: `qgroup_${string}` | undefined;
2669
+ }[];
2670
+ }>;
2041
2671
  actions: z.ZodArray<z.ZodObject<{
2042
2672
  type: z.ZodEnum<["SET_CUSTOMER_RISK_LEVEL", "SET_CUSTOMER_STATUS", "SET_ALERT_RISK_LEVEL", "SET_TRANSACTION_RISK_LEVEL", "SET_TRANSACTION_STATUS", "ASSIGN_COMPLIANCE_OFFICER", "CREATE_ALERT", "ASSIGN_TAG", "BLOCK_ON_CHAIN_TRANSACTION"]>;
2043
2673
  trigger: z.ZodEnum<["ON_TRUE", "ON_FALSE", "ALWAYS"]>;
@@ -2057,34 +2687,12 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
2057
2687
  type: z.ZodEnum<["PrivacyPreservingMonitoring", "IndividualMonitoring", "TransactionMonitoring", "TFHE", "BlockchainPolicies"]>;
2058
2688
  mode: z.ZodEnum<["INTERNAL", "EXTERNAL"]>;
2059
2689
  workspaceId: z.ZodString;
2060
- vcsIncluded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["AMLScreeningsResults", "ProofOfResidence", "SelfieImage", "IDImage", "IDInformation", "IDInformationTfhe", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>>, "many">>>;
2061
2690
  }, "workspaceId">, "id"> & {
2062
2691
  entityType: z.ZodOptional<z.ZodEnum<["individual", "company", "transaction"]>>;
2063
2692
  }, "strip", z.ZodTypeAny, {
2064
2693
  type: "TFHE" | "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring" | "BlockchainPolicies";
2065
2694
  name: string;
2066
- queries: {
2067
- attribute: {
2068
- path: string;
2069
- version: "v1";
2070
- schema: keyof import("../index.js").VaultSchema;
2071
- };
2072
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2073
- id?: `query_${string}` | undefined;
2074
- value?: string | number | boolean | string[] | number[] | null | undefined;
2075
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2076
- queryId?: `query_${string}` | undefined;
2077
- requestId?: number | null | undefined;
2078
- secondaryAttribute?: {
2079
- path: string;
2080
- version: "v1";
2081
- schema: keyof import("../index.js").VaultSchema;
2082
- } | null | undefined;
2083
- displayMode?: "amount" | "percentage" | null | undefined;
2084
- datasetColumnId?: `datasetc_${string}` | null | undefined;
2085
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2086
- }[];
2087
- queryGroups: {
2695
+ primaryEvaluationMethod: {
2088
2696
  operator: "AND" | "OR";
2089
2697
  queries: {
2090
2698
  attribute: {
@@ -2107,8 +2715,32 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
2107
2715
  datasetColumnId?: `datasetc_${string}` | null | undefined;
2108
2716
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2109
2717
  }[];
2110
- id?: `qgroup_${string}` | undefined;
2111
- }[];
2718
+ queryGroups: {
2719
+ operator: "AND" | "OR";
2720
+ queries: {
2721
+ attribute: {
2722
+ path: string;
2723
+ version: "v1";
2724
+ schema: keyof import("../index.js").VaultSchema;
2725
+ };
2726
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2727
+ id?: `query_${string}` | undefined;
2728
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2729
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2730
+ queryId?: `query_${string}` | undefined;
2731
+ requestId?: number | null | undefined;
2732
+ secondaryAttribute?: {
2733
+ path: string;
2734
+ version: "v1";
2735
+ schema: keyof import("../index.js").VaultSchema;
2736
+ } | null | undefined;
2737
+ displayMode?: "amount" | "percentage" | null | undefined;
2738
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2739
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2740
+ }[];
2741
+ id?: `qgroup_${string}` | undefined;
2742
+ }[];
2743
+ };
2112
2744
  actions: {
2113
2745
  value: string;
2114
2746
  type: "SET_CUSTOMER_RISK_LEVEL" | "SET_CUSTOMER_STATUS" | "SET_ALERT_RISK_LEVEL" | "SET_TRANSACTION_RISK_LEVEL" | "SET_TRANSACTION_STATUS" | "ASSIGN_COMPLIANCE_OFFICER" | "CREATE_ALERT" | "ASSIGN_TAG" | "BLOCK_ON_CHAIN_TRANSACTION";
@@ -2118,32 +2750,10 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
2118
2750
  mode: "INTERNAL" | "EXTERNAL";
2119
2751
  description?: string | null | undefined;
2120
2752
  entityType?: "transaction" | "individual" | "company" | undefined;
2121
- vcsIncluded?: ("AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "IDInformationTfhe" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport")[] | null | undefined;
2122
2753
  }, {
2123
2754
  type: "TFHE" | "PrivacyPreservingMonitoring" | "IndividualMonitoring" | "TransactionMonitoring" | "BlockchainPolicies";
2124
2755
  name: string;
2125
- queries: {
2126
- attribute: {
2127
- path: string;
2128
- version: "v1";
2129
- schema: keyof import("../index.js").VaultSchema;
2130
- };
2131
- operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2132
- id?: `query_${string}` | undefined;
2133
- value?: string | number | boolean | string[] | number[] | null | undefined;
2134
- timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2135
- queryId?: `query_${string}` | undefined;
2136
- requestId?: number | null | undefined;
2137
- secondaryAttribute?: {
2138
- path: string;
2139
- version: "v1";
2140
- schema: keyof import("../index.js").VaultSchema;
2141
- } | null | undefined;
2142
- displayMode?: "amount" | "percentage" | null | undefined;
2143
- datasetColumnId?: `datasetc_${string}` | null | undefined;
2144
- specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2145
- }[];
2146
- queryGroups: {
2756
+ primaryEvaluationMethod: {
2147
2757
  operator: "AND" | "OR";
2148
2758
  queries: {
2149
2759
  attribute: {
@@ -2166,8 +2776,32 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
2166
2776
  datasetColumnId?: `datasetc_${string}` | null | undefined;
2167
2777
  specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2168
2778
  }[];
2169
- id?: `qgroup_${string}` | undefined;
2170
- }[];
2779
+ queryGroups: {
2780
+ operator: "AND" | "OR";
2781
+ queries: {
2782
+ attribute: {
2783
+ path: string;
2784
+ version: "v1";
2785
+ schema: keyof import("../index.js").VaultSchema;
2786
+ };
2787
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne" | "$exists" | "$has" | "$nhas";
2788
+ id?: `query_${string}` | undefined;
2789
+ value?: string | number | boolean | string[] | number[] | null | undefined;
2790
+ timeframe?: "daily" | "weekly" | "monthly" | "yearly" | null | undefined;
2791
+ queryId?: `query_${string}` | undefined;
2792
+ requestId?: number | null | undefined;
2793
+ secondaryAttribute?: {
2794
+ path: string;
2795
+ version: "v1";
2796
+ schema: keyof import("../index.js").VaultSchema;
2797
+ } | null | undefined;
2798
+ displayMode?: "amount" | "percentage" | null | undefined;
2799
+ datasetColumnId?: `datasetc_${string}` | null | undefined;
2800
+ specialDataSetType?: "ACTIVE_USERS_ADDRESSES" | null | undefined;
2801
+ }[];
2802
+ id?: `qgroup_${string}` | undefined;
2803
+ }[];
2804
+ };
2171
2805
  actions: {
2172
2806
  value: string;
2173
2807
  type: "SET_CUSTOMER_RISK_LEVEL" | "SET_CUSTOMER_STATUS" | "SET_ALERT_RISK_LEVEL" | "SET_TRANSACTION_RISK_LEVEL" | "SET_TRANSACTION_STATUS" | "ASSIGN_COMPLIANCE_OFFICER" | "CREATE_ALERT" | "ASSIGN_TAG" | "BLOCK_ON_CHAIN_TRANSACTION";
@@ -2177,7 +2811,6 @@ export declare const CreateTemplateScenario: z.ZodObject<Omit<Omit<{
2177
2811
  mode: "INTERNAL" | "EXTERNAL";
2178
2812
  description?: string | null | undefined;
2179
2813
  entityType?: "transaction" | "individual" | "company" | undefined;
2180
- vcsIncluded?: string[] | null | undefined;
2181
2814
  }>;
2182
2815
  export type SimplifiedScenario = z.infer<typeof SimplifiedScenario>;
2183
2816
  export type AbbreviatedWorkflowScenario = z.infer<typeof AbbreviatedWorkflowScenario>;