wapi-client 0.12.0-beta.0 → 0.12.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/ws-client.cjs +1 -1
- package/dist/api/ws-client.js +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.js +1 -1
- package/dist/db/consts.browser.cjs +8 -1
- package/dist/db/consts.browser.js +8 -1
- package/dist/db/consts.cjs +8 -1
- package/dist/db/consts.d.ts +1 -1
- package/dist/db/consts.js +8 -1
- package/dist/fns/consts.browser.cjs +5 -0
- package/dist/fns/consts.browser.js +5 -0
- package/dist/fns/consts.cjs +6 -0
- package/dist/fns/consts.d.ts +1 -0
- package/dist/fns/consts.js +5 -0
- package/dist/fns/create-deposit/create-deposit.browser.cjs +1 -0
- package/dist/fns/create-deposit/create-deposit.browser.js +2 -0
- package/dist/fns/create-deposit/create-deposit.cjs +1 -0
- package/dist/fns/create-deposit/create-deposit.js +2 -0
- package/dist/fns/create-deposit/create-deposit.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-deposit/create-deposit.schema.zod.browser.js +5 -2
- package/dist/fns/create-deposit/create-deposit.schema.zod.cjs +1 -1
- package/dist/fns/create-deposit/create-deposit.schema.zod.d.ts +6 -6
- package/dist/fns/create-deposit/create-deposit.schema.zod.js +5 -2
- package/dist/fns/create-transfer/create-transfer.browser.cjs +1 -1
- package/dist/fns/create-transfer/create-transfer.browser.js +2 -1
- package/dist/fns/create-transfer/create-transfer.cjs +1 -1
- package/dist/fns/create-transfer/create-transfer.js +2 -1
- package/dist/fns/create-transfer/create-transfer.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-transfer/create-transfer.schema.zod.browser.js +5 -2
- package/dist/fns/create-transfer/create-transfer.schema.zod.cjs +1 -1
- package/dist/fns/create-transfer/create-transfer.schema.zod.d.ts +30 -30
- package/dist/fns/create-transfer/create-transfer.schema.zod.js +5 -2
- package/dist/fns/create-transfer-group/create-transfer-group.schema.zod.d.ts +48 -48
- package/dist/fns/create-transfers/create-transfers.schema.zod.d.ts +15 -15
- package/dist/fns/create-withdrawal/create-withdrawal.browser.cjs +1 -0
- package/dist/fns/create-withdrawal/create-withdrawal.browser.js +2 -0
- package/dist/fns/create-withdrawal/create-withdrawal.cjs +1 -0
- package/dist/fns/create-withdrawal/create-withdrawal.js +2 -0
- package/dist/fns/create-withdrawal/create-withdrawal.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-withdrawal/create-withdrawal.schema.zod.browser.js +5 -2
- package/dist/fns/create-withdrawal/create-withdrawal.schema.zod.cjs +1 -1
- package/dist/fns/create-withdrawal/create-withdrawal.schema.zod.d.ts +6 -6
- package/dist/fns/create-withdrawal/create-withdrawal.schema.zod.js +5 -2
- package/dist/fns/healthcheck/healthcheck.schema.zod.d.ts +3 -0
- package/dist/fns/import-data/import-data.schema.zod.d.ts +186 -186
- package/dist/fns/index.d.ts +93 -93
- package/dist/lib/utils.browser.cjs +7 -0
- package/dist/lib/utils.browser.js +7 -0
- package/dist/lib/utils.cjs +8 -0
- package/dist/lib/utils.d.ts +1 -0
- package/dist/lib/utils.js +7 -0
- package/dist/txs/consts.browser.cjs +2 -2
- package/dist/txs/consts.browser.js +2 -2
- package/dist/txs/consts.cjs +2 -2
- package/dist/txs/consts.js +2 -2
- package/dist/txs/healthcheck/healthcheck.schema.zod.browser.cjs +2 -1
- package/dist/txs/healthcheck/healthcheck.schema.zod.browser.js +2 -1
- package/dist/txs/healthcheck/healthcheck.schema.zod.cjs +2 -1
- package/dist/txs/healthcheck/healthcheck.schema.zod.d.ts +3 -0
- package/dist/txs/healthcheck/healthcheck.schema.zod.js +2 -1
- package/dist/txs/index.d.ts +1 -1
- package/dist/txs/reset-database/reset-database.schema.zod.d.ts +2 -2
- package/dist/types/index.d.ts +396 -388
- package/dist/wapi-client-web.iife.js +1 -1
- package/dist/wapi-client.iife.js +1 -1
- package/package.json +1 -1
package/dist/fns/index.d.ts
CHANGED
|
@@ -524,7 +524,7 @@ export declare const ClientValidators: {
|
|
|
524
524
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
525
525
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
526
526
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
527
|
-
amount: import("zod").ZodNumber
|
|
527
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
528
528
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
529
529
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
530
530
|
}, {
|
|
@@ -545,7 +545,7 @@ export declare const ClientValidators: {
|
|
|
545
545
|
return_balance?: boolean | undefined;
|
|
546
546
|
}>>;
|
|
547
547
|
}>, "strict", import("zod").ZodTypeAny, {
|
|
548
|
-
amount: number;
|
|
548
|
+
amount: string | number;
|
|
549
549
|
wallet: string | number;
|
|
550
550
|
options?: {
|
|
551
551
|
tracking_id?: string | undefined;
|
|
@@ -560,7 +560,7 @@ export declare const ClientValidators: {
|
|
|
560
560
|
created_at?: string | undefined;
|
|
561
561
|
transfer_group?: string | number | undefined;
|
|
562
562
|
}, {
|
|
563
|
-
amount: number;
|
|
563
|
+
amount: string | number;
|
|
564
564
|
wallet: string | number;
|
|
565
565
|
options?: {
|
|
566
566
|
tracking_id?: string | undefined;
|
|
@@ -682,13 +682,13 @@ export declare const ClientValidators: {
|
|
|
682
682
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
683
683
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
684
684
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
685
|
-
amount: import("zod").ZodNumber
|
|
685
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
686
686
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
687
687
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
688
688
|
from_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
689
689
|
to_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
690
690
|
}, "strip", import("zod").ZodTypeAny, {
|
|
691
|
-
amount: number;
|
|
691
|
+
amount: string | number;
|
|
692
692
|
from_wallet: string | number;
|
|
693
693
|
to_wallet: string | number;
|
|
694
694
|
type?: "transfer" | undefined;
|
|
@@ -700,7 +700,7 @@ export declare const ClientValidators: {
|
|
|
700
700
|
latest_control_hash?: string | null | undefined;
|
|
701
701
|
transfer_group?: string | number | undefined;
|
|
702
702
|
}, {
|
|
703
|
-
amount: number;
|
|
703
|
+
amount: string | number;
|
|
704
704
|
from_wallet: string | number;
|
|
705
705
|
to_wallet: string | number;
|
|
706
706
|
type?: "transfer" | undefined;
|
|
@@ -718,13 +718,13 @@ export declare const ClientValidators: {
|
|
|
718
718
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
719
719
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
720
720
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
721
|
-
amount: import("zod").ZodNumber
|
|
721
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
722
722
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
723
723
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
724
724
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
725
725
|
}, "strip", import("zod").ZodTypeAny, {
|
|
726
726
|
type: "deposit";
|
|
727
|
-
amount: number;
|
|
727
|
+
amount: string | number;
|
|
728
728
|
wallet: string | number;
|
|
729
729
|
status?: "pending" | "finished" | undefined;
|
|
730
730
|
identifier?: string | undefined;
|
|
@@ -735,7 +735,7 @@ export declare const ClientValidators: {
|
|
|
735
735
|
transfer_group?: string | number | undefined;
|
|
736
736
|
}, {
|
|
737
737
|
type: "deposit";
|
|
738
|
-
amount: number;
|
|
738
|
+
amount: string | number;
|
|
739
739
|
wallet: string | number;
|
|
740
740
|
status?: "pending" | "finished" | undefined;
|
|
741
741
|
identifier?: string | undefined;
|
|
@@ -751,13 +751,13 @@ export declare const ClientValidators: {
|
|
|
751
751
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
752
752
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
753
753
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
754
|
-
amount: import("zod").ZodNumber
|
|
754
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
755
755
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
756
756
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
757
757
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
758
758
|
}, "strip", import("zod").ZodTypeAny, {
|
|
759
759
|
type: "withdrawal";
|
|
760
|
-
amount: number;
|
|
760
|
+
amount: string | number;
|
|
761
761
|
wallet: string | number;
|
|
762
762
|
status?: "pending" | "finished" | undefined;
|
|
763
763
|
identifier?: string | undefined;
|
|
@@ -768,7 +768,7 @@ export declare const ClientValidators: {
|
|
|
768
768
|
transfer_group?: string | number | undefined;
|
|
769
769
|
}, {
|
|
770
770
|
type: "withdrawal";
|
|
771
|
-
amount: number;
|
|
771
|
+
amount: string | number;
|
|
772
772
|
wallet: string | number;
|
|
773
773
|
status?: "pending" | "finished" | undefined;
|
|
774
774
|
identifier?: string | undefined;
|
|
@@ -826,13 +826,13 @@ export declare const ClientValidators: {
|
|
|
826
826
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
827
827
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
828
828
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
829
|
-
amount: import("zod").ZodNumber
|
|
829
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
830
830
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
831
831
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
832
832
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
833
833
|
}, "transfer_group">, "strip", import("zod").ZodTypeAny, {
|
|
834
834
|
type: "deposit";
|
|
835
|
-
amount: number;
|
|
835
|
+
amount: string | number;
|
|
836
836
|
wallet: string | number;
|
|
837
837
|
status?: "pending" | "finished" | undefined;
|
|
838
838
|
identifier?: string | undefined;
|
|
@@ -842,7 +842,7 @@ export declare const ClientValidators: {
|
|
|
842
842
|
latest_control_hash?: string | null | undefined;
|
|
843
843
|
}, {
|
|
844
844
|
type: "deposit";
|
|
845
|
-
amount: number;
|
|
845
|
+
amount: string | number;
|
|
846
846
|
wallet: string | number;
|
|
847
847
|
status?: "pending" | "finished" | undefined;
|
|
848
848
|
identifier?: string | undefined;
|
|
@@ -857,13 +857,13 @@ export declare const ClientValidators: {
|
|
|
857
857
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
858
858
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
859
859
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
860
|
-
amount: import("zod").ZodNumber
|
|
860
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
861
861
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
862
862
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
863
863
|
from_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
864
864
|
to_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
865
865
|
}, "transfer_group">, "strip", import("zod").ZodTypeAny, {
|
|
866
|
-
amount: number;
|
|
866
|
+
amount: string | number;
|
|
867
867
|
from_wallet: string | number;
|
|
868
868
|
to_wallet: string | number;
|
|
869
869
|
type?: "transfer" | undefined;
|
|
@@ -874,7 +874,7 @@ export declare const ClientValidators: {
|
|
|
874
874
|
created_at?: string | undefined;
|
|
875
875
|
latest_control_hash?: string | null | undefined;
|
|
876
876
|
}, {
|
|
877
|
-
amount: number;
|
|
877
|
+
amount: string | number;
|
|
878
878
|
from_wallet: string | number;
|
|
879
879
|
to_wallet: string | number;
|
|
880
880
|
type?: "transfer" | undefined;
|
|
@@ -891,13 +891,13 @@ export declare const ClientValidators: {
|
|
|
891
891
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
892
892
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
893
893
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
894
|
-
amount: import("zod").ZodNumber
|
|
894
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
895
895
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
896
896
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
897
897
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
898
898
|
}, "transfer_group">, "strip", import("zod").ZodTypeAny, {
|
|
899
899
|
type: "withdrawal";
|
|
900
|
-
amount: number;
|
|
900
|
+
amount: string | number;
|
|
901
901
|
wallet: string | number;
|
|
902
902
|
status?: "pending" | "finished" | undefined;
|
|
903
903
|
identifier?: string | undefined;
|
|
@@ -907,7 +907,7 @@ export declare const ClientValidators: {
|
|
|
907
907
|
latest_control_hash?: string | null | undefined;
|
|
908
908
|
}, {
|
|
909
909
|
type: "withdrawal";
|
|
910
|
-
amount: number;
|
|
910
|
+
amount: string | number;
|
|
911
911
|
wallet: string | number;
|
|
912
912
|
status?: "pending" | "finished" | undefined;
|
|
913
913
|
identifier?: string | undefined;
|
|
@@ -945,7 +945,7 @@ export declare const ClientValidators: {
|
|
|
945
945
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
946
946
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
947
947
|
children?: ({
|
|
948
|
-
amount: number;
|
|
948
|
+
amount: string | number;
|
|
949
949
|
from_wallet: string | number;
|
|
950
950
|
to_wallet: string | number;
|
|
951
951
|
type?: "transfer" | undefined;
|
|
@@ -957,7 +957,7 @@ export declare const ClientValidators: {
|
|
|
957
957
|
latest_control_hash?: string | null | undefined;
|
|
958
958
|
} | {
|
|
959
959
|
type: "deposit";
|
|
960
|
-
amount: number;
|
|
960
|
+
amount: string | number;
|
|
961
961
|
wallet: string | number;
|
|
962
962
|
status?: "pending" | "finished" | undefined;
|
|
963
963
|
identifier?: string | undefined;
|
|
@@ -967,7 +967,7 @@ export declare const ClientValidators: {
|
|
|
967
967
|
latest_control_hash?: string | null | undefined;
|
|
968
968
|
} | {
|
|
969
969
|
type: "withdrawal";
|
|
970
|
-
amount: number;
|
|
970
|
+
amount: string | number;
|
|
971
971
|
wallet: string | number;
|
|
972
972
|
status?: "pending" | "finished" | undefined;
|
|
973
973
|
identifier?: string | undefined;
|
|
@@ -988,7 +988,7 @@ export declare const ClientValidators: {
|
|
|
988
988
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
989
989
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
990
990
|
children?: ({
|
|
991
|
-
amount: number;
|
|
991
|
+
amount: string | number;
|
|
992
992
|
from_wallet: string | number;
|
|
993
993
|
to_wallet: string | number;
|
|
994
994
|
type?: "transfer" | undefined;
|
|
@@ -1000,7 +1000,7 @@ export declare const ClientValidators: {
|
|
|
1000
1000
|
latest_control_hash?: string | null | undefined;
|
|
1001
1001
|
} | {
|
|
1002
1002
|
type: "deposit";
|
|
1003
|
-
amount: number;
|
|
1003
|
+
amount: string | number;
|
|
1004
1004
|
wallet: string | number;
|
|
1005
1005
|
status?: "pending" | "finished" | undefined;
|
|
1006
1006
|
identifier?: string | undefined;
|
|
@@ -1010,7 +1010,7 @@ export declare const ClientValidators: {
|
|
|
1010
1010
|
latest_control_hash?: string | null | undefined;
|
|
1011
1011
|
} | {
|
|
1012
1012
|
type: "withdrawal";
|
|
1013
|
-
amount: number;
|
|
1013
|
+
amount: string | number;
|
|
1014
1014
|
wallet: string | number;
|
|
1015
1015
|
status?: "pending" | "finished" | undefined;
|
|
1016
1016
|
identifier?: string | undefined;
|
|
@@ -1028,13 +1028,13 @@ export declare const ClientValidators: {
|
|
|
1028
1028
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
1029
1029
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1030
1030
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1031
|
-
amount: import("zod").ZodNumber
|
|
1031
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
1032
1032
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1033
1033
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1034
1034
|
from_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
1035
1035
|
to_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
1036
1036
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1037
|
-
amount: number;
|
|
1037
|
+
amount: string | number;
|
|
1038
1038
|
from_wallet: string | number;
|
|
1039
1039
|
to_wallet: string | number;
|
|
1040
1040
|
type?: "transfer" | undefined;
|
|
@@ -1046,7 +1046,7 @@ export declare const ClientValidators: {
|
|
|
1046
1046
|
latest_control_hash?: string | null | undefined;
|
|
1047
1047
|
transfer_group?: string | number | undefined;
|
|
1048
1048
|
}, {
|
|
1049
|
-
amount: number;
|
|
1049
|
+
amount: string | number;
|
|
1050
1050
|
from_wallet: string | number;
|
|
1051
1051
|
to_wallet: string | number;
|
|
1052
1052
|
type?: "transfer" | undefined;
|
|
@@ -1064,13 +1064,13 @@ export declare const ClientValidators: {
|
|
|
1064
1064
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
1065
1065
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1066
1066
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1067
|
-
amount: import("zod").ZodNumber
|
|
1067
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
1068
1068
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1069
1069
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
1070
1070
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1071
1071
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1072
1072
|
type: "deposit";
|
|
1073
|
-
amount: number;
|
|
1073
|
+
amount: string | number;
|
|
1074
1074
|
wallet: string | number;
|
|
1075
1075
|
status?: "pending" | "finished" | undefined;
|
|
1076
1076
|
identifier?: string | undefined;
|
|
@@ -1081,7 +1081,7 @@ export declare const ClientValidators: {
|
|
|
1081
1081
|
transfer_group?: string | number | undefined;
|
|
1082
1082
|
}, {
|
|
1083
1083
|
type: "deposit";
|
|
1084
|
-
amount: number;
|
|
1084
|
+
amount: string | number;
|
|
1085
1085
|
wallet: string | number;
|
|
1086
1086
|
status?: "pending" | "finished" | undefined;
|
|
1087
1087
|
identifier?: string | undefined;
|
|
@@ -1097,13 +1097,13 @@ export declare const ClientValidators: {
|
|
|
1097
1097
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
1098
1098
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1099
1099
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1100
|
-
amount: import("zod").ZodNumber
|
|
1100
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
1101
1101
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1102
1102
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
1103
1103
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1104
1104
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1105
1105
|
type: "withdrawal";
|
|
1106
|
-
amount: number;
|
|
1106
|
+
amount: string | number;
|
|
1107
1107
|
wallet: string | number;
|
|
1108
1108
|
status?: "pending" | "finished" | undefined;
|
|
1109
1109
|
identifier?: string | undefined;
|
|
@@ -1114,7 +1114,7 @@ export declare const ClientValidators: {
|
|
|
1114
1114
|
transfer_group?: string | number | undefined;
|
|
1115
1115
|
}, {
|
|
1116
1116
|
type: "withdrawal";
|
|
1117
|
-
amount: number;
|
|
1117
|
+
amount: string | number;
|
|
1118
1118
|
wallet: string | number;
|
|
1119
1119
|
status?: "pending" | "finished" | undefined;
|
|
1120
1120
|
identifier?: string | undefined;
|
|
@@ -1145,7 +1145,7 @@ export declare const ClientValidators: {
|
|
|
1145
1145
|
}>>>;
|
|
1146
1146
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1147
1147
|
transfers: ({
|
|
1148
|
-
amount: number;
|
|
1148
|
+
amount: string | number;
|
|
1149
1149
|
from_wallet: string | number;
|
|
1150
1150
|
to_wallet: string | number;
|
|
1151
1151
|
type?: "transfer" | undefined;
|
|
@@ -1158,7 +1158,7 @@ export declare const ClientValidators: {
|
|
|
1158
1158
|
transfer_group?: string | number | undefined;
|
|
1159
1159
|
} | {
|
|
1160
1160
|
type: "withdrawal";
|
|
1161
|
-
amount: number;
|
|
1161
|
+
amount: string | number;
|
|
1162
1162
|
wallet: string | number;
|
|
1163
1163
|
status?: "pending" | "finished" | undefined;
|
|
1164
1164
|
identifier?: string | undefined;
|
|
@@ -1169,7 +1169,7 @@ export declare const ClientValidators: {
|
|
|
1169
1169
|
transfer_group?: string | number | undefined;
|
|
1170
1170
|
} | {
|
|
1171
1171
|
type: "deposit";
|
|
1172
|
-
amount: number;
|
|
1172
|
+
amount: string | number;
|
|
1173
1173
|
wallet: string | number;
|
|
1174
1174
|
status?: "pending" | "finished" | undefined;
|
|
1175
1175
|
identifier?: string | undefined;
|
|
@@ -1188,7 +1188,7 @@ export declare const ClientValidators: {
|
|
|
1188
1188
|
} | undefined;
|
|
1189
1189
|
}, {
|
|
1190
1190
|
transfers: ({
|
|
1191
|
-
amount: number;
|
|
1191
|
+
amount: string | number;
|
|
1192
1192
|
from_wallet: string | number;
|
|
1193
1193
|
to_wallet: string | number;
|
|
1194
1194
|
type?: "transfer" | undefined;
|
|
@@ -1201,7 +1201,7 @@ export declare const ClientValidators: {
|
|
|
1201
1201
|
transfer_group?: string | number | undefined;
|
|
1202
1202
|
} | {
|
|
1203
1203
|
type: "withdrawal";
|
|
1204
|
-
amount: number;
|
|
1204
|
+
amount: string | number;
|
|
1205
1205
|
wallet: string | number;
|
|
1206
1206
|
status?: "pending" | "finished" | undefined;
|
|
1207
1207
|
identifier?: string | undefined;
|
|
@@ -1212,7 +1212,7 @@ export declare const ClientValidators: {
|
|
|
1212
1212
|
transfer_group?: string | number | undefined;
|
|
1213
1213
|
} | {
|
|
1214
1214
|
type: "deposit";
|
|
1215
|
-
amount: number;
|
|
1215
|
+
amount: string | number;
|
|
1216
1216
|
wallet: string | number;
|
|
1217
1217
|
status?: "pending" | "finished" | undefined;
|
|
1218
1218
|
identifier?: string | undefined;
|
|
@@ -1271,7 +1271,7 @@ export declare const ClientValidators: {
|
|
|
1271
1271
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
1272
1272
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1273
1273
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1274
|
-
amount: import("zod").ZodNumber
|
|
1274
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
1275
1275
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1276
1276
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
1277
1277
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
@@ -1290,7 +1290,7 @@ export declare const ClientValidators: {
|
|
|
1290
1290
|
return_balance?: boolean | undefined;
|
|
1291
1291
|
}>>;
|
|
1292
1292
|
}>, "strict", import("zod").ZodTypeAny, {
|
|
1293
|
-
amount: number;
|
|
1293
|
+
amount: string | number;
|
|
1294
1294
|
wallet: string | number;
|
|
1295
1295
|
options?: {
|
|
1296
1296
|
tracking_id?: string | undefined;
|
|
@@ -1305,7 +1305,7 @@ export declare const ClientValidators: {
|
|
|
1305
1305
|
latest_control_hash?: string | null | undefined;
|
|
1306
1306
|
transfer_group?: string | number | undefined;
|
|
1307
1307
|
}, {
|
|
1308
|
-
amount: number;
|
|
1308
|
+
amount: string | number;
|
|
1309
1309
|
wallet: string | number;
|
|
1310
1310
|
options?: {
|
|
1311
1311
|
tracking_id?: string | undefined;
|
|
@@ -2996,13 +2996,13 @@ export declare const ClientValidators: {
|
|
|
2996
2996
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
2997
2997
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2998
2998
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
2999
|
-
amount: import("zod").ZodNumber
|
|
2999
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
3000
3000
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3001
3001
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
3002
3002
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3003
3003
|
}, "transfer_group">, "strip", import("zod").ZodTypeAny, {
|
|
3004
3004
|
type: "deposit";
|
|
3005
|
-
amount: number;
|
|
3005
|
+
amount: string | number;
|
|
3006
3006
|
wallet: string | number;
|
|
3007
3007
|
status?: "pending" | "finished" | undefined;
|
|
3008
3008
|
identifier?: string | undefined;
|
|
@@ -3012,7 +3012,7 @@ export declare const ClientValidators: {
|
|
|
3012
3012
|
latest_control_hash?: string | null | undefined;
|
|
3013
3013
|
}, {
|
|
3014
3014
|
type: "deposit";
|
|
3015
|
-
amount: number;
|
|
3015
|
+
amount: string | number;
|
|
3016
3016
|
wallet: string | number;
|
|
3017
3017
|
status?: "pending" | "finished" | undefined;
|
|
3018
3018
|
identifier?: string | undefined;
|
|
@@ -3027,13 +3027,13 @@ export declare const ClientValidators: {
|
|
|
3027
3027
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
3028
3028
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3029
3029
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3030
|
-
amount: import("zod").ZodNumber
|
|
3030
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
3031
3031
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3032
3032
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3033
3033
|
from_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
3034
3034
|
to_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
3035
3035
|
}, "transfer_group">, "strip", import("zod").ZodTypeAny, {
|
|
3036
|
-
amount: number;
|
|
3036
|
+
amount: string | number;
|
|
3037
3037
|
from_wallet: string | number;
|
|
3038
3038
|
to_wallet: string | number;
|
|
3039
3039
|
type?: "transfer" | undefined;
|
|
@@ -3044,7 +3044,7 @@ export declare const ClientValidators: {
|
|
|
3044
3044
|
created_at?: string | undefined;
|
|
3045
3045
|
latest_control_hash?: string | null | undefined;
|
|
3046
3046
|
}, {
|
|
3047
|
-
amount: number;
|
|
3047
|
+
amount: string | number;
|
|
3048
3048
|
from_wallet: string | number;
|
|
3049
3049
|
to_wallet: string | number;
|
|
3050
3050
|
type?: "transfer" | undefined;
|
|
@@ -3061,13 +3061,13 @@ export declare const ClientValidators: {
|
|
|
3061
3061
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
3062
3062
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3063
3063
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3064
|
-
amount: import("zod").ZodNumber
|
|
3064
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
3065
3065
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3066
3066
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
3067
3067
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3068
3068
|
}, "transfer_group">, "strip", import("zod").ZodTypeAny, {
|
|
3069
3069
|
type: "withdrawal";
|
|
3070
|
-
amount: number;
|
|
3070
|
+
amount: string | number;
|
|
3071
3071
|
wallet: string | number;
|
|
3072
3072
|
status?: "pending" | "finished" | undefined;
|
|
3073
3073
|
identifier?: string | undefined;
|
|
@@ -3077,7 +3077,7 @@ export declare const ClientValidators: {
|
|
|
3077
3077
|
latest_control_hash?: string | null | undefined;
|
|
3078
3078
|
}, {
|
|
3079
3079
|
type: "withdrawal";
|
|
3080
|
-
amount: number;
|
|
3080
|
+
amount: string | number;
|
|
3081
3081
|
wallet: string | number;
|
|
3082
3082
|
status?: "pending" | "finished" | undefined;
|
|
3083
3083
|
identifier?: string | undefined;
|
|
@@ -3099,7 +3099,7 @@ export declare const ClientValidators: {
|
|
|
3099
3099
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
3100
3100
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3101
3101
|
children?: ({
|
|
3102
|
-
amount: number;
|
|
3102
|
+
amount: string | number;
|
|
3103
3103
|
from_wallet: string | number;
|
|
3104
3104
|
to_wallet: string | number;
|
|
3105
3105
|
type?: "transfer" | undefined;
|
|
@@ -3111,7 +3111,7 @@ export declare const ClientValidators: {
|
|
|
3111
3111
|
latest_control_hash?: string | null | undefined;
|
|
3112
3112
|
} | {
|
|
3113
3113
|
type: "deposit";
|
|
3114
|
-
amount: number;
|
|
3114
|
+
amount: string | number;
|
|
3115
3115
|
wallet: string | number;
|
|
3116
3116
|
status?: "pending" | "finished" | undefined;
|
|
3117
3117
|
identifier?: string | undefined;
|
|
@@ -3121,7 +3121,7 @@ export declare const ClientValidators: {
|
|
|
3121
3121
|
latest_control_hash?: string | null | undefined;
|
|
3122
3122
|
} | {
|
|
3123
3123
|
type: "withdrawal";
|
|
3124
|
-
amount: number;
|
|
3124
|
+
amount: string | number;
|
|
3125
3125
|
wallet: string | number;
|
|
3126
3126
|
status?: "pending" | "finished" | undefined;
|
|
3127
3127
|
identifier?: string | undefined;
|
|
@@ -3139,7 +3139,7 @@ export declare const ClientValidators: {
|
|
|
3139
3139
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
3140
3140
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3141
3141
|
children?: ({
|
|
3142
|
-
amount: number;
|
|
3142
|
+
amount: string | number;
|
|
3143
3143
|
from_wallet: string | number;
|
|
3144
3144
|
to_wallet: string | number;
|
|
3145
3145
|
type?: "transfer" | undefined;
|
|
@@ -3151,7 +3151,7 @@ export declare const ClientValidators: {
|
|
|
3151
3151
|
latest_control_hash?: string | null | undefined;
|
|
3152
3152
|
} | {
|
|
3153
3153
|
type: "deposit";
|
|
3154
|
-
amount: number;
|
|
3154
|
+
amount: string | number;
|
|
3155
3155
|
wallet: string | number;
|
|
3156
3156
|
status?: "pending" | "finished" | undefined;
|
|
3157
3157
|
identifier?: string | undefined;
|
|
@@ -3161,7 +3161,7 @@ export declare const ClientValidators: {
|
|
|
3161
3161
|
latest_control_hash?: string | null | undefined;
|
|
3162
3162
|
} | {
|
|
3163
3163
|
type: "withdrawal";
|
|
3164
|
-
amount: number;
|
|
3164
|
+
amount: string | number;
|
|
3165
3165
|
wallet: string | number;
|
|
3166
3166
|
status?: "pending" | "finished" | undefined;
|
|
3167
3167
|
identifier?: string | undefined;
|
|
@@ -3181,7 +3181,7 @@ export declare const ClientValidators: {
|
|
|
3181
3181
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
3182
3182
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3183
3183
|
children?: ({
|
|
3184
|
-
amount: number;
|
|
3184
|
+
amount: string | number;
|
|
3185
3185
|
from_wallet: string | number;
|
|
3186
3186
|
to_wallet: string | number;
|
|
3187
3187
|
type?: "transfer" | undefined;
|
|
@@ -3193,7 +3193,7 @@ export declare const ClientValidators: {
|
|
|
3193
3193
|
latest_control_hash?: string | null | undefined;
|
|
3194
3194
|
} | {
|
|
3195
3195
|
type: "deposit";
|
|
3196
|
-
amount: number;
|
|
3196
|
+
amount: string | number;
|
|
3197
3197
|
wallet: string | number;
|
|
3198
3198
|
status?: "pending" | "finished" | undefined;
|
|
3199
3199
|
identifier?: string | undefined;
|
|
@@ -3203,7 +3203,7 @@ export declare const ClientValidators: {
|
|
|
3203
3203
|
latest_control_hash?: string | null | undefined;
|
|
3204
3204
|
} | {
|
|
3205
3205
|
type: "withdrawal";
|
|
3206
|
-
amount: number;
|
|
3206
|
+
amount: string | number;
|
|
3207
3207
|
wallet: string | number;
|
|
3208
3208
|
status?: "pending" | "finished" | undefined;
|
|
3209
3209
|
identifier?: string | undefined;
|
|
@@ -3224,7 +3224,7 @@ export declare const ClientValidators: {
|
|
|
3224
3224
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
3225
3225
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3226
3226
|
children?: ({
|
|
3227
|
-
amount: number;
|
|
3227
|
+
amount: string | number;
|
|
3228
3228
|
from_wallet: string | number;
|
|
3229
3229
|
to_wallet: string | number;
|
|
3230
3230
|
type?: "transfer" | undefined;
|
|
@@ -3236,7 +3236,7 @@ export declare const ClientValidators: {
|
|
|
3236
3236
|
latest_control_hash?: string | null | undefined;
|
|
3237
3237
|
} | {
|
|
3238
3238
|
type: "deposit";
|
|
3239
|
-
amount: number;
|
|
3239
|
+
amount: string | number;
|
|
3240
3240
|
wallet: string | number;
|
|
3241
3241
|
status?: "pending" | "finished" | undefined;
|
|
3242
3242
|
identifier?: string | undefined;
|
|
@@ -3246,7 +3246,7 @@ export declare const ClientValidators: {
|
|
|
3246
3246
|
latest_control_hash?: string | null | undefined;
|
|
3247
3247
|
} | {
|
|
3248
3248
|
type: "withdrawal";
|
|
3249
|
-
amount: number;
|
|
3249
|
+
amount: string | number;
|
|
3250
3250
|
wallet: string | number;
|
|
3251
3251
|
status?: "pending" | "finished" | undefined;
|
|
3252
3252
|
identifier?: string | undefined;
|
|
@@ -3266,7 +3266,7 @@ export declare const ClientValidators: {
|
|
|
3266
3266
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
3267
3267
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3268
3268
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3269
|
-
amount: import("zod").ZodNumber
|
|
3269
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
3270
3270
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3271
3271
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3272
3272
|
from_wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
@@ -3275,7 +3275,7 @@ export declare const ClientValidators: {
|
|
|
3275
3275
|
status_finalized_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3276
3276
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
3277
3277
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
3278
|
-
amount: number;
|
|
3278
|
+
amount: string | number;
|
|
3279
3279
|
from_wallet: string | number;
|
|
3280
3280
|
to_wallet: string | number;
|
|
3281
3281
|
type?: "transfer" | undefined;
|
|
@@ -3288,7 +3288,7 @@ export declare const ClientValidators: {
|
|
|
3288
3288
|
latest_control_hash?: string | null | undefined;
|
|
3289
3289
|
transfer_group?: string | number | undefined;
|
|
3290
3290
|
}, {
|
|
3291
|
-
amount: number;
|
|
3291
|
+
amount: string | number;
|
|
3292
3292
|
from_wallet: string | number;
|
|
3293
3293
|
to_wallet: string | number;
|
|
3294
3294
|
type?: "transfer" | undefined;
|
|
@@ -3307,7 +3307,7 @@ export declare const ClientValidators: {
|
|
|
3307
3307
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
3308
3308
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3309
3309
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3310
|
-
amount: import("zod").ZodNumber
|
|
3310
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
3311
3311
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3312
3312
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
3313
3313
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
@@ -3316,7 +3316,7 @@ export declare const ClientValidators: {
|
|
|
3316
3316
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
3317
3317
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
3318
3318
|
type: "deposit";
|
|
3319
|
-
amount: number;
|
|
3319
|
+
amount: string | number;
|
|
3320
3320
|
wallet: string | number;
|
|
3321
3321
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3322
3322
|
identifier?: string | undefined;
|
|
@@ -3328,7 +3328,7 @@ export declare const ClientValidators: {
|
|
|
3328
3328
|
transfer_group?: string | number | undefined;
|
|
3329
3329
|
}, {
|
|
3330
3330
|
type: "deposit";
|
|
3331
|
-
amount: number;
|
|
3331
|
+
amount: string | number;
|
|
3332
3332
|
wallet: string | number;
|
|
3333
3333
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3334
3334
|
identifier?: string | undefined;
|
|
@@ -3345,7 +3345,7 @@ export declare const ClientValidators: {
|
|
|
3345
3345
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
3346
3346
|
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
3347
3347
|
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3348
|
-
amount: import("zod").ZodNumber
|
|
3348
|
+
amount: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
3349
3349
|
latest_control_hash: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3350
3350
|
wallet: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>;
|
|
3351
3351
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
@@ -3354,7 +3354,7 @@ export declare const ClientValidators: {
|
|
|
3354
3354
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
3355
3355
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
3356
3356
|
type: "withdrawal";
|
|
3357
|
-
amount: number;
|
|
3357
|
+
amount: string | number;
|
|
3358
3358
|
wallet: string | number;
|
|
3359
3359
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3360
3360
|
identifier?: string | undefined;
|
|
@@ -3366,7 +3366,7 @@ export declare const ClientValidators: {
|
|
|
3366
3366
|
transfer_group?: string | number | undefined;
|
|
3367
3367
|
}, {
|
|
3368
3368
|
type: "withdrawal";
|
|
3369
|
-
amount: number;
|
|
3369
|
+
amount: string | number;
|
|
3370
3370
|
wallet: string | number;
|
|
3371
3371
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3372
3372
|
identifier?: string | undefined;
|
|
@@ -3379,7 +3379,7 @@ export declare const ClientValidators: {
|
|
|
3379
3379
|
}>]>;
|
|
3380
3380
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3381
3381
|
data: {
|
|
3382
|
-
amount: number;
|
|
3382
|
+
amount: string | number;
|
|
3383
3383
|
from_wallet: string | number;
|
|
3384
3384
|
to_wallet: string | number;
|
|
3385
3385
|
type?: "transfer" | undefined;
|
|
@@ -3393,7 +3393,7 @@ export declare const ClientValidators: {
|
|
|
3393
3393
|
transfer_group?: string | number | undefined;
|
|
3394
3394
|
} | {
|
|
3395
3395
|
type: "deposit";
|
|
3396
|
-
amount: number;
|
|
3396
|
+
amount: string | number;
|
|
3397
3397
|
wallet: string | number;
|
|
3398
3398
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3399
3399
|
identifier?: string | undefined;
|
|
@@ -3405,7 +3405,7 @@ export declare const ClientValidators: {
|
|
|
3405
3405
|
transfer_group?: string | number | undefined;
|
|
3406
3406
|
} | {
|
|
3407
3407
|
type: "withdrawal";
|
|
3408
|
-
amount: number;
|
|
3408
|
+
amount: string | number;
|
|
3409
3409
|
wallet: string | number;
|
|
3410
3410
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3411
3411
|
identifier?: string | undefined;
|
|
@@ -3419,7 +3419,7 @@ export declare const ClientValidators: {
|
|
|
3419
3419
|
target: "transfer";
|
|
3420
3420
|
}, {
|
|
3421
3421
|
data: {
|
|
3422
|
-
amount: number;
|
|
3422
|
+
amount: string | number;
|
|
3423
3423
|
from_wallet: string | number;
|
|
3424
3424
|
to_wallet: string | number;
|
|
3425
3425
|
type?: "transfer" | undefined;
|
|
@@ -3433,7 +3433,7 @@ export declare const ClientValidators: {
|
|
|
3433
3433
|
transfer_group?: string | number | undefined;
|
|
3434
3434
|
} | {
|
|
3435
3435
|
type: "deposit";
|
|
3436
|
-
amount: number;
|
|
3436
|
+
amount: string | number;
|
|
3437
3437
|
wallet: string | number;
|
|
3438
3438
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3439
3439
|
identifier?: string | undefined;
|
|
@@ -3445,7 +3445,7 @@ export declare const ClientValidators: {
|
|
|
3445
3445
|
transfer_group?: string | number | undefined;
|
|
3446
3446
|
} | {
|
|
3447
3447
|
type: "withdrawal";
|
|
3448
|
-
amount: number;
|
|
3448
|
+
amount: string | number;
|
|
3449
3449
|
wallet: string | number;
|
|
3450
3450
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3451
3451
|
identifier?: string | undefined;
|
|
@@ -3648,7 +3648,7 @@ export declare const ClientValidators: {
|
|
|
3648
3648
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
3649
3649
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3650
3650
|
children?: ({
|
|
3651
|
-
amount: number;
|
|
3651
|
+
amount: string | number;
|
|
3652
3652
|
from_wallet: string | number;
|
|
3653
3653
|
to_wallet: string | number;
|
|
3654
3654
|
type?: "transfer" | undefined;
|
|
@@ -3660,7 +3660,7 @@ export declare const ClientValidators: {
|
|
|
3660
3660
|
latest_control_hash?: string | null | undefined;
|
|
3661
3661
|
} | {
|
|
3662
3662
|
type: "deposit";
|
|
3663
|
-
amount: number;
|
|
3663
|
+
amount: string | number;
|
|
3664
3664
|
wallet: string | number;
|
|
3665
3665
|
status?: "pending" | "finished" | undefined;
|
|
3666
3666
|
identifier?: string | undefined;
|
|
@@ -3670,7 +3670,7 @@ export declare const ClientValidators: {
|
|
|
3670
3670
|
latest_control_hash?: string | null | undefined;
|
|
3671
3671
|
} | {
|
|
3672
3672
|
type: "withdrawal";
|
|
3673
|
-
amount: number;
|
|
3673
|
+
amount: string | number;
|
|
3674
3674
|
wallet: string | number;
|
|
3675
3675
|
status?: "pending" | "finished" | undefined;
|
|
3676
3676
|
identifier?: string | undefined;
|
|
@@ -3683,7 +3683,7 @@ export declare const ClientValidators: {
|
|
|
3683
3683
|
target: "transfer_group";
|
|
3684
3684
|
} | {
|
|
3685
3685
|
data: {
|
|
3686
|
-
amount: number;
|
|
3686
|
+
amount: string | number;
|
|
3687
3687
|
from_wallet: string | number;
|
|
3688
3688
|
to_wallet: string | number;
|
|
3689
3689
|
type?: "transfer" | undefined;
|
|
@@ -3697,7 +3697,7 @@ export declare const ClientValidators: {
|
|
|
3697
3697
|
transfer_group?: string | number | undefined;
|
|
3698
3698
|
} | {
|
|
3699
3699
|
type: "deposit";
|
|
3700
|
-
amount: number;
|
|
3700
|
+
amount: string | number;
|
|
3701
3701
|
wallet: string | number;
|
|
3702
3702
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3703
3703
|
identifier?: string | undefined;
|
|
@@ -3709,7 +3709,7 @@ export declare const ClientValidators: {
|
|
|
3709
3709
|
transfer_group?: string | number | undefined;
|
|
3710
3710
|
} | {
|
|
3711
3711
|
type: "withdrawal";
|
|
3712
|
-
amount: number;
|
|
3712
|
+
amount: string | number;
|
|
3713
3713
|
wallet: string | number;
|
|
3714
3714
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3715
3715
|
identifier?: string | undefined;
|
|
@@ -3785,7 +3785,7 @@ export declare const ClientValidators: {
|
|
|
3785
3785
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
3786
3786
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3787
3787
|
children?: ({
|
|
3788
|
-
amount: number;
|
|
3788
|
+
amount: string | number;
|
|
3789
3789
|
from_wallet: string | number;
|
|
3790
3790
|
to_wallet: string | number;
|
|
3791
3791
|
type?: "transfer" | undefined;
|
|
@@ -3797,7 +3797,7 @@ export declare const ClientValidators: {
|
|
|
3797
3797
|
latest_control_hash?: string | null | undefined;
|
|
3798
3798
|
} | {
|
|
3799
3799
|
type: "deposit";
|
|
3800
|
-
amount: number;
|
|
3800
|
+
amount: string | number;
|
|
3801
3801
|
wallet: string | number;
|
|
3802
3802
|
status?: "pending" | "finished" | undefined;
|
|
3803
3803
|
identifier?: string | undefined;
|
|
@@ -3807,7 +3807,7 @@ export declare const ClientValidators: {
|
|
|
3807
3807
|
latest_control_hash?: string | null | undefined;
|
|
3808
3808
|
} | {
|
|
3809
3809
|
type: "withdrawal";
|
|
3810
|
-
amount: number;
|
|
3810
|
+
amount: string | number;
|
|
3811
3811
|
wallet: string | number;
|
|
3812
3812
|
status?: "pending" | "finished" | undefined;
|
|
3813
3813
|
identifier?: string | undefined;
|
|
@@ -3820,7 +3820,7 @@ export declare const ClientValidators: {
|
|
|
3820
3820
|
target: "transfer_group";
|
|
3821
3821
|
} | {
|
|
3822
3822
|
data: {
|
|
3823
|
-
amount: number;
|
|
3823
|
+
amount: string | number;
|
|
3824
3824
|
from_wallet: string | number;
|
|
3825
3825
|
to_wallet: string | number;
|
|
3826
3826
|
type?: "transfer" | undefined;
|
|
@@ -3834,7 +3834,7 @@ export declare const ClientValidators: {
|
|
|
3834
3834
|
transfer_group?: string | number | undefined;
|
|
3835
3835
|
} | {
|
|
3836
3836
|
type: "deposit";
|
|
3837
|
-
amount: number;
|
|
3837
|
+
amount: string | number;
|
|
3838
3838
|
wallet: string | number;
|
|
3839
3839
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3840
3840
|
identifier?: string | undefined;
|
|
@@ -3846,7 +3846,7 @@ export declare const ClientValidators: {
|
|
|
3846
3846
|
transfer_group?: string | number | undefined;
|
|
3847
3847
|
} | {
|
|
3848
3848
|
type: "withdrawal";
|
|
3849
|
-
amount: number;
|
|
3849
|
+
amount: string | number;
|
|
3850
3850
|
wallet: string | number;
|
|
3851
3851
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3852
3852
|
identifier?: string | undefined;
|