@beeperbot/sdk 0.2.1 → 0.2.3
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 +5 -5
- package/dist/core/index.cjs +542 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +376 -0
- package/dist/core/index.d.ts +376 -0
- package/dist/core/index.js +531 -0
- package/dist/core/index.js.map +1 -0
- package/dist/index.cjs +615 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +70 -56
- package/dist/index.d.ts +70 -56
- package/dist/index.js +606 -7
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { AgentCore, AgentCoreAdapter, AgentCoreConfig, AgentCoreError, EstimateDiagnostics as AgentEstimateDiagnostics, AgentQueryPlan, buildQueryPlan as buildAgentCoreQueryPlan, buildAgentQueryPlan, computeBudgetSplit as computeAgentBudgetSplit, createAgentCore, getDefaultOrderBy as getAgentCoreDefaultOrderBy, getOrderByOrDefault, normalizeFilters as normalizeAgentCoreFilters, normalizeAgentFilters } from './core/index.cjs';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -113,7 +114,7 @@ declare function generateFilterDocumentation(): string;
|
|
|
113
114
|
*
|
|
114
115
|
* @example
|
|
115
116
|
* ```typescript
|
|
116
|
-
* import { AgentClient } from '@
|
|
117
|
+
* import { AgentClient } from '@beeperbot/sdk';
|
|
117
118
|
*
|
|
118
119
|
* const agent = new AgentClient({
|
|
119
120
|
* apiKey: process.env.BEEPER_API_KEY,
|
|
@@ -253,6 +254,12 @@ interface SimpleFilters {
|
|
|
253
254
|
tokenAddress: string;
|
|
254
255
|
chainId: number;
|
|
255
256
|
minBalance?: string;
|
|
257
|
+
} | {
|
|
258
|
+
contractAddress: string;
|
|
259
|
+
chain: string | number;
|
|
260
|
+
minBalance?: string;
|
|
261
|
+
tokenStandard?: string;
|
|
262
|
+
tokenId?: string;
|
|
256
263
|
}>;
|
|
257
264
|
hasBaseWallet?: boolean;
|
|
258
265
|
hasVerifiedWallet?: boolean;
|
|
@@ -260,7 +267,9 @@ interface SimpleFilters {
|
|
|
260
267
|
minBatteryPercentage?: number;
|
|
261
268
|
hasRechargedInLastDays?: number;
|
|
262
269
|
excludePingedToday?: boolean;
|
|
263
|
-
countries?: string
|
|
270
|
+
countries?: Array<string | {
|
|
271
|
+
code: string;
|
|
272
|
+
}>;
|
|
264
273
|
timezones?: Array<{
|
|
265
274
|
offset: number;
|
|
266
275
|
range?: number;
|
|
@@ -375,7 +384,12 @@ interface BulkIntentResult {
|
|
|
375
384
|
*/
|
|
376
385
|
declare class AgentClient {
|
|
377
386
|
private readonly http;
|
|
387
|
+
private static readonly CHAIN_ID_MAP;
|
|
378
388
|
constructor(config: AgentClientConfig);
|
|
389
|
+
/**
|
|
390
|
+
* Normalize filters for agent endpoints (accepts flexible shapes from other builders)
|
|
391
|
+
*/
|
|
392
|
+
private normalizeFilters;
|
|
379
393
|
/**
|
|
380
394
|
* Look up a user by username, FID, or wallet address
|
|
381
395
|
*
|
|
@@ -857,7 +871,7 @@ declare const DraftInputSchema: z.ZodObject<{
|
|
|
857
871
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
858
872
|
}, "strip", z.ZodTypeAny, {
|
|
859
873
|
name: string;
|
|
860
|
-
network: "base" | "ethereum" | "
|
|
874
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
861
875
|
amount: string;
|
|
862
876
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
863
877
|
strategy: "equal" | "weighted" | "proportional";
|
|
@@ -866,7 +880,7 @@ declare const DraftInputSchema: z.ZodObject<{
|
|
|
866
880
|
metadata?: Record<string, unknown> | undefined;
|
|
867
881
|
}, {
|
|
868
882
|
name: string;
|
|
869
|
-
network: "base" | "ethereum" | "
|
|
883
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
870
884
|
amount: string;
|
|
871
885
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
872
886
|
strategy: "equal" | "weighted" | "proportional";
|
|
@@ -892,12 +906,12 @@ declare const DraftSchema: z.ZodObject<{
|
|
|
892
906
|
status: z.ZodEnum<["draft", "quoted", "executed"]>;
|
|
893
907
|
}, "strip", z.ZodTypeAny, {
|
|
894
908
|
name: string;
|
|
895
|
-
network: "base" | "ethereum" | "
|
|
909
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
896
910
|
status: "draft" | "quoted" | "executed";
|
|
897
911
|
id: string;
|
|
912
|
+
amount: string;
|
|
898
913
|
createdAt: string;
|
|
899
914
|
updatedAt: string;
|
|
900
|
-
amount: string;
|
|
901
915
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
902
916
|
strategy: "equal" | "weighted" | "proportional";
|
|
903
917
|
filter?: unknown;
|
|
@@ -905,12 +919,12 @@ declare const DraftSchema: z.ZodObject<{
|
|
|
905
919
|
metadata?: Record<string, unknown> | undefined;
|
|
906
920
|
}, {
|
|
907
921
|
name: string;
|
|
908
|
-
network: "base" | "ethereum" | "
|
|
922
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
909
923
|
status: "draft" | "quoted" | "executed";
|
|
910
924
|
id: string;
|
|
925
|
+
amount: string;
|
|
911
926
|
createdAt: string;
|
|
912
927
|
updatedAt: string;
|
|
913
|
-
amount: string;
|
|
914
928
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
915
929
|
strategy: "equal" | "weighted" | "proportional";
|
|
916
930
|
filter?: unknown;
|
|
@@ -932,7 +946,7 @@ declare const DraftUpdateSchema: z.ZodObject<{
|
|
|
932
946
|
}, "strip", z.ZodTypeAny, {
|
|
933
947
|
name?: string | undefined;
|
|
934
948
|
filter?: unknown;
|
|
935
|
-
network?: "base" | "ethereum" | "
|
|
949
|
+
network?: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism" | undefined;
|
|
936
950
|
amount?: string | undefined;
|
|
937
951
|
token?: "USDC" | "USDT" | "ETH" | "MATIC" | undefined;
|
|
938
952
|
strategy?: "equal" | "weighted" | "proportional" | undefined;
|
|
@@ -941,7 +955,7 @@ declare const DraftUpdateSchema: z.ZodObject<{
|
|
|
941
955
|
}, {
|
|
942
956
|
name?: string | undefined;
|
|
943
957
|
filter?: unknown;
|
|
944
|
-
network?: "base" | "ethereum" | "
|
|
958
|
+
network?: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism" | undefined;
|
|
945
959
|
amount?: string | undefined;
|
|
946
960
|
token?: "USDC" | "USDT" | "ETH" | "MATIC" | undefined;
|
|
947
961
|
strategy?: "equal" | "weighted" | "proportional" | undefined;
|
|
@@ -953,7 +967,7 @@ declare const DraftUpdateSchema: z.ZodObject<{
|
|
|
953
967
|
*/
|
|
954
968
|
declare function validateDraftInput$1(input: unknown): z.SafeParseReturnType<{
|
|
955
969
|
name: string;
|
|
956
|
-
network: "base" | "ethereum" | "
|
|
970
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
957
971
|
amount: string;
|
|
958
972
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
959
973
|
strategy: "equal" | "weighted" | "proportional";
|
|
@@ -962,7 +976,7 @@ declare function validateDraftInput$1(input: unknown): z.SafeParseReturnType<{
|
|
|
962
976
|
metadata?: Record<string, unknown> | undefined;
|
|
963
977
|
}, {
|
|
964
978
|
name: string;
|
|
965
|
-
network: "base" | "ethereum" | "
|
|
979
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
966
980
|
amount: string;
|
|
967
981
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
968
982
|
strategy: "equal" | "weighted" | "proportional";
|
|
@@ -975,7 +989,7 @@ declare function validateDraftInput$1(input: unknown): z.SafeParseReturnType<{
|
|
|
975
989
|
*/
|
|
976
990
|
declare function parseDraftInput(input: unknown): {
|
|
977
991
|
name: string;
|
|
978
|
-
network: "base" | "ethereum" | "
|
|
992
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
979
993
|
amount: string;
|
|
980
994
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
981
995
|
strategy: "equal" | "weighted" | "proportional";
|
|
@@ -988,12 +1002,12 @@ declare function parseDraftInput(input: unknown): {
|
|
|
988
1002
|
*/
|
|
989
1003
|
declare function validateDraft(draft: unknown): z.SafeParseReturnType<{
|
|
990
1004
|
name: string;
|
|
991
|
-
network: "base" | "ethereum" | "
|
|
1005
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
992
1006
|
status: "draft" | "quoted" | "executed";
|
|
993
1007
|
id: string;
|
|
1008
|
+
amount: string;
|
|
994
1009
|
createdAt: string;
|
|
995
1010
|
updatedAt: string;
|
|
996
|
-
amount: string;
|
|
997
1011
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
998
1012
|
strategy: "equal" | "weighted" | "proportional";
|
|
999
1013
|
filter?: unknown;
|
|
@@ -1001,12 +1015,12 @@ declare function validateDraft(draft: unknown): z.SafeParseReturnType<{
|
|
|
1001
1015
|
metadata?: Record<string, unknown> | undefined;
|
|
1002
1016
|
}, {
|
|
1003
1017
|
name: string;
|
|
1004
|
-
network: "base" | "ethereum" | "
|
|
1018
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
1005
1019
|
status: "draft" | "quoted" | "executed";
|
|
1006
1020
|
id: string;
|
|
1021
|
+
amount: string;
|
|
1007
1022
|
createdAt: string;
|
|
1008
1023
|
updatedAt: string;
|
|
1009
|
-
amount: string;
|
|
1010
1024
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
1011
1025
|
strategy: "equal" | "weighted" | "proportional";
|
|
1012
1026
|
filter?: unknown;
|
|
@@ -1018,12 +1032,12 @@ declare function validateDraft(draft: unknown): z.SafeParseReturnType<{
|
|
|
1018
1032
|
*/
|
|
1019
1033
|
declare function parseDraft(draft: unknown): {
|
|
1020
1034
|
name: string;
|
|
1021
|
-
network: "base" | "ethereum" | "
|
|
1035
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
1022
1036
|
status: "draft" | "quoted" | "executed";
|
|
1023
1037
|
id: string;
|
|
1038
|
+
amount: string;
|
|
1024
1039
|
createdAt: string;
|
|
1025
1040
|
updatedAt: string;
|
|
1026
|
-
amount: string;
|
|
1027
1041
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
1028
1042
|
strategy: "equal" | "weighted" | "proportional";
|
|
1029
1043
|
filter?: unknown;
|
|
@@ -1236,6 +1250,7 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1236
1250
|
}, "strip", z.ZodTypeAny, {
|
|
1237
1251
|
status: "pending" | "deposit_confirmed" | "executing" | "completed" | "expired" | "failed";
|
|
1238
1252
|
id: string;
|
|
1253
|
+
expiresAt: string;
|
|
1239
1254
|
recipientCount: number;
|
|
1240
1255
|
totalAmount: string;
|
|
1241
1256
|
protocolFee: string;
|
|
@@ -1243,13 +1258,13 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1243
1258
|
depositAddress: string;
|
|
1244
1259
|
depositChainId: number;
|
|
1245
1260
|
depositTokenAddress: string;
|
|
1246
|
-
expiresAt: string;
|
|
1247
1261
|
input: Record<string, unknown>;
|
|
1248
1262
|
createdAt: string;
|
|
1249
1263
|
updatedAt: string;
|
|
1250
1264
|
}, {
|
|
1251
1265
|
status: "pending" | "deposit_confirmed" | "executing" | "completed" | "expired" | "failed";
|
|
1252
1266
|
id: string;
|
|
1267
|
+
expiresAt: string;
|
|
1253
1268
|
recipientCount: number;
|
|
1254
1269
|
totalAmount: string;
|
|
1255
1270
|
protocolFee: string;
|
|
@@ -1257,7 +1272,6 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1257
1272
|
depositAddress: string;
|
|
1258
1273
|
depositChainId: number;
|
|
1259
1274
|
depositTokenAddress: string;
|
|
1260
|
-
expiresAt: string;
|
|
1261
1275
|
input: Record<string, unknown>;
|
|
1262
1276
|
createdAt: string;
|
|
1263
1277
|
updatedAt: string;
|
|
@@ -1915,7 +1929,7 @@ interface PaginatedResponse<T> {
|
|
|
1915
1929
|
*
|
|
1916
1930
|
* @example
|
|
1917
1931
|
* ```typescript
|
|
1918
|
-
* import { FilterBuilder } from '@
|
|
1932
|
+
* import { FilterBuilder } from '@beeperbot/sdk';
|
|
1919
1933
|
*
|
|
1920
1934
|
* const filter = FilterBuilder.and([
|
|
1921
1935
|
* FilterBuilder.platform('farcaster'),
|
|
@@ -2586,11 +2600,11 @@ declare const QuoteSchema: z.ZodObject<{
|
|
|
2586
2600
|
createdAt: z.ZodString;
|
|
2587
2601
|
isValid: z.ZodBoolean;
|
|
2588
2602
|
}, "strip", z.ZodTypeAny, {
|
|
2589
|
-
network: "base" | "ethereum" | "
|
|
2603
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2590
2604
|
id: string;
|
|
2605
|
+
expiresAt: string;
|
|
2591
2606
|
recipientCount: number;
|
|
2592
2607
|
totalAmount: string;
|
|
2593
|
-
expiresAt: string;
|
|
2594
2608
|
createdAt: string;
|
|
2595
2609
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2596
2610
|
draftId: string;
|
|
@@ -2606,11 +2620,11 @@ declare const QuoteSchema: z.ZodObject<{
|
|
|
2606
2620
|
}[];
|
|
2607
2621
|
isValid: boolean;
|
|
2608
2622
|
}, {
|
|
2609
|
-
network: "base" | "ethereum" | "
|
|
2623
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2610
2624
|
id: string;
|
|
2625
|
+
expiresAt: string;
|
|
2611
2626
|
recipientCount: number;
|
|
2612
2627
|
totalAmount: string;
|
|
2613
|
-
expiresAt: string;
|
|
2614
2628
|
createdAt: string;
|
|
2615
2629
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2616
2630
|
draftId: string;
|
|
@@ -2713,11 +2727,11 @@ declare function parseQuoteOptions(options: unknown): {
|
|
|
2713
2727
|
* Validate quote response
|
|
2714
2728
|
*/
|
|
2715
2729
|
declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
2716
|
-
network: "base" | "ethereum" | "
|
|
2730
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2717
2731
|
id: string;
|
|
2732
|
+
expiresAt: string;
|
|
2718
2733
|
recipientCount: number;
|
|
2719
2734
|
totalAmount: string;
|
|
2720
|
-
expiresAt: string;
|
|
2721
2735
|
createdAt: string;
|
|
2722
2736
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2723
2737
|
draftId: string;
|
|
@@ -2733,11 +2747,11 @@ declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
|
2733
2747
|
}[];
|
|
2734
2748
|
isValid: boolean;
|
|
2735
2749
|
}, {
|
|
2736
|
-
network: "base" | "ethereum" | "
|
|
2750
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2737
2751
|
id: string;
|
|
2752
|
+
expiresAt: string;
|
|
2738
2753
|
recipientCount: number;
|
|
2739
2754
|
totalAmount: string;
|
|
2740
|
-
expiresAt: string;
|
|
2741
2755
|
createdAt: string;
|
|
2742
2756
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2743
2757
|
draftId: string;
|
|
@@ -2757,11 +2771,11 @@ declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
|
2757
2771
|
* Parse quote response
|
|
2758
2772
|
*/
|
|
2759
2773
|
declare function parseQuote(quote: unknown): {
|
|
2760
|
-
network: "base" | "ethereum" | "
|
|
2774
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2761
2775
|
id: string;
|
|
2776
|
+
expiresAt: string;
|
|
2762
2777
|
recipientCount: number;
|
|
2763
2778
|
totalAmount: string;
|
|
2764
|
-
expiresAt: string;
|
|
2765
2779
|
createdAt: string;
|
|
2766
2780
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2767
2781
|
draftId: string;
|
|
@@ -2877,7 +2891,7 @@ declare const ReceiptSchema: z.ZodObject<{
|
|
|
2877
2891
|
createdAt: z.ZodString;
|
|
2878
2892
|
}, "strip", z.ZodTypeAny, {
|
|
2879
2893
|
quoteId: string;
|
|
2880
|
-
network: "base" | "ethereum" | "
|
|
2894
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2881
2895
|
id: string;
|
|
2882
2896
|
totalAmount: string;
|
|
2883
2897
|
createdAt: string;
|
|
@@ -2900,7 +2914,7 @@ declare const ReceiptSchema: z.ZodObject<{
|
|
|
2900
2914
|
failedTransfers: number;
|
|
2901
2915
|
}, {
|
|
2902
2916
|
quoteId: string;
|
|
2903
|
-
network: "base" | "ethereum" | "
|
|
2917
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2904
2918
|
id: string;
|
|
2905
2919
|
totalAmount: string;
|
|
2906
2920
|
createdAt: string;
|
|
@@ -2927,7 +2941,7 @@ declare const ReceiptSchema: z.ZodObject<{
|
|
|
2927
2941
|
*/
|
|
2928
2942
|
declare function validateReceipt(receipt: unknown): z.SafeParseReturnType<{
|
|
2929
2943
|
quoteId: string;
|
|
2930
|
-
network: "base" | "ethereum" | "
|
|
2944
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2931
2945
|
id: string;
|
|
2932
2946
|
totalAmount: string;
|
|
2933
2947
|
createdAt: string;
|
|
@@ -2950,7 +2964,7 @@ declare function validateReceipt(receipt: unknown): z.SafeParseReturnType<{
|
|
|
2950
2964
|
failedTransfers: number;
|
|
2951
2965
|
}, {
|
|
2952
2966
|
quoteId: string;
|
|
2953
|
-
network: "base" | "ethereum" | "
|
|
2967
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2954
2968
|
id: string;
|
|
2955
2969
|
totalAmount: string;
|
|
2956
2970
|
createdAt: string;
|
|
@@ -2977,7 +2991,7 @@ declare function validateReceipt(receipt: unknown): z.SafeParseReturnType<{
|
|
|
2977
2991
|
*/
|
|
2978
2992
|
declare function parseReceipt(receipt: unknown): {
|
|
2979
2993
|
quoteId: string;
|
|
2980
|
-
network: "base" | "ethereum" | "
|
|
2994
|
+
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2981
2995
|
id: string;
|
|
2982
2996
|
totalAmount: string;
|
|
2983
2997
|
createdAt: string;
|
|
@@ -3581,16 +3595,16 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3581
3595
|
contractAddress: string;
|
|
3582
3596
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3583
3597
|
minBalance?: string | number | undefined;
|
|
3584
|
-
tokenId?: string | undefined;
|
|
3585
3598
|
tokenSymbol?: string | undefined;
|
|
3599
|
+
tokenId?: string | undefined;
|
|
3586
3600
|
tokenName?: string | undefined;
|
|
3587
3601
|
}, {
|
|
3588
3602
|
chain: "base" | "ethereum";
|
|
3589
3603
|
contractAddress: string;
|
|
3590
3604
|
minBalance?: string | number | undefined;
|
|
3605
|
+
tokenSymbol?: string | undefined;
|
|
3591
3606
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3592
3607
|
tokenId?: string | undefined;
|
|
3593
|
-
tokenSymbol?: string | undefined;
|
|
3594
3608
|
tokenName?: string | undefined;
|
|
3595
3609
|
}>;
|
|
3596
3610
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3599,8 +3613,8 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3599
3613
|
contractAddress: string;
|
|
3600
3614
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3601
3615
|
minBalance?: string | number | undefined;
|
|
3602
|
-
tokenId?: string | undefined;
|
|
3603
3616
|
tokenSymbol?: string | undefined;
|
|
3617
|
+
tokenId?: string | undefined;
|
|
3604
3618
|
tokenName?: string | undefined;
|
|
3605
3619
|
};
|
|
3606
3620
|
}, {
|
|
@@ -3608,9 +3622,9 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3608
3622
|
chain: "base" | "ethereum";
|
|
3609
3623
|
contractAddress: string;
|
|
3610
3624
|
minBalance?: string | number | undefined;
|
|
3625
|
+
tokenSymbol?: string | undefined;
|
|
3611
3626
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3612
3627
|
tokenId?: string | undefined;
|
|
3613
|
-
tokenSymbol?: string | undefined;
|
|
3614
3628
|
tokenName?: string | undefined;
|
|
3615
3629
|
};
|
|
3616
3630
|
}>;
|
|
@@ -3666,16 +3680,16 @@ declare const CachedTokenHolderSchema: z.ZodObject<{
|
|
|
3666
3680
|
contractAddress: string;
|
|
3667
3681
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3668
3682
|
minBalance?: string | number | undefined;
|
|
3669
|
-
tokenId?: string | undefined;
|
|
3670
3683
|
tokenSymbol?: string | undefined;
|
|
3684
|
+
tokenId?: string | undefined;
|
|
3671
3685
|
tokenName?: string | undefined;
|
|
3672
3686
|
}, {
|
|
3673
3687
|
chain: "base" | "ethereum";
|
|
3674
3688
|
contractAddress: string;
|
|
3675
3689
|
minBalance?: string | number | undefined;
|
|
3690
|
+
tokenSymbol?: string | undefined;
|
|
3676
3691
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3677
3692
|
tokenId?: string | undefined;
|
|
3678
|
-
tokenSymbol?: string | undefined;
|
|
3679
3693
|
tokenName?: string | undefined;
|
|
3680
3694
|
}>;
|
|
3681
3695
|
declare const OnchainFilterSchema: z.ZodObject<{
|
|
@@ -3718,16 +3732,16 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3718
3732
|
contractAddress: string;
|
|
3719
3733
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3720
3734
|
minBalance?: string | number | undefined;
|
|
3721
|
-
tokenId?: string | undefined;
|
|
3722
3735
|
tokenSymbol?: string | undefined;
|
|
3736
|
+
tokenId?: string | undefined;
|
|
3723
3737
|
tokenName?: string | undefined;
|
|
3724
3738
|
}, {
|
|
3725
3739
|
chain: "base" | "ethereum";
|
|
3726
3740
|
contractAddress: string;
|
|
3727
3741
|
minBalance?: string | number | undefined;
|
|
3742
|
+
tokenSymbol?: string | undefined;
|
|
3728
3743
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3729
3744
|
tokenId?: string | undefined;
|
|
3730
|
-
tokenSymbol?: string | undefined;
|
|
3731
3745
|
tokenName?: string | undefined;
|
|
3732
3746
|
}>, "many">>;
|
|
3733
3747
|
hasVerifiedWallet: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3748,8 +3762,8 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3748
3762
|
contractAddress: string;
|
|
3749
3763
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3750
3764
|
minBalance?: string | number | undefined;
|
|
3751
|
-
tokenId?: string | undefined;
|
|
3752
3765
|
tokenSymbol?: string | undefined;
|
|
3766
|
+
tokenId?: string | undefined;
|
|
3753
3767
|
tokenName?: string | undefined;
|
|
3754
3768
|
}[] | undefined;
|
|
3755
3769
|
}, {
|
|
@@ -3768,9 +3782,9 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3768
3782
|
chain: "base" | "ethereum";
|
|
3769
3783
|
contractAddress: string;
|
|
3770
3784
|
minBalance?: string | number | undefined;
|
|
3785
|
+
tokenSymbol?: string | undefined;
|
|
3771
3786
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3772
3787
|
tokenId?: string | undefined;
|
|
3773
|
-
tokenSymbol?: string | undefined;
|
|
3774
3788
|
tokenName?: string | undefined;
|
|
3775
3789
|
}[] | undefined;
|
|
3776
3790
|
}>;
|
|
@@ -3941,16 +3955,16 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
3941
3955
|
contractAddress: string;
|
|
3942
3956
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3943
3957
|
minBalance?: string | number | undefined;
|
|
3944
|
-
tokenId?: string | undefined;
|
|
3945
3958
|
tokenSymbol?: string | undefined;
|
|
3959
|
+
tokenId?: string | undefined;
|
|
3946
3960
|
tokenName?: string | undefined;
|
|
3947
3961
|
}, {
|
|
3948
3962
|
chain: "base" | "ethereum";
|
|
3949
3963
|
contractAddress: string;
|
|
3950
3964
|
minBalance?: string | number | undefined;
|
|
3965
|
+
tokenSymbol?: string | undefined;
|
|
3951
3966
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3952
3967
|
tokenId?: string | undefined;
|
|
3953
|
-
tokenSymbol?: string | undefined;
|
|
3954
3968
|
tokenName?: string | undefined;
|
|
3955
3969
|
}>, "many">>;
|
|
3956
3970
|
hasVerifiedWallet: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3971,8 +3985,8 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
3971
3985
|
contractAddress: string;
|
|
3972
3986
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3973
3987
|
minBalance?: string | number | undefined;
|
|
3974
|
-
tokenId?: string | undefined;
|
|
3975
3988
|
tokenSymbol?: string | undefined;
|
|
3989
|
+
tokenId?: string | undefined;
|
|
3976
3990
|
tokenName?: string | undefined;
|
|
3977
3991
|
}[] | undefined;
|
|
3978
3992
|
}, {
|
|
@@ -3991,9 +4005,9 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
3991
4005
|
chain: "base" | "ethereum";
|
|
3992
4006
|
contractAddress: string;
|
|
3993
4007
|
minBalance?: string | number | undefined;
|
|
4008
|
+
tokenSymbol?: string | undefined;
|
|
3994
4009
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3995
4010
|
tokenId?: string | undefined;
|
|
3996
|
-
tokenSymbol?: string | undefined;
|
|
3997
4011
|
tokenName?: string | undefined;
|
|
3998
4012
|
}[] | undefined;
|
|
3999
4013
|
}>>;
|
|
@@ -4102,8 +4116,8 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
4102
4116
|
contractAddress: string;
|
|
4103
4117
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4104
4118
|
minBalance?: string | number | undefined;
|
|
4105
|
-
tokenId?: string | undefined;
|
|
4106
4119
|
tokenSymbol?: string | undefined;
|
|
4120
|
+
tokenId?: string | undefined;
|
|
4107
4121
|
tokenName?: string | undefined;
|
|
4108
4122
|
}[] | undefined;
|
|
4109
4123
|
} | undefined;
|
|
@@ -4180,9 +4194,9 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
4180
4194
|
chain: "base" | "ethereum";
|
|
4181
4195
|
contractAddress: string;
|
|
4182
4196
|
minBalance?: string | number | undefined;
|
|
4197
|
+
tokenSymbol?: string | undefined;
|
|
4183
4198
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
4184
4199
|
tokenId?: string | undefined;
|
|
4185
|
-
tokenSymbol?: string | undefined;
|
|
4186
4200
|
tokenName?: string | undefined;
|
|
4187
4201
|
}[] | undefined;
|
|
4188
4202
|
} | undefined;
|
|
@@ -4298,8 +4312,8 @@ declare function parseRecipientFilter(filter: unknown): {
|
|
|
4298
4312
|
contractAddress: string;
|
|
4299
4313
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4300
4314
|
minBalance?: string | number | undefined;
|
|
4301
|
-
tokenId?: string | undefined;
|
|
4302
4315
|
tokenSymbol?: string | undefined;
|
|
4316
|
+
tokenId?: string | undefined;
|
|
4303
4317
|
tokenName?: string | undefined;
|
|
4304
4318
|
}[] | undefined;
|
|
4305
4319
|
} | undefined;
|
|
@@ -4380,9 +4394,9 @@ declare function safeParseRecipientFilter(filter: unknown): z.SafeParseReturnTyp
|
|
|
4380
4394
|
chain: "base" | "ethereum";
|
|
4381
4395
|
contractAddress: string;
|
|
4382
4396
|
minBalance?: string | number | undefined;
|
|
4397
|
+
tokenSymbol?: string | undefined;
|
|
4383
4398
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
4384
4399
|
tokenId?: string | undefined;
|
|
4385
|
-
tokenSymbol?: string | undefined;
|
|
4386
4400
|
tokenName?: string | undefined;
|
|
4387
4401
|
}[] | undefined;
|
|
4388
4402
|
} | undefined;
|
|
@@ -4460,8 +4474,8 @@ declare function safeParseRecipientFilter(filter: unknown): z.SafeParseReturnTyp
|
|
|
4460
4474
|
contractAddress: string;
|
|
4461
4475
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4462
4476
|
minBalance?: string | number | undefined;
|
|
4463
|
-
tokenId?: string | undefined;
|
|
4464
4477
|
tokenSymbol?: string | undefined;
|
|
4478
|
+
tokenId?: string | undefined;
|
|
4465
4479
|
tokenName?: string | undefined;
|
|
4466
4480
|
}[] | undefined;
|
|
4467
4481
|
} | undefined;
|