@klappay/types 1.0.4 → 1.0.5
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/README.md +9 -8
- package/dist/index.d.mts +709 -30
- package/dist/index.d.ts +709 -30
- package/dist/index.js +454 -156
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +430 -156
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -526,6 +526,8 @@ declare const ChargeStatusEventSchema: z.ZodObject<{
|
|
|
526
526
|
}>;
|
|
527
527
|
type ChargeStatusEvent = z.infer<typeof ChargeStatusEventSchema>;
|
|
528
528
|
|
|
529
|
+
declare const SplitDistributionStatusSchema: z.ZodEnum<["pending", "processing", "completed", "failed"]>;
|
|
530
|
+
type SplitDistributionStatus = z.infer<typeof SplitDistributionStatusSchema>;
|
|
529
531
|
declare const PendingDistributionRecipientSchema: z.ZodObject<{
|
|
530
532
|
address: z.ZodString;
|
|
531
533
|
percentAllocation: z.ZodNumber;
|
|
@@ -667,6 +669,684 @@ declare const PendingDistributionEventSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
667
669
|
}>]>;
|
|
668
670
|
type PendingDistributionEvent = z.infer<typeof PendingDistributionEventSchema>;
|
|
669
671
|
|
|
672
|
+
declare const MetricsResourceSchema: z.ZodEnum<["charges", "transactions", "distributions"]>;
|
|
673
|
+
type MetricsResource = z.infer<typeof MetricsResourceSchema>;
|
|
674
|
+
declare const MetricsAggregationSchema: z.ZodEnum<["count", "sum", "avg", "min", "max"]>;
|
|
675
|
+
type MetricsAggregation = z.infer<typeof MetricsAggregationSchema>;
|
|
676
|
+
declare const MetricsFilterOperatorSchema: z.ZodEnum<["eq", "neq", "in", "gt", "gte", "lt", "lte"]>;
|
|
677
|
+
type MetricsFilterOperator = z.infer<typeof MetricsFilterOperatorSchema>;
|
|
678
|
+
declare const MetricsDateGranularitySchema: z.ZodEnum<["day", "week", "month"]>;
|
|
679
|
+
type MetricsDateGranularity = z.infer<typeof MetricsDateGranularitySchema>;
|
|
680
|
+
declare const MAX_METRICS_QUERY_DATE_RANGE_DAYS = 366;
|
|
681
|
+
declare const METRICS_QUERY_MAX_ROW_LIMIT = 1000;
|
|
682
|
+
declare const METRICS_QUERY_DEFAULT_ROW_LIMIT = 100;
|
|
683
|
+
declare const METRICS_QUERY_MAX_GROUP_BY = 3;
|
|
684
|
+
declare const METRICS_QUERY_MAX_FILTERS = 20;
|
|
685
|
+
declare const METRICS_QUERY_MAX_METRICS = 10;
|
|
686
|
+
declare const ChargesQueryFieldSchema: z.ZodEnum<["status", "mode", "source", "apiKeyId", "currency", "isOverpaid", "externalRef"]>;
|
|
687
|
+
type ChargesQueryField = z.infer<typeof ChargesQueryFieldSchema>;
|
|
688
|
+
declare const ChargesMetricFieldSchema: z.ZodEnum<["amount", "amountReceived", "feePercent"]>;
|
|
689
|
+
type ChargesMetricField = z.infer<typeof ChargesMetricFieldSchema>;
|
|
690
|
+
declare const ChargesDateFieldSchema: z.ZodEnum<["createdAt", "confirmedAt", "lastActivityAt"]>;
|
|
691
|
+
type ChargesDateField = z.infer<typeof ChargesDateFieldSchema>;
|
|
692
|
+
declare const TransactionsQueryFieldSchema: z.ZodEnum<["network", "token", "source", "causedTransition"]>;
|
|
693
|
+
type TransactionsQueryField = z.infer<typeof TransactionsQueryFieldSchema>;
|
|
694
|
+
declare const TransactionsMetricFieldSchema: z.ZodEnum<["amount"]>;
|
|
695
|
+
type TransactionsMetricField = z.infer<typeof TransactionsMetricFieldSchema>;
|
|
696
|
+
declare const TransactionsDateFieldSchema: z.ZodEnum<["detectedAt"]>;
|
|
697
|
+
type TransactionsDateField = z.infer<typeof TransactionsDateFieldSchema>;
|
|
698
|
+
declare const DistributionsQueryFieldSchema: z.ZodEnum<["status", "network", "token"]>;
|
|
699
|
+
type DistributionsQueryField = z.infer<typeof DistributionsQueryFieldSchema>;
|
|
700
|
+
declare const DistributionsMetricFieldSchema: z.ZodEnum<["attempts"]>;
|
|
701
|
+
type DistributionsMetricField = z.infer<typeof DistributionsMetricFieldSchema>;
|
|
702
|
+
declare const DistributionsDateFieldSchema: z.ZodEnum<["createdAt", "completedAt"]>;
|
|
703
|
+
type DistributionsDateField = z.infer<typeof DistributionsDateFieldSchema>;
|
|
704
|
+
declare const MetricsQuerySchema: z.ZodEffects<z.ZodDiscriminatedUnion<"resource", [z.ZodObject<{
|
|
705
|
+
resource: z.ZodLiteral<"charges">;
|
|
706
|
+
environment: z.ZodEnum<["live", "test"]>;
|
|
707
|
+
dateRange: z.ZodObject<{
|
|
708
|
+
field: z.ZodEnum<["createdAt", "confirmedAt", "lastActivityAt"]>;
|
|
709
|
+
from: z.ZodString;
|
|
710
|
+
to: z.ZodString;
|
|
711
|
+
}, "strip", z.ZodTypeAny, {
|
|
712
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
713
|
+
from: string;
|
|
714
|
+
to: string;
|
|
715
|
+
}, {
|
|
716
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
717
|
+
from: string;
|
|
718
|
+
to: string;
|
|
719
|
+
}>;
|
|
720
|
+
groupBy: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
721
|
+
type: z.ZodLiteral<"field">;
|
|
722
|
+
field: z.ZodEnum<["status", "mode", "source", "apiKeyId", "currency", "isOverpaid", "externalRef"]>;
|
|
723
|
+
}, "strip", z.ZodTypeAny, {
|
|
724
|
+
type: "field";
|
|
725
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
726
|
+
}, {
|
|
727
|
+
type: "field";
|
|
728
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
729
|
+
}>, z.ZodObject<{
|
|
730
|
+
type: z.ZodLiteral<"date_bucket">;
|
|
731
|
+
field: z.ZodEnum<["createdAt", "confirmedAt", "lastActivityAt"]>;
|
|
732
|
+
granularity: z.ZodEnum<["day", "week", "month"]>;
|
|
733
|
+
}, "strip", z.ZodTypeAny, {
|
|
734
|
+
type: "date_bucket";
|
|
735
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
736
|
+
granularity: "day" | "week" | "month";
|
|
737
|
+
}, {
|
|
738
|
+
type: "date_bucket";
|
|
739
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
740
|
+
granularity: "day" | "week" | "month";
|
|
741
|
+
}>]>, "many">>;
|
|
742
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
743
|
+
aggregation: z.ZodEnum<["count", "sum", "avg", "min", "max"]>;
|
|
744
|
+
field: z.ZodOptional<z.ZodEnum<["amount", "amountReceived", "feePercent"]>>;
|
|
745
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
746
|
+
}, "strip", z.ZodTypeAny, {
|
|
747
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
748
|
+
field?: "amount" | "amountReceived" | "feePercent" | undefined;
|
|
749
|
+
alias?: string | undefined;
|
|
750
|
+
}, {
|
|
751
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
752
|
+
field?: "amount" | "amountReceived" | "feePercent" | undefined;
|
|
753
|
+
alias?: string | undefined;
|
|
754
|
+
}>, "many">;
|
|
755
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
756
|
+
field: z.ZodEnum<["status", "mode", "source", "apiKeyId", "currency", "isOverpaid", "externalRef"]>;
|
|
757
|
+
operator: z.ZodEnum<["eq", "neq", "in", "gt", "gte", "lt", "lte"]>;
|
|
758
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
|
|
759
|
+
}, "strip", z.ZodTypeAny, {
|
|
760
|
+
value: string | number | boolean | (string | number)[];
|
|
761
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
762
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
763
|
+
}, {
|
|
764
|
+
value: string | number | boolean | (string | number)[];
|
|
765
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
766
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
767
|
+
}>, "many">>;
|
|
768
|
+
orderBy: z.ZodOptional<z.ZodObject<{
|
|
769
|
+
key: z.ZodString;
|
|
770
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
771
|
+
}, "strip", z.ZodTypeAny, {
|
|
772
|
+
key: string;
|
|
773
|
+
direction: "asc" | "desc";
|
|
774
|
+
}, {
|
|
775
|
+
key: string;
|
|
776
|
+
direction: "asc" | "desc";
|
|
777
|
+
}>>;
|
|
778
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
779
|
+
}, "strip", z.ZodTypeAny, {
|
|
780
|
+
limit: number;
|
|
781
|
+
environment: "live" | "test";
|
|
782
|
+
resource: "charges";
|
|
783
|
+
dateRange: {
|
|
784
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
785
|
+
from: string;
|
|
786
|
+
to: string;
|
|
787
|
+
};
|
|
788
|
+
groupBy: ({
|
|
789
|
+
type: "field";
|
|
790
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
791
|
+
} | {
|
|
792
|
+
type: "date_bucket";
|
|
793
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
794
|
+
granularity: "day" | "week" | "month";
|
|
795
|
+
})[];
|
|
796
|
+
metrics: {
|
|
797
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
798
|
+
field?: "amount" | "amountReceived" | "feePercent" | undefined;
|
|
799
|
+
alias?: string | undefined;
|
|
800
|
+
}[];
|
|
801
|
+
filters: {
|
|
802
|
+
value: string | number | boolean | (string | number)[];
|
|
803
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
804
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
805
|
+
}[];
|
|
806
|
+
orderBy?: {
|
|
807
|
+
key: string;
|
|
808
|
+
direction: "asc" | "desc";
|
|
809
|
+
} | undefined;
|
|
810
|
+
}, {
|
|
811
|
+
environment: "live" | "test";
|
|
812
|
+
resource: "charges";
|
|
813
|
+
dateRange: {
|
|
814
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
815
|
+
from: string;
|
|
816
|
+
to: string;
|
|
817
|
+
};
|
|
818
|
+
metrics: {
|
|
819
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
820
|
+
field?: "amount" | "amountReceived" | "feePercent" | undefined;
|
|
821
|
+
alias?: string | undefined;
|
|
822
|
+
}[];
|
|
823
|
+
limit?: number | undefined;
|
|
824
|
+
groupBy?: ({
|
|
825
|
+
type: "field";
|
|
826
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
827
|
+
} | {
|
|
828
|
+
type: "date_bucket";
|
|
829
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
830
|
+
granularity: "day" | "week" | "month";
|
|
831
|
+
})[] | undefined;
|
|
832
|
+
filters?: {
|
|
833
|
+
value: string | number | boolean | (string | number)[];
|
|
834
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
835
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
836
|
+
}[] | undefined;
|
|
837
|
+
orderBy?: {
|
|
838
|
+
key: string;
|
|
839
|
+
direction: "asc" | "desc";
|
|
840
|
+
} | undefined;
|
|
841
|
+
}>, z.ZodObject<{
|
|
842
|
+
resource: z.ZodLiteral<"transactions">;
|
|
843
|
+
environment: z.ZodEnum<["live", "test"]>;
|
|
844
|
+
dateRange: z.ZodObject<{
|
|
845
|
+
field: z.ZodEnum<["detectedAt"]>;
|
|
846
|
+
from: z.ZodString;
|
|
847
|
+
to: z.ZodString;
|
|
848
|
+
}, "strip", z.ZodTypeAny, {
|
|
849
|
+
field: "detectedAt";
|
|
850
|
+
from: string;
|
|
851
|
+
to: string;
|
|
852
|
+
}, {
|
|
853
|
+
field: "detectedAt";
|
|
854
|
+
from: string;
|
|
855
|
+
to: string;
|
|
856
|
+
}>;
|
|
857
|
+
groupBy: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
858
|
+
type: z.ZodLiteral<"field">;
|
|
859
|
+
field: z.ZodEnum<["network", "token", "source", "causedTransition"]>;
|
|
860
|
+
}, "strip", z.ZodTypeAny, {
|
|
861
|
+
type: "field";
|
|
862
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
863
|
+
}, {
|
|
864
|
+
type: "field";
|
|
865
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
866
|
+
}>, z.ZodObject<{
|
|
867
|
+
type: z.ZodLiteral<"date_bucket">;
|
|
868
|
+
field: z.ZodEnum<["detectedAt"]>;
|
|
869
|
+
granularity: z.ZodEnum<["day", "week", "month"]>;
|
|
870
|
+
}, "strip", z.ZodTypeAny, {
|
|
871
|
+
type: "date_bucket";
|
|
872
|
+
field: "detectedAt";
|
|
873
|
+
granularity: "day" | "week" | "month";
|
|
874
|
+
}, {
|
|
875
|
+
type: "date_bucket";
|
|
876
|
+
field: "detectedAt";
|
|
877
|
+
granularity: "day" | "week" | "month";
|
|
878
|
+
}>]>, "many">>;
|
|
879
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
880
|
+
aggregation: z.ZodEnum<["count", "sum", "avg", "min", "max"]>;
|
|
881
|
+
field: z.ZodOptional<z.ZodEnum<["amount"]>>;
|
|
882
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
883
|
+
}, "strip", z.ZodTypeAny, {
|
|
884
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
885
|
+
field?: "amount" | undefined;
|
|
886
|
+
alias?: string | undefined;
|
|
887
|
+
}, {
|
|
888
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
889
|
+
field?: "amount" | undefined;
|
|
890
|
+
alias?: string | undefined;
|
|
891
|
+
}>, "many">;
|
|
892
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
893
|
+
field: z.ZodEnum<["network", "token", "source", "causedTransition"]>;
|
|
894
|
+
operator: z.ZodEnum<["eq", "neq", "in", "gt", "gte", "lt", "lte"]>;
|
|
895
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
|
|
896
|
+
}, "strip", z.ZodTypeAny, {
|
|
897
|
+
value: string | number | boolean | (string | number)[];
|
|
898
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
899
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
900
|
+
}, {
|
|
901
|
+
value: string | number | boolean | (string | number)[];
|
|
902
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
903
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
904
|
+
}>, "many">>;
|
|
905
|
+
orderBy: z.ZodOptional<z.ZodObject<{
|
|
906
|
+
key: z.ZodString;
|
|
907
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
908
|
+
}, "strip", z.ZodTypeAny, {
|
|
909
|
+
key: string;
|
|
910
|
+
direction: "asc" | "desc";
|
|
911
|
+
}, {
|
|
912
|
+
key: string;
|
|
913
|
+
direction: "asc" | "desc";
|
|
914
|
+
}>>;
|
|
915
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
916
|
+
}, "strip", z.ZodTypeAny, {
|
|
917
|
+
limit: number;
|
|
918
|
+
environment: "live" | "test";
|
|
919
|
+
resource: "transactions";
|
|
920
|
+
dateRange: {
|
|
921
|
+
field: "detectedAt";
|
|
922
|
+
from: string;
|
|
923
|
+
to: string;
|
|
924
|
+
};
|
|
925
|
+
groupBy: ({
|
|
926
|
+
type: "field";
|
|
927
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
928
|
+
} | {
|
|
929
|
+
type: "date_bucket";
|
|
930
|
+
field: "detectedAt";
|
|
931
|
+
granularity: "day" | "week" | "month";
|
|
932
|
+
})[];
|
|
933
|
+
metrics: {
|
|
934
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
935
|
+
field?: "amount" | undefined;
|
|
936
|
+
alias?: string | undefined;
|
|
937
|
+
}[];
|
|
938
|
+
filters: {
|
|
939
|
+
value: string | number | boolean | (string | number)[];
|
|
940
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
941
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
942
|
+
}[];
|
|
943
|
+
orderBy?: {
|
|
944
|
+
key: string;
|
|
945
|
+
direction: "asc" | "desc";
|
|
946
|
+
} | undefined;
|
|
947
|
+
}, {
|
|
948
|
+
environment: "live" | "test";
|
|
949
|
+
resource: "transactions";
|
|
950
|
+
dateRange: {
|
|
951
|
+
field: "detectedAt";
|
|
952
|
+
from: string;
|
|
953
|
+
to: string;
|
|
954
|
+
};
|
|
955
|
+
metrics: {
|
|
956
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
957
|
+
field?: "amount" | undefined;
|
|
958
|
+
alias?: string | undefined;
|
|
959
|
+
}[];
|
|
960
|
+
limit?: number | undefined;
|
|
961
|
+
groupBy?: ({
|
|
962
|
+
type: "field";
|
|
963
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
964
|
+
} | {
|
|
965
|
+
type: "date_bucket";
|
|
966
|
+
field: "detectedAt";
|
|
967
|
+
granularity: "day" | "week" | "month";
|
|
968
|
+
})[] | undefined;
|
|
969
|
+
filters?: {
|
|
970
|
+
value: string | number | boolean | (string | number)[];
|
|
971
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
972
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
973
|
+
}[] | undefined;
|
|
974
|
+
orderBy?: {
|
|
975
|
+
key: string;
|
|
976
|
+
direction: "asc" | "desc";
|
|
977
|
+
} | undefined;
|
|
978
|
+
}>, z.ZodObject<{
|
|
979
|
+
resource: z.ZodLiteral<"distributions">;
|
|
980
|
+
environment: z.ZodEnum<["live", "test"]>;
|
|
981
|
+
dateRange: z.ZodObject<{
|
|
982
|
+
field: z.ZodEnum<["createdAt", "completedAt"]>;
|
|
983
|
+
from: z.ZodString;
|
|
984
|
+
to: z.ZodString;
|
|
985
|
+
}, "strip", z.ZodTypeAny, {
|
|
986
|
+
field: "createdAt" | "completedAt";
|
|
987
|
+
from: string;
|
|
988
|
+
to: string;
|
|
989
|
+
}, {
|
|
990
|
+
field: "createdAt" | "completedAt";
|
|
991
|
+
from: string;
|
|
992
|
+
to: string;
|
|
993
|
+
}>;
|
|
994
|
+
groupBy: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
995
|
+
type: z.ZodLiteral<"field">;
|
|
996
|
+
field: z.ZodEnum<["status", "network", "token"]>;
|
|
997
|
+
}, "strip", z.ZodTypeAny, {
|
|
998
|
+
type: "field";
|
|
999
|
+
field: "status" | "token" | "network";
|
|
1000
|
+
}, {
|
|
1001
|
+
type: "field";
|
|
1002
|
+
field: "status" | "token" | "network";
|
|
1003
|
+
}>, z.ZodObject<{
|
|
1004
|
+
type: z.ZodLiteral<"date_bucket">;
|
|
1005
|
+
field: z.ZodEnum<["createdAt", "completedAt"]>;
|
|
1006
|
+
granularity: z.ZodEnum<["day", "week", "month"]>;
|
|
1007
|
+
}, "strip", z.ZodTypeAny, {
|
|
1008
|
+
type: "date_bucket";
|
|
1009
|
+
field: "createdAt" | "completedAt";
|
|
1010
|
+
granularity: "day" | "week" | "month";
|
|
1011
|
+
}, {
|
|
1012
|
+
type: "date_bucket";
|
|
1013
|
+
field: "createdAt" | "completedAt";
|
|
1014
|
+
granularity: "day" | "week" | "month";
|
|
1015
|
+
}>]>, "many">>;
|
|
1016
|
+
metrics: z.ZodArray<z.ZodObject<{
|
|
1017
|
+
aggregation: z.ZodEnum<["count", "sum", "avg", "min", "max"]>;
|
|
1018
|
+
field: z.ZodOptional<z.ZodEnum<["attempts"]>>;
|
|
1019
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
}, "strip", z.ZodTypeAny, {
|
|
1021
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1022
|
+
field?: "attempts" | undefined;
|
|
1023
|
+
alias?: string | undefined;
|
|
1024
|
+
}, {
|
|
1025
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1026
|
+
field?: "attempts" | undefined;
|
|
1027
|
+
alias?: string | undefined;
|
|
1028
|
+
}>, "many">;
|
|
1029
|
+
filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1030
|
+
field: z.ZodEnum<["status", "network", "token"]>;
|
|
1031
|
+
operator: z.ZodEnum<["eq", "neq", "in", "gt", "gte", "lt", "lte"]>;
|
|
1032
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
|
|
1033
|
+
}, "strip", z.ZodTypeAny, {
|
|
1034
|
+
value: string | number | boolean | (string | number)[];
|
|
1035
|
+
field: "status" | "token" | "network";
|
|
1036
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1037
|
+
}, {
|
|
1038
|
+
value: string | number | boolean | (string | number)[];
|
|
1039
|
+
field: "status" | "token" | "network";
|
|
1040
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1041
|
+
}>, "many">>;
|
|
1042
|
+
orderBy: z.ZodOptional<z.ZodObject<{
|
|
1043
|
+
key: z.ZodString;
|
|
1044
|
+
direction: z.ZodEnum<["asc", "desc"]>;
|
|
1045
|
+
}, "strip", z.ZodTypeAny, {
|
|
1046
|
+
key: string;
|
|
1047
|
+
direction: "asc" | "desc";
|
|
1048
|
+
}, {
|
|
1049
|
+
key: string;
|
|
1050
|
+
direction: "asc" | "desc";
|
|
1051
|
+
}>>;
|
|
1052
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
1053
|
+
}, "strip", z.ZodTypeAny, {
|
|
1054
|
+
limit: number;
|
|
1055
|
+
environment: "live" | "test";
|
|
1056
|
+
resource: "distributions";
|
|
1057
|
+
dateRange: {
|
|
1058
|
+
field: "createdAt" | "completedAt";
|
|
1059
|
+
from: string;
|
|
1060
|
+
to: string;
|
|
1061
|
+
};
|
|
1062
|
+
groupBy: ({
|
|
1063
|
+
type: "field";
|
|
1064
|
+
field: "status" | "token" | "network";
|
|
1065
|
+
} | {
|
|
1066
|
+
type: "date_bucket";
|
|
1067
|
+
field: "createdAt" | "completedAt";
|
|
1068
|
+
granularity: "day" | "week" | "month";
|
|
1069
|
+
})[];
|
|
1070
|
+
metrics: {
|
|
1071
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1072
|
+
field?: "attempts" | undefined;
|
|
1073
|
+
alias?: string | undefined;
|
|
1074
|
+
}[];
|
|
1075
|
+
filters: {
|
|
1076
|
+
value: string | number | boolean | (string | number)[];
|
|
1077
|
+
field: "status" | "token" | "network";
|
|
1078
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1079
|
+
}[];
|
|
1080
|
+
orderBy?: {
|
|
1081
|
+
key: string;
|
|
1082
|
+
direction: "asc" | "desc";
|
|
1083
|
+
} | undefined;
|
|
1084
|
+
}, {
|
|
1085
|
+
environment: "live" | "test";
|
|
1086
|
+
resource: "distributions";
|
|
1087
|
+
dateRange: {
|
|
1088
|
+
field: "createdAt" | "completedAt";
|
|
1089
|
+
from: string;
|
|
1090
|
+
to: string;
|
|
1091
|
+
};
|
|
1092
|
+
metrics: {
|
|
1093
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1094
|
+
field?: "attempts" | undefined;
|
|
1095
|
+
alias?: string | undefined;
|
|
1096
|
+
}[];
|
|
1097
|
+
limit?: number | undefined;
|
|
1098
|
+
groupBy?: ({
|
|
1099
|
+
type: "field";
|
|
1100
|
+
field: "status" | "token" | "network";
|
|
1101
|
+
} | {
|
|
1102
|
+
type: "date_bucket";
|
|
1103
|
+
field: "createdAt" | "completedAt";
|
|
1104
|
+
granularity: "day" | "week" | "month";
|
|
1105
|
+
})[] | undefined;
|
|
1106
|
+
filters?: {
|
|
1107
|
+
value: string | number | boolean | (string | number)[];
|
|
1108
|
+
field: "status" | "token" | "network";
|
|
1109
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1110
|
+
}[] | undefined;
|
|
1111
|
+
orderBy?: {
|
|
1112
|
+
key: string;
|
|
1113
|
+
direction: "asc" | "desc";
|
|
1114
|
+
} | undefined;
|
|
1115
|
+
}>]>, {
|
|
1116
|
+
limit: number;
|
|
1117
|
+
environment: "live" | "test";
|
|
1118
|
+
resource: "charges";
|
|
1119
|
+
dateRange: {
|
|
1120
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
1121
|
+
from: string;
|
|
1122
|
+
to: string;
|
|
1123
|
+
};
|
|
1124
|
+
groupBy: ({
|
|
1125
|
+
type: "field";
|
|
1126
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
1127
|
+
} | {
|
|
1128
|
+
type: "date_bucket";
|
|
1129
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
1130
|
+
granularity: "day" | "week" | "month";
|
|
1131
|
+
})[];
|
|
1132
|
+
metrics: {
|
|
1133
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1134
|
+
field?: "amount" | "amountReceived" | "feePercent" | undefined;
|
|
1135
|
+
alias?: string | undefined;
|
|
1136
|
+
}[];
|
|
1137
|
+
filters: {
|
|
1138
|
+
value: string | number | boolean | (string | number)[];
|
|
1139
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
1140
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1141
|
+
}[];
|
|
1142
|
+
orderBy?: {
|
|
1143
|
+
key: string;
|
|
1144
|
+
direction: "asc" | "desc";
|
|
1145
|
+
} | undefined;
|
|
1146
|
+
} | {
|
|
1147
|
+
limit: number;
|
|
1148
|
+
environment: "live" | "test";
|
|
1149
|
+
resource: "transactions";
|
|
1150
|
+
dateRange: {
|
|
1151
|
+
field: "detectedAt";
|
|
1152
|
+
from: string;
|
|
1153
|
+
to: string;
|
|
1154
|
+
};
|
|
1155
|
+
groupBy: ({
|
|
1156
|
+
type: "field";
|
|
1157
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
1158
|
+
} | {
|
|
1159
|
+
type: "date_bucket";
|
|
1160
|
+
field: "detectedAt";
|
|
1161
|
+
granularity: "day" | "week" | "month";
|
|
1162
|
+
})[];
|
|
1163
|
+
metrics: {
|
|
1164
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1165
|
+
field?: "amount" | undefined;
|
|
1166
|
+
alias?: string | undefined;
|
|
1167
|
+
}[];
|
|
1168
|
+
filters: {
|
|
1169
|
+
value: string | number | boolean | (string | number)[];
|
|
1170
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
1171
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1172
|
+
}[];
|
|
1173
|
+
orderBy?: {
|
|
1174
|
+
key: string;
|
|
1175
|
+
direction: "asc" | "desc";
|
|
1176
|
+
} | undefined;
|
|
1177
|
+
} | {
|
|
1178
|
+
limit: number;
|
|
1179
|
+
environment: "live" | "test";
|
|
1180
|
+
resource: "distributions";
|
|
1181
|
+
dateRange: {
|
|
1182
|
+
field: "createdAt" | "completedAt";
|
|
1183
|
+
from: string;
|
|
1184
|
+
to: string;
|
|
1185
|
+
};
|
|
1186
|
+
groupBy: ({
|
|
1187
|
+
type: "field";
|
|
1188
|
+
field: "status" | "token" | "network";
|
|
1189
|
+
} | {
|
|
1190
|
+
type: "date_bucket";
|
|
1191
|
+
field: "createdAt" | "completedAt";
|
|
1192
|
+
granularity: "day" | "week" | "month";
|
|
1193
|
+
})[];
|
|
1194
|
+
metrics: {
|
|
1195
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1196
|
+
field?: "attempts" | undefined;
|
|
1197
|
+
alias?: string | undefined;
|
|
1198
|
+
}[];
|
|
1199
|
+
filters: {
|
|
1200
|
+
value: string | number | boolean | (string | number)[];
|
|
1201
|
+
field: "status" | "token" | "network";
|
|
1202
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1203
|
+
}[];
|
|
1204
|
+
orderBy?: {
|
|
1205
|
+
key: string;
|
|
1206
|
+
direction: "asc" | "desc";
|
|
1207
|
+
} | undefined;
|
|
1208
|
+
}, {
|
|
1209
|
+
environment: "live" | "test";
|
|
1210
|
+
resource: "charges";
|
|
1211
|
+
dateRange: {
|
|
1212
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
1213
|
+
from: string;
|
|
1214
|
+
to: string;
|
|
1215
|
+
};
|
|
1216
|
+
metrics: {
|
|
1217
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1218
|
+
field?: "amount" | "amountReceived" | "feePercent" | undefined;
|
|
1219
|
+
alias?: string | undefined;
|
|
1220
|
+
}[];
|
|
1221
|
+
limit?: number | undefined;
|
|
1222
|
+
groupBy?: ({
|
|
1223
|
+
type: "field";
|
|
1224
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
1225
|
+
} | {
|
|
1226
|
+
type: "date_bucket";
|
|
1227
|
+
field: "createdAt" | "confirmedAt" | "lastActivityAt";
|
|
1228
|
+
granularity: "day" | "week" | "month";
|
|
1229
|
+
})[] | undefined;
|
|
1230
|
+
filters?: {
|
|
1231
|
+
value: string | number | boolean | (string | number)[];
|
|
1232
|
+
field: "status" | "mode" | "currency" | "externalRef" | "source" | "isOverpaid" | "apiKeyId";
|
|
1233
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1234
|
+
}[] | undefined;
|
|
1235
|
+
orderBy?: {
|
|
1236
|
+
key: string;
|
|
1237
|
+
direction: "asc" | "desc";
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
} | {
|
|
1240
|
+
environment: "live" | "test";
|
|
1241
|
+
resource: "transactions";
|
|
1242
|
+
dateRange: {
|
|
1243
|
+
field: "detectedAt";
|
|
1244
|
+
from: string;
|
|
1245
|
+
to: string;
|
|
1246
|
+
};
|
|
1247
|
+
metrics: {
|
|
1248
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1249
|
+
field?: "amount" | undefined;
|
|
1250
|
+
alias?: string | undefined;
|
|
1251
|
+
}[];
|
|
1252
|
+
limit?: number | undefined;
|
|
1253
|
+
groupBy?: ({
|
|
1254
|
+
type: "field";
|
|
1255
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
1256
|
+
} | {
|
|
1257
|
+
type: "date_bucket";
|
|
1258
|
+
field: "detectedAt";
|
|
1259
|
+
granularity: "day" | "week" | "month";
|
|
1260
|
+
})[] | undefined;
|
|
1261
|
+
filters?: {
|
|
1262
|
+
value: string | number | boolean | (string | number)[];
|
|
1263
|
+
field: "token" | "network" | "source" | "causedTransition";
|
|
1264
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1265
|
+
}[] | undefined;
|
|
1266
|
+
orderBy?: {
|
|
1267
|
+
key: string;
|
|
1268
|
+
direction: "asc" | "desc";
|
|
1269
|
+
} | undefined;
|
|
1270
|
+
} | {
|
|
1271
|
+
environment: "live" | "test";
|
|
1272
|
+
resource: "distributions";
|
|
1273
|
+
dateRange: {
|
|
1274
|
+
field: "createdAt" | "completedAt";
|
|
1275
|
+
from: string;
|
|
1276
|
+
to: string;
|
|
1277
|
+
};
|
|
1278
|
+
metrics: {
|
|
1279
|
+
aggregation: "count" | "sum" | "avg" | "min" | "max";
|
|
1280
|
+
field?: "attempts" | undefined;
|
|
1281
|
+
alias?: string | undefined;
|
|
1282
|
+
}[];
|
|
1283
|
+
limit?: number | undefined;
|
|
1284
|
+
groupBy?: ({
|
|
1285
|
+
type: "field";
|
|
1286
|
+
field: "status" | "token" | "network";
|
|
1287
|
+
} | {
|
|
1288
|
+
type: "date_bucket";
|
|
1289
|
+
field: "createdAt" | "completedAt";
|
|
1290
|
+
granularity: "day" | "week" | "month";
|
|
1291
|
+
})[] | undefined;
|
|
1292
|
+
filters?: {
|
|
1293
|
+
value: string | number | boolean | (string | number)[];
|
|
1294
|
+
field: "status" | "token" | "network";
|
|
1295
|
+
operator: "eq" | "neq" | "in" | "gt" | "gte" | "lt" | "lte";
|
|
1296
|
+
}[] | undefined;
|
|
1297
|
+
orderBy?: {
|
|
1298
|
+
key: string;
|
|
1299
|
+
direction: "asc" | "desc";
|
|
1300
|
+
} | undefined;
|
|
1301
|
+
}>;
|
|
1302
|
+
type MetricsQuery = z.infer<typeof MetricsQuerySchema>;
|
|
1303
|
+
type MetricsQueryRequest = z.input<typeof MetricsQuerySchema>;
|
|
1304
|
+
declare const MetricsQueryResultRowSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
|
|
1305
|
+
type MetricsQueryResultRow = z.infer<typeof MetricsQueryResultRowSchema>;
|
|
1306
|
+
declare const MetricsQueryScopeSchema: z.ZodEnum<["owner_admin", "member"]>;
|
|
1307
|
+
type MetricsQueryScope = z.infer<typeof MetricsQueryScopeSchema>;
|
|
1308
|
+
declare const MetricsQueryResultSchema: z.ZodObject<{
|
|
1309
|
+
data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>, "many">;
|
|
1310
|
+
meta: z.ZodObject<{
|
|
1311
|
+
resource: z.ZodEnum<["charges", "transactions", "distributions"]>;
|
|
1312
|
+
environment: z.ZodEnum<["live", "test"]>;
|
|
1313
|
+
scope: z.ZodEnum<["owner_admin", "member"]>;
|
|
1314
|
+
rowCount: z.ZodNumber;
|
|
1315
|
+
truncated: z.ZodBoolean;
|
|
1316
|
+
}, "strip", z.ZodTypeAny, {
|
|
1317
|
+
environment: "live" | "test";
|
|
1318
|
+
resource: "charges" | "transactions" | "distributions";
|
|
1319
|
+
scope: "owner_admin" | "member";
|
|
1320
|
+
rowCount: number;
|
|
1321
|
+
truncated: boolean;
|
|
1322
|
+
}, {
|
|
1323
|
+
environment: "live" | "test";
|
|
1324
|
+
resource: "charges" | "transactions" | "distributions";
|
|
1325
|
+
scope: "owner_admin" | "member";
|
|
1326
|
+
rowCount: number;
|
|
1327
|
+
truncated: boolean;
|
|
1328
|
+
}>;
|
|
1329
|
+
}, "strip", z.ZodTypeAny, {
|
|
1330
|
+
data: Record<string, string | number | boolean | null>[];
|
|
1331
|
+
meta: {
|
|
1332
|
+
environment: "live" | "test";
|
|
1333
|
+
resource: "charges" | "transactions" | "distributions";
|
|
1334
|
+
scope: "owner_admin" | "member";
|
|
1335
|
+
rowCount: number;
|
|
1336
|
+
truncated: boolean;
|
|
1337
|
+
};
|
|
1338
|
+
}, {
|
|
1339
|
+
data: Record<string, string | number | boolean | null>[];
|
|
1340
|
+
meta: {
|
|
1341
|
+
environment: "live" | "test";
|
|
1342
|
+
resource: "charges" | "transactions" | "distributions";
|
|
1343
|
+
scope: "owner_admin" | "member";
|
|
1344
|
+
rowCount: number;
|
|
1345
|
+
truncated: boolean;
|
|
1346
|
+
};
|
|
1347
|
+
}>;
|
|
1348
|
+
type MetricsQueryResult = z.infer<typeof MetricsQueryResultSchema>;
|
|
1349
|
+
|
|
670
1350
|
declare const ChargeWebhookEventTypeSchema: z.ZodEnum<["charge.created", "charge.partially_paid", "charge.confirmed", "charge.expired", "charge.underpaid", "charge.settled", "charge.settlement_failed", "charge.overpaid", "charge.paused", "charge.reactivated", "charge.contribution_received", "charge.contribution_settled"]>;
|
|
671
1351
|
declare const AccountWebhookEventTypeSchema: z.ZodEnum<["payout_address.changed", "api_key.created", "api_key.revoked", "webhook.created", "webhook.deleted", "webhook.secret_rotated", "fee_tier.updated", "member.removed", "member.role_changed", "member.invited"]>;
|
|
672
1352
|
declare const WebhookDeliveryEventTypeSchema: z.ZodEnum<["webhook.delivery_failed", "webhook.delivery_recovered", "webhook.endpoint_unhealthy"]>;
|
|
@@ -675,7 +1355,6 @@ declare const WebhookEventTypeSchema: z.ZodUnion<[z.ZodEnum<["charge.created", "
|
|
|
675
1355
|
type WebhookEventType = z.infer<typeof WebhookEventTypeSchema>;
|
|
676
1356
|
declare const WebhookCategorySchema: z.ZodEnum<["payments", "account", "webhooks", "security"]>;
|
|
677
1357
|
type WebhookCategory = z.infer<typeof WebhookCategorySchema>;
|
|
678
|
-
/** Single source of truth for which category each event belongs to — see `webhook-events.test.ts` for the completeness check. */
|
|
679
1358
|
declare const EVENT_CATEGORY_MAP: Record<"charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed", "payments" | "account" | "webhooks" | "security">;
|
|
680
1359
|
declare const WEBHOOK_EVENT_CATEGORIES: Record<WebhookCategory, readonly WebhookEventType[]>;
|
|
681
1360
|
declare const TriggerableChargeEventSchema: z.ZodEnum<["charge.partially_paid", "charge.confirmed", "charge.expired", "charge.underpaid", "charge.settled", "charge.settlement_failed", "charge.overpaid"]>;
|
|
@@ -688,9 +1367,9 @@ type UserRole = z.infer<typeof UserRoleSchema>;
|
|
|
688
1367
|
declare const UpdateUserRoleSchema: z.ZodObject<{
|
|
689
1368
|
role: z.ZodEnum<["owner", "admin", "member"]>;
|
|
690
1369
|
}, "strip", z.ZodTypeAny, {
|
|
691
|
-
role: "
|
|
1370
|
+
role: "member" | "owner" | "admin";
|
|
692
1371
|
}, {
|
|
693
|
-
role: "
|
|
1372
|
+
role: "member" | "owner" | "admin";
|
|
694
1373
|
}>;
|
|
695
1374
|
type UpdateUserRoleInput = z.infer<typeof UpdateUserRoleSchema>;
|
|
696
1375
|
declare const UserSchema: z.ZodObject<{
|
|
@@ -703,14 +1382,14 @@ declare const UserSchema: z.ZodObject<{
|
|
|
703
1382
|
}, "strip", z.ZodTypeAny, {
|
|
704
1383
|
id: string;
|
|
705
1384
|
createdAt: string;
|
|
706
|
-
role: "
|
|
1385
|
+
role: "member" | "owner" | "admin";
|
|
707
1386
|
email: string;
|
|
708
1387
|
name: string | null;
|
|
709
1388
|
emailVerifiedAt: string | null;
|
|
710
1389
|
}, {
|
|
711
1390
|
id: string;
|
|
712
1391
|
createdAt: string;
|
|
713
|
-
role: "
|
|
1392
|
+
role: "member" | "owner" | "admin";
|
|
714
1393
|
email: string;
|
|
715
1394
|
name: string | null;
|
|
716
1395
|
emailVerifiedAt: string | null;
|
|
@@ -739,14 +1418,14 @@ declare const PaginatedUsersSchema: z.ZodObject<{
|
|
|
739
1418
|
}, "strip", z.ZodTypeAny, {
|
|
740
1419
|
id: string;
|
|
741
1420
|
createdAt: string;
|
|
742
|
-
role: "
|
|
1421
|
+
role: "member" | "owner" | "admin";
|
|
743
1422
|
email: string;
|
|
744
1423
|
name: string | null;
|
|
745
1424
|
emailVerifiedAt: string | null;
|
|
746
1425
|
}, {
|
|
747
1426
|
id: string;
|
|
748
1427
|
createdAt: string;
|
|
749
|
-
role: "
|
|
1428
|
+
role: "member" | "owner" | "admin";
|
|
750
1429
|
email: string;
|
|
751
1430
|
name: string | null;
|
|
752
1431
|
emailVerifiedAt: string | null;
|
|
@@ -757,7 +1436,7 @@ declare const PaginatedUsersSchema: z.ZodObject<{
|
|
|
757
1436
|
data: {
|
|
758
1437
|
id: string;
|
|
759
1438
|
createdAt: string;
|
|
760
|
-
role: "
|
|
1439
|
+
role: "member" | "owner" | "admin";
|
|
761
1440
|
email: string;
|
|
762
1441
|
name: string | null;
|
|
763
1442
|
emailVerifiedAt: string | null;
|
|
@@ -768,7 +1447,7 @@ declare const PaginatedUsersSchema: z.ZodObject<{
|
|
|
768
1447
|
data: {
|
|
769
1448
|
id: string;
|
|
770
1449
|
createdAt: string;
|
|
771
|
-
role: "
|
|
1450
|
+
role: "member" | "owner" | "admin";
|
|
772
1451
|
email: string;
|
|
773
1452
|
name: string | null;
|
|
774
1453
|
emailVerifiedAt: string | null;
|
|
@@ -1029,9 +1708,9 @@ declare const WebhookDeliverySchema: z.ZodObject<{
|
|
|
1029
1708
|
status: "pending" | "failed" | "delivered";
|
|
1030
1709
|
id: string;
|
|
1031
1710
|
createdAt: string;
|
|
1711
|
+
attempts: number;
|
|
1032
1712
|
event: "charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed";
|
|
1033
1713
|
webhookId: string;
|
|
1034
|
-
attempts: number;
|
|
1035
1714
|
responseCode: number | null;
|
|
1036
1715
|
nextRetryAt: string | null;
|
|
1037
1716
|
deliveredAt: string | null;
|
|
@@ -1039,9 +1718,9 @@ declare const WebhookDeliverySchema: z.ZodObject<{
|
|
|
1039
1718
|
status: "pending" | "failed" | "delivered";
|
|
1040
1719
|
id: string;
|
|
1041
1720
|
createdAt: string;
|
|
1721
|
+
attempts: number;
|
|
1042
1722
|
event: "charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed";
|
|
1043
1723
|
webhookId: string;
|
|
1044
|
-
attempts: number;
|
|
1045
1724
|
responseCode: number | null;
|
|
1046
1725
|
nextRetryAt: string | null;
|
|
1047
1726
|
deliveredAt: string | null;
|
|
@@ -1074,9 +1753,9 @@ declare const PaginatedWebhookDeliveriesSchema: z.ZodObject<{
|
|
|
1074
1753
|
status: "pending" | "failed" | "delivered";
|
|
1075
1754
|
id: string;
|
|
1076
1755
|
createdAt: string;
|
|
1756
|
+
attempts: number;
|
|
1077
1757
|
event: "charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed";
|
|
1078
1758
|
webhookId: string;
|
|
1079
|
-
attempts: number;
|
|
1080
1759
|
responseCode: number | null;
|
|
1081
1760
|
nextRetryAt: string | null;
|
|
1082
1761
|
deliveredAt: string | null;
|
|
@@ -1084,9 +1763,9 @@ declare const PaginatedWebhookDeliveriesSchema: z.ZodObject<{
|
|
|
1084
1763
|
status: "pending" | "failed" | "delivered";
|
|
1085
1764
|
id: string;
|
|
1086
1765
|
createdAt: string;
|
|
1766
|
+
attempts: number;
|
|
1087
1767
|
event: "charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed";
|
|
1088
1768
|
webhookId: string;
|
|
1089
|
-
attempts: number;
|
|
1090
1769
|
responseCode: number | null;
|
|
1091
1770
|
nextRetryAt: string | null;
|
|
1092
1771
|
deliveredAt: string | null;
|
|
@@ -1098,9 +1777,9 @@ declare const PaginatedWebhookDeliveriesSchema: z.ZodObject<{
|
|
|
1098
1777
|
status: "pending" | "failed" | "delivered";
|
|
1099
1778
|
id: string;
|
|
1100
1779
|
createdAt: string;
|
|
1780
|
+
attempts: number;
|
|
1101
1781
|
event: "charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed";
|
|
1102
1782
|
webhookId: string;
|
|
1103
|
-
attempts: number;
|
|
1104
1783
|
responseCode: number | null;
|
|
1105
1784
|
nextRetryAt: string | null;
|
|
1106
1785
|
deliveredAt: string | null;
|
|
@@ -1112,9 +1791,9 @@ declare const PaginatedWebhookDeliveriesSchema: z.ZodObject<{
|
|
|
1112
1791
|
status: "pending" | "failed" | "delivered";
|
|
1113
1792
|
id: string;
|
|
1114
1793
|
createdAt: string;
|
|
1794
|
+
attempts: number;
|
|
1115
1795
|
event: "charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed";
|
|
1116
1796
|
webhookId: string;
|
|
1117
|
-
attempts: number;
|
|
1118
1797
|
responseCode: number | null;
|
|
1119
1798
|
nextRetryAt: string | null;
|
|
1120
1799
|
deliveredAt: string | null;
|
|
@@ -1379,7 +2058,7 @@ declare const OrganizationWithRoleSchema: z.ZodObject<{
|
|
|
1379
2058
|
}, "strip", z.ZodTypeAny, {
|
|
1380
2059
|
id: string;
|
|
1381
2060
|
createdAt: string;
|
|
1382
|
-
role: "
|
|
2061
|
+
role: "member" | "owner" | "admin";
|
|
1383
2062
|
name: string;
|
|
1384
2063
|
payoutAddress: string | null;
|
|
1385
2064
|
currentFeePercent: number;
|
|
@@ -1387,7 +2066,7 @@ declare const OrganizationWithRoleSchema: z.ZodObject<{
|
|
|
1387
2066
|
}, {
|
|
1388
2067
|
id: string;
|
|
1389
2068
|
createdAt: string;
|
|
1390
|
-
role: "
|
|
2069
|
+
role: "member" | "owner" | "admin";
|
|
1391
2070
|
name: string;
|
|
1392
2071
|
payoutAddress: string | null;
|
|
1393
2072
|
currentFeePercent: number;
|
|
@@ -1407,7 +2086,7 @@ declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
|
1407
2086
|
}, "strip", z.ZodTypeAny, {
|
|
1408
2087
|
id: string;
|
|
1409
2088
|
createdAt: string;
|
|
1410
|
-
role: "
|
|
2089
|
+
role: "member" | "owner" | "admin";
|
|
1411
2090
|
name: string;
|
|
1412
2091
|
payoutAddress: string | null;
|
|
1413
2092
|
currentFeePercent: number;
|
|
@@ -1415,7 +2094,7 @@ declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
|
1415
2094
|
}, {
|
|
1416
2095
|
id: string;
|
|
1417
2096
|
createdAt: string;
|
|
1418
|
-
role: "
|
|
2097
|
+
role: "member" | "owner" | "admin";
|
|
1419
2098
|
name: string;
|
|
1420
2099
|
payoutAddress: string | null;
|
|
1421
2100
|
currentFeePercent: number;
|
|
@@ -1427,7 +2106,7 @@ declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
|
1427
2106
|
data: {
|
|
1428
2107
|
id: string;
|
|
1429
2108
|
createdAt: string;
|
|
1430
|
-
role: "
|
|
2109
|
+
role: "member" | "owner" | "admin";
|
|
1431
2110
|
name: string;
|
|
1432
2111
|
payoutAddress: string | null;
|
|
1433
2112
|
currentFeePercent: number;
|
|
@@ -1439,7 +2118,7 @@ declare const PaginatedOrganizationsSchema: z.ZodObject<{
|
|
|
1439
2118
|
data: {
|
|
1440
2119
|
id: string;
|
|
1441
2120
|
createdAt: string;
|
|
1442
|
-
role: "
|
|
2121
|
+
role: "member" | "owner" | "admin";
|
|
1443
2122
|
name: string;
|
|
1444
2123
|
payoutAddress: string | null;
|
|
1445
2124
|
currentFeePercent: number;
|
|
@@ -1466,11 +2145,11 @@ declare const InviteUserSchema: z.ZodObject<{
|
|
|
1466
2145
|
email: z.ZodEffects<z.ZodString, string, string>;
|
|
1467
2146
|
role: z.ZodDefault<z.ZodEnum<["owner", "admin", "member"]>>;
|
|
1468
2147
|
}, "strip", z.ZodTypeAny, {
|
|
1469
|
-
role: "
|
|
2148
|
+
role: "member" | "owner" | "admin";
|
|
1470
2149
|
email: string;
|
|
1471
2150
|
}, {
|
|
1472
2151
|
email: string;
|
|
1473
|
-
role?: "
|
|
2152
|
+
role?: "member" | "owner" | "admin" | undefined;
|
|
1474
2153
|
}>;
|
|
1475
2154
|
type InviteUserInput = z.infer<typeof InviteUserSchema>;
|
|
1476
2155
|
type InviteUserRequest = z.input<typeof InviteUserSchema>;
|
|
@@ -1497,7 +2176,7 @@ declare const InvitationSchema: z.ZodObject<{
|
|
|
1497
2176
|
id: string;
|
|
1498
2177
|
createdAt: string;
|
|
1499
2178
|
expiresAt: string;
|
|
1500
|
-
role: "
|
|
2179
|
+
role: "member" | "owner" | "admin";
|
|
1501
2180
|
email: string;
|
|
1502
2181
|
organizationId: string;
|
|
1503
2182
|
invitedByUserId: string;
|
|
@@ -1505,7 +2184,7 @@ declare const InvitationSchema: z.ZodObject<{
|
|
|
1505
2184
|
id: string;
|
|
1506
2185
|
createdAt: string;
|
|
1507
2186
|
expiresAt: string;
|
|
1508
|
-
role: "
|
|
2187
|
+
role: "member" | "owner" | "admin";
|
|
1509
2188
|
email: string;
|
|
1510
2189
|
organizationId: string;
|
|
1511
2190
|
invitedByUserId: string;
|
|
@@ -1536,10 +2215,10 @@ declare const TimelineEventSchema: z.ZodObject<{
|
|
|
1536
2215
|
amount?: number | undefined;
|
|
1537
2216
|
source?: "moralis_webhook" | "reconciliation_job" | "sandbox" | undefined;
|
|
1538
2217
|
txHash?: string | undefined;
|
|
1539
|
-
|
|
2218
|
+
causedTransition?: boolean | undefined;
|
|
1540
2219
|
attempts?: number | undefined;
|
|
2220
|
+
event?: "charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed" | undefined;
|
|
1541
2221
|
responseCode?: number | null | undefined;
|
|
1542
|
-
causedTransition?: boolean | undefined;
|
|
1543
2222
|
}, {
|
|
1544
2223
|
type: "charge.created" | "charge.expired" | "transaction.detected" | "split.distributed" | "webhook.dispatched" | "webhook.delivered" | "webhook.failed";
|
|
1545
2224
|
at: string;
|
|
@@ -1548,10 +2227,10 @@ declare const TimelineEventSchema: z.ZodObject<{
|
|
|
1548
2227
|
amount?: number | undefined;
|
|
1549
2228
|
source?: "moralis_webhook" | "reconciliation_job" | "sandbox" | undefined;
|
|
1550
2229
|
txHash?: string | undefined;
|
|
1551
|
-
|
|
2230
|
+
causedTransition?: boolean | undefined;
|
|
1552
2231
|
attempts?: number | undefined;
|
|
2232
|
+
event?: "charge.created" | "charge.partially_paid" | "charge.confirmed" | "charge.expired" | "charge.underpaid" | "charge.settled" | "charge.settlement_failed" | "charge.overpaid" | "charge.paused" | "charge.reactivated" | "charge.contribution_received" | "charge.contribution_settled" | "payout_address.changed" | "api_key.created" | "api_key.revoked" | "webhook.created" | "webhook.deleted" | "webhook.secret_rotated" | "fee_tier.updated" | "member.removed" | "member.role_changed" | "member.invited" | "webhook.delivery_failed" | "webhook.delivery_recovered" | "webhook.endpoint_unhealthy" | "auth.login" | "auth.login_failed" | "auth.suspicious_activity" | "auth.email_verified" | "auth.password_reset_requested" | "auth.password_reset_completed" | undefined;
|
|
1553
2233
|
responseCode?: number | null | undefined;
|
|
1554
|
-
causedTransition?: boolean | undefined;
|
|
1555
2234
|
}>;
|
|
1556
2235
|
type TimelineEvent = z.infer<typeof TimelineEventSchema>;
|
|
1557
2236
|
|
|
@@ -1802,4 +2481,4 @@ declare const CapabilitiesSchema: z.ZodObject<{
|
|
|
1802
2481
|
}>;
|
|
1803
2482
|
type Capabilities = z.infer<typeof CapabilitiesSchema>;
|
|
1804
2483
|
|
|
1805
|
-
export { type AcceptInvitationInput, AcceptInvitationSchema, type AcceptedPayment, AcceptedPaymentSchema, AccountWebhookEventTypeSchema, type ApiKey, type ApiKeyEventData, ApiKeySchema, type AuthEmailVerifiedData, type AuthLoginData, type AuthLoginFailedData, type AuthPasswordResetCompletedData, type AuthPasswordResetRequestedData, type AuthResponse, AuthResponseSchema, type AuthSuspiciousActivityData, CHARGE_ACCEPTED_PAYMENTS_MAX, CHARGE_AMOUNT_MAX, CHARGE_EXPIRES_IN_MAX_SECONDS, CHARGE_EXPIRES_IN_MIN_SECONDS, type Capabilities, CapabilitiesSchema, type Charge, type ChargeContributionReceivedData, type ChargeContributionSettledData, type ChargeMode, ChargeModeSchema, type ChargePausedData, type ChargeReactivatedData, ChargeSchema, type ChargeStatus, type ChargeStatusEvent, ChargeStatusEventSchema, ChargeStatusSchema, ChargeWebhookEventTypeSchema, type CreateApiKeyInput, CreateApiKeySchema, type CreateChargeInput, type CreateChargeRequest, CreateChargeSchema, type CreateWebhookInput, type CreateWebhookRequest, CreateWebhookSchema, EVENT_CATEGORY_MAP, EVM_NETWORKS, type Environment, EnvironmentSchema, type ErrorPayload, ErrorPayloadSchema, type EvmNetwork, type FeeTierUpdatedData, type ForgotPasswordInput, ForgotPasswordSchema, type Health, HealthSchema, type Invitation, InvitationSchema, type InviteUserInput, type InviteUserRequest, InviteUserSchema, type ListApiKeysInput, type ListApiKeysRequest, ListApiKeysSchema, type ListChargesInput, type ListChargesRequest, ListChargesSchema, type ListOrganizationsInput, type ListOrganizationsRequest, ListOrganizationsSchema, type ListUsersInput, type ListUsersRequest, ListUsersSchema, type ListWebhookDeliveriesInput, type ListWebhookDeliveriesRequest, ListWebhookDeliveriesSchema, type LoginInput, LoginSchema, type MemberEventData, type MemberInvitedData, type MemberRoleChangedData, type MessageResponse, MessageResponseSchema, NETWORK_EXPLORERS, NETWORK_LABELS, type Network, NetworkSchema, type NonChargeTriggerableEvent, NonChargeTriggerableEventSchema, NormalizedEmailSchema, OPERATIONAL_NETWORKS, type OperationalNetwork, type Organization, OrganizationSchema, type OrganizationWithRole, OrganizationWithRoleSchema, PAGINATION_LIMIT_DEFAULT, PAGINATION_LIMIT_MAX, PAGINATION_LIMIT_MIN, type PaginatedApiKeys, PaginatedApiKeysSchema, type PaginatedCharges, PaginatedChargesSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedUsers, PaginatedUsersSchema, type PaginatedWebhookDeliveries, PaginatedWebhookDeliveriesSchema, type PaginationQuery, type PaginationQueryRequest, PaginationQuerySchema, type PayoutAddressChangedData, type PendingDistribution, type PendingDistributionEvent, PendingDistributionEventSchema, PendingDistributionRecipientSchema, PendingDistributionSchema, type ResetPasswordInput, ResetPasswordSchema, type SandboxEventTriggerInput, SandboxEventTriggerSchema, type SandboxTriggerInput, SandboxTriggerSchema, SecurityWebhookEventTypeSchema, type SettlementStatus, SettlementStatusSchema, type SignupInput, SignupSchema, type SplitRecipientRole, SplitRecipientRoleSchema, TOKEN_ADDRESSES, TOKEN_DECIMALS, type TimelineEvent, TimelineEventSchema, type TimelineEventType, TimelineEventTypeSchema, type Token, TokenSchema, type TransactionSource, TransactionSourceSchema, type TriggerableChargeEvent, TriggerableChargeEventSchema, type TypedWebhookPayload, type UpdateOrganizationInput, UpdateOrganizationSchema, type UpdateUserRoleInput, UpdateUserRoleSchema, type User, type UserRole, UserRoleSchema, UserSchema, type VerifyCharge, VerifyChargeSchema, type VerifyEmailInput, VerifyEmailSchema, type VerifyPayment, VerifyPaymentSchema, VerifySplitEntrySchema, WEBHOOK_EVENTS_WILDCARD, WEBHOOK_EVENT_CATEGORIES, type Webhook, type WebhookCategory, WebhookCategorySchema, type WebhookConfigEventData, type WebhookDelivery, WebhookDeliveryEventTypeSchema, WebhookDeliverySchema, type WebhookDeliveryStatus, WebhookDeliveryStatusSchema, type WebhookEventDataMap, type WebhookEventType, WebhookEventTypeSchema, type WebhookHealthEventData, type WebhookListItem, WebhookListItemSchema, type WebhookPayload, WebhookPayloadSchema, WebhookSchema, paginatedSchema };
|
|
2484
|
+
export { type AcceptInvitationInput, AcceptInvitationSchema, type AcceptedPayment, AcceptedPaymentSchema, AccountWebhookEventTypeSchema, type ApiKey, type ApiKeyEventData, ApiKeySchema, type AuthEmailVerifiedData, type AuthLoginData, type AuthLoginFailedData, type AuthPasswordResetCompletedData, type AuthPasswordResetRequestedData, type AuthResponse, AuthResponseSchema, type AuthSuspiciousActivityData, CHARGE_ACCEPTED_PAYMENTS_MAX, CHARGE_AMOUNT_MAX, CHARGE_EXPIRES_IN_MAX_SECONDS, CHARGE_EXPIRES_IN_MIN_SECONDS, type Capabilities, CapabilitiesSchema, type Charge, type ChargeContributionReceivedData, type ChargeContributionSettledData, type ChargeMode, ChargeModeSchema, type ChargePausedData, type ChargeReactivatedData, ChargeSchema, type ChargeStatus, type ChargeStatusEvent, ChargeStatusEventSchema, ChargeStatusSchema, ChargeWebhookEventTypeSchema, type ChargesDateField, ChargesDateFieldSchema, type ChargesMetricField, ChargesMetricFieldSchema, type ChargesQueryField, ChargesQueryFieldSchema, type CreateApiKeyInput, CreateApiKeySchema, type CreateChargeInput, type CreateChargeRequest, CreateChargeSchema, type CreateWebhookInput, type CreateWebhookRequest, CreateWebhookSchema, type DistributionsDateField, DistributionsDateFieldSchema, type DistributionsMetricField, DistributionsMetricFieldSchema, type DistributionsQueryField, DistributionsQueryFieldSchema, EVENT_CATEGORY_MAP, EVM_NETWORKS, type Environment, EnvironmentSchema, type ErrorPayload, ErrorPayloadSchema, type EvmNetwork, type FeeTierUpdatedData, type ForgotPasswordInput, ForgotPasswordSchema, type Health, HealthSchema, type Invitation, InvitationSchema, type InviteUserInput, type InviteUserRequest, InviteUserSchema, type ListApiKeysInput, type ListApiKeysRequest, ListApiKeysSchema, type ListChargesInput, type ListChargesRequest, ListChargesSchema, type ListOrganizationsInput, type ListOrganizationsRequest, ListOrganizationsSchema, type ListUsersInput, type ListUsersRequest, ListUsersSchema, type ListWebhookDeliveriesInput, type ListWebhookDeliveriesRequest, ListWebhookDeliveriesSchema, type LoginInput, LoginSchema, MAX_METRICS_QUERY_DATE_RANGE_DAYS, METRICS_QUERY_DEFAULT_ROW_LIMIT, METRICS_QUERY_MAX_FILTERS, METRICS_QUERY_MAX_GROUP_BY, METRICS_QUERY_MAX_METRICS, METRICS_QUERY_MAX_ROW_LIMIT, type MemberEventData, type MemberInvitedData, type MemberRoleChangedData, type MessageResponse, MessageResponseSchema, type MetricsAggregation, MetricsAggregationSchema, type MetricsDateGranularity, MetricsDateGranularitySchema, type MetricsFilterOperator, MetricsFilterOperatorSchema, type MetricsQuery, type MetricsQueryRequest, type MetricsQueryResult, type MetricsQueryResultRow, MetricsQueryResultRowSchema, MetricsQueryResultSchema, MetricsQuerySchema, type MetricsQueryScope, MetricsQueryScopeSchema, type MetricsResource, MetricsResourceSchema, NETWORK_EXPLORERS, NETWORK_LABELS, type Network, NetworkSchema, type NonChargeTriggerableEvent, NonChargeTriggerableEventSchema, NormalizedEmailSchema, OPERATIONAL_NETWORKS, type OperationalNetwork, type Organization, OrganizationSchema, type OrganizationWithRole, OrganizationWithRoleSchema, PAGINATION_LIMIT_DEFAULT, PAGINATION_LIMIT_MAX, PAGINATION_LIMIT_MIN, type PaginatedApiKeys, PaginatedApiKeysSchema, type PaginatedCharges, PaginatedChargesSchema, type PaginatedOrganizations, PaginatedOrganizationsSchema, type PaginatedUsers, PaginatedUsersSchema, type PaginatedWebhookDeliveries, PaginatedWebhookDeliveriesSchema, type PaginationQuery, type PaginationQueryRequest, PaginationQuerySchema, type PayoutAddressChangedData, type PendingDistribution, type PendingDistributionEvent, PendingDistributionEventSchema, PendingDistributionRecipientSchema, PendingDistributionSchema, type ResetPasswordInput, ResetPasswordSchema, type SandboxEventTriggerInput, SandboxEventTriggerSchema, type SandboxTriggerInput, SandboxTriggerSchema, SecurityWebhookEventTypeSchema, type SettlementStatus, SettlementStatusSchema, type SignupInput, SignupSchema, type SplitDistributionStatus, SplitDistributionStatusSchema, type SplitRecipientRole, SplitRecipientRoleSchema, TOKEN_ADDRESSES, TOKEN_DECIMALS, type TimelineEvent, TimelineEventSchema, type TimelineEventType, TimelineEventTypeSchema, type Token, TokenSchema, type TransactionSource, TransactionSourceSchema, type TransactionsDateField, TransactionsDateFieldSchema, type TransactionsMetricField, TransactionsMetricFieldSchema, type TransactionsQueryField, TransactionsQueryFieldSchema, type TriggerableChargeEvent, TriggerableChargeEventSchema, type TypedWebhookPayload, type UpdateOrganizationInput, UpdateOrganizationSchema, type UpdateUserRoleInput, UpdateUserRoleSchema, type User, type UserRole, UserRoleSchema, UserSchema, type VerifyCharge, VerifyChargeSchema, type VerifyEmailInput, VerifyEmailSchema, type VerifyPayment, VerifyPaymentSchema, VerifySplitEntrySchema, WEBHOOK_EVENTS_WILDCARD, WEBHOOK_EVENT_CATEGORIES, type Webhook, type WebhookCategory, WebhookCategorySchema, type WebhookConfigEventData, type WebhookDelivery, WebhookDeliveryEventTypeSchema, WebhookDeliverySchema, type WebhookDeliveryStatus, WebhookDeliveryStatusSchema, type WebhookEventDataMap, type WebhookEventType, WebhookEventTypeSchema, type WebhookHealthEventData, type WebhookListItem, WebhookListItemSchema, type WebhookPayload, WebhookPayloadSchema, WebhookSchema, paginatedSchema };
|