@beeperbot/sdk 0.2.2 → 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/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 +534 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -31
- package/dist/index.d.ts +32 -31
- package/dist/index.js +525 -1
- 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
|
/**
|
|
@@ -908,9 +909,9 @@ declare const DraftSchema: z.ZodObject<{
|
|
|
908
909
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
909
910
|
status: "draft" | "quoted" | "executed";
|
|
910
911
|
id: string;
|
|
912
|
+
amount: string;
|
|
911
913
|
createdAt: string;
|
|
912
914
|
updatedAt: string;
|
|
913
|
-
amount: string;
|
|
914
915
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
915
916
|
strategy: "equal" | "weighted" | "proportional";
|
|
916
917
|
filter?: unknown;
|
|
@@ -921,9 +922,9 @@ declare const DraftSchema: z.ZodObject<{
|
|
|
921
922
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
922
923
|
status: "draft" | "quoted" | "executed";
|
|
923
924
|
id: string;
|
|
925
|
+
amount: string;
|
|
924
926
|
createdAt: string;
|
|
925
927
|
updatedAt: string;
|
|
926
|
-
amount: string;
|
|
927
928
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
928
929
|
strategy: "equal" | "weighted" | "proportional";
|
|
929
930
|
filter?: unknown;
|
|
@@ -1004,9 +1005,9 @@ declare function validateDraft(draft: unknown): z.SafeParseReturnType<{
|
|
|
1004
1005
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
1005
1006
|
status: "draft" | "quoted" | "executed";
|
|
1006
1007
|
id: string;
|
|
1008
|
+
amount: string;
|
|
1007
1009
|
createdAt: string;
|
|
1008
1010
|
updatedAt: string;
|
|
1009
|
-
amount: string;
|
|
1010
1011
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
1011
1012
|
strategy: "equal" | "weighted" | "proportional";
|
|
1012
1013
|
filter?: unknown;
|
|
@@ -1017,9 +1018,9 @@ declare function validateDraft(draft: unknown): z.SafeParseReturnType<{
|
|
|
1017
1018
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
1018
1019
|
status: "draft" | "quoted" | "executed";
|
|
1019
1020
|
id: string;
|
|
1021
|
+
amount: string;
|
|
1020
1022
|
createdAt: string;
|
|
1021
1023
|
updatedAt: string;
|
|
1022
|
-
amount: string;
|
|
1023
1024
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
1024
1025
|
strategy: "equal" | "weighted" | "proportional";
|
|
1025
1026
|
filter?: unknown;
|
|
@@ -1034,9 +1035,9 @@ declare function parseDraft(draft: unknown): {
|
|
|
1034
1035
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
1035
1036
|
status: "draft" | "quoted" | "executed";
|
|
1036
1037
|
id: string;
|
|
1038
|
+
amount: string;
|
|
1037
1039
|
createdAt: string;
|
|
1038
1040
|
updatedAt: string;
|
|
1039
|
-
amount: string;
|
|
1040
1041
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
1041
1042
|
strategy: "equal" | "weighted" | "proportional";
|
|
1042
1043
|
filter?: unknown;
|
|
@@ -1249,6 +1250,7 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1249
1250
|
}, "strip", z.ZodTypeAny, {
|
|
1250
1251
|
status: "pending" | "deposit_confirmed" | "executing" | "completed" | "expired" | "failed";
|
|
1251
1252
|
id: string;
|
|
1253
|
+
expiresAt: string;
|
|
1252
1254
|
recipientCount: number;
|
|
1253
1255
|
totalAmount: string;
|
|
1254
1256
|
protocolFee: string;
|
|
@@ -1256,13 +1258,13 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1256
1258
|
depositAddress: string;
|
|
1257
1259
|
depositChainId: number;
|
|
1258
1260
|
depositTokenAddress: string;
|
|
1259
|
-
expiresAt: string;
|
|
1260
1261
|
input: Record<string, unknown>;
|
|
1261
1262
|
createdAt: string;
|
|
1262
1263
|
updatedAt: string;
|
|
1263
1264
|
}, {
|
|
1264
1265
|
status: "pending" | "deposit_confirmed" | "executing" | "completed" | "expired" | "failed";
|
|
1265
1266
|
id: string;
|
|
1267
|
+
expiresAt: string;
|
|
1266
1268
|
recipientCount: number;
|
|
1267
1269
|
totalAmount: string;
|
|
1268
1270
|
protocolFee: string;
|
|
@@ -1270,7 +1272,6 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1270
1272
|
depositAddress: string;
|
|
1271
1273
|
depositChainId: number;
|
|
1272
1274
|
depositTokenAddress: string;
|
|
1273
|
-
expiresAt: string;
|
|
1274
1275
|
input: Record<string, unknown>;
|
|
1275
1276
|
createdAt: string;
|
|
1276
1277
|
updatedAt: string;
|
|
@@ -2601,9 +2602,9 @@ declare const QuoteSchema: z.ZodObject<{
|
|
|
2601
2602
|
}, "strip", z.ZodTypeAny, {
|
|
2602
2603
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2603
2604
|
id: string;
|
|
2605
|
+
expiresAt: string;
|
|
2604
2606
|
recipientCount: number;
|
|
2605
2607
|
totalAmount: string;
|
|
2606
|
-
expiresAt: string;
|
|
2607
2608
|
createdAt: string;
|
|
2608
2609
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2609
2610
|
draftId: string;
|
|
@@ -2621,9 +2622,9 @@ declare const QuoteSchema: z.ZodObject<{
|
|
|
2621
2622
|
}, {
|
|
2622
2623
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2623
2624
|
id: string;
|
|
2625
|
+
expiresAt: string;
|
|
2624
2626
|
recipientCount: number;
|
|
2625
2627
|
totalAmount: string;
|
|
2626
|
-
expiresAt: string;
|
|
2627
2628
|
createdAt: string;
|
|
2628
2629
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2629
2630
|
draftId: string;
|
|
@@ -2728,9 +2729,9 @@ declare function parseQuoteOptions(options: unknown): {
|
|
|
2728
2729
|
declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
2729
2730
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2730
2731
|
id: string;
|
|
2732
|
+
expiresAt: string;
|
|
2731
2733
|
recipientCount: number;
|
|
2732
2734
|
totalAmount: string;
|
|
2733
|
-
expiresAt: string;
|
|
2734
2735
|
createdAt: string;
|
|
2735
2736
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2736
2737
|
draftId: string;
|
|
@@ -2748,9 +2749,9 @@ declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
|
2748
2749
|
}, {
|
|
2749
2750
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2750
2751
|
id: string;
|
|
2752
|
+
expiresAt: string;
|
|
2751
2753
|
recipientCount: number;
|
|
2752
2754
|
totalAmount: string;
|
|
2753
|
-
expiresAt: string;
|
|
2754
2755
|
createdAt: string;
|
|
2755
2756
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2756
2757
|
draftId: string;
|
|
@@ -2772,9 +2773,9 @@ declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
|
2772
2773
|
declare function parseQuote(quote: unknown): {
|
|
2773
2774
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2774
2775
|
id: string;
|
|
2776
|
+
expiresAt: string;
|
|
2775
2777
|
recipientCount: number;
|
|
2776
2778
|
totalAmount: string;
|
|
2777
|
-
expiresAt: string;
|
|
2778
2779
|
createdAt: string;
|
|
2779
2780
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2780
2781
|
draftId: string;
|
|
@@ -3594,16 +3595,16 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3594
3595
|
contractAddress: string;
|
|
3595
3596
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3596
3597
|
minBalance?: string | number | undefined;
|
|
3597
|
-
tokenId?: string | undefined;
|
|
3598
3598
|
tokenSymbol?: string | undefined;
|
|
3599
|
+
tokenId?: string | undefined;
|
|
3599
3600
|
tokenName?: string | undefined;
|
|
3600
3601
|
}, {
|
|
3601
3602
|
chain: "base" | "ethereum";
|
|
3602
3603
|
contractAddress: string;
|
|
3603
3604
|
minBalance?: string | number | undefined;
|
|
3605
|
+
tokenSymbol?: string | undefined;
|
|
3604
3606
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3605
3607
|
tokenId?: string | undefined;
|
|
3606
|
-
tokenSymbol?: string | undefined;
|
|
3607
3608
|
tokenName?: string | undefined;
|
|
3608
3609
|
}>;
|
|
3609
3610
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3612,8 +3613,8 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3612
3613
|
contractAddress: string;
|
|
3613
3614
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3614
3615
|
minBalance?: string | number | undefined;
|
|
3615
|
-
tokenId?: string | undefined;
|
|
3616
3616
|
tokenSymbol?: string | undefined;
|
|
3617
|
+
tokenId?: string | undefined;
|
|
3617
3618
|
tokenName?: string | undefined;
|
|
3618
3619
|
};
|
|
3619
3620
|
}, {
|
|
@@ -3621,9 +3622,9 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3621
3622
|
chain: "base" | "ethereum";
|
|
3622
3623
|
contractAddress: string;
|
|
3623
3624
|
minBalance?: string | number | undefined;
|
|
3625
|
+
tokenSymbol?: string | undefined;
|
|
3624
3626
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3625
3627
|
tokenId?: string | undefined;
|
|
3626
|
-
tokenSymbol?: string | undefined;
|
|
3627
3628
|
tokenName?: string | undefined;
|
|
3628
3629
|
};
|
|
3629
3630
|
}>;
|
|
@@ -3679,16 +3680,16 @@ declare const CachedTokenHolderSchema: z.ZodObject<{
|
|
|
3679
3680
|
contractAddress: string;
|
|
3680
3681
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3681
3682
|
minBalance?: string | number | undefined;
|
|
3682
|
-
tokenId?: string | undefined;
|
|
3683
3683
|
tokenSymbol?: string | undefined;
|
|
3684
|
+
tokenId?: string | undefined;
|
|
3684
3685
|
tokenName?: string | undefined;
|
|
3685
3686
|
}, {
|
|
3686
3687
|
chain: "base" | "ethereum";
|
|
3687
3688
|
contractAddress: string;
|
|
3688
3689
|
minBalance?: string | number | undefined;
|
|
3690
|
+
tokenSymbol?: string | undefined;
|
|
3689
3691
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3690
3692
|
tokenId?: string | undefined;
|
|
3691
|
-
tokenSymbol?: string | undefined;
|
|
3692
3693
|
tokenName?: string | undefined;
|
|
3693
3694
|
}>;
|
|
3694
3695
|
declare const OnchainFilterSchema: z.ZodObject<{
|
|
@@ -3731,16 +3732,16 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3731
3732
|
contractAddress: string;
|
|
3732
3733
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3733
3734
|
minBalance?: string | number | undefined;
|
|
3734
|
-
tokenId?: string | undefined;
|
|
3735
3735
|
tokenSymbol?: string | undefined;
|
|
3736
|
+
tokenId?: string | undefined;
|
|
3736
3737
|
tokenName?: string | undefined;
|
|
3737
3738
|
}, {
|
|
3738
3739
|
chain: "base" | "ethereum";
|
|
3739
3740
|
contractAddress: string;
|
|
3740
3741
|
minBalance?: string | number | undefined;
|
|
3742
|
+
tokenSymbol?: string | undefined;
|
|
3741
3743
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3742
3744
|
tokenId?: string | undefined;
|
|
3743
|
-
tokenSymbol?: string | undefined;
|
|
3744
3745
|
tokenName?: string | undefined;
|
|
3745
3746
|
}>, "many">>;
|
|
3746
3747
|
hasVerifiedWallet: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3761,8 +3762,8 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3761
3762
|
contractAddress: string;
|
|
3762
3763
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3763
3764
|
minBalance?: string | number | undefined;
|
|
3764
|
-
tokenId?: string | undefined;
|
|
3765
3765
|
tokenSymbol?: string | undefined;
|
|
3766
|
+
tokenId?: string | undefined;
|
|
3766
3767
|
tokenName?: string | undefined;
|
|
3767
3768
|
}[] | undefined;
|
|
3768
3769
|
}, {
|
|
@@ -3781,9 +3782,9 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3781
3782
|
chain: "base" | "ethereum";
|
|
3782
3783
|
contractAddress: string;
|
|
3783
3784
|
minBalance?: string | number | undefined;
|
|
3785
|
+
tokenSymbol?: string | undefined;
|
|
3784
3786
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3785
3787
|
tokenId?: string | undefined;
|
|
3786
|
-
tokenSymbol?: string | undefined;
|
|
3787
3788
|
tokenName?: string | undefined;
|
|
3788
3789
|
}[] | undefined;
|
|
3789
3790
|
}>;
|
|
@@ -3954,16 +3955,16 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
3954
3955
|
contractAddress: string;
|
|
3955
3956
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3956
3957
|
minBalance?: string | number | undefined;
|
|
3957
|
-
tokenId?: string | undefined;
|
|
3958
3958
|
tokenSymbol?: string | undefined;
|
|
3959
|
+
tokenId?: string | undefined;
|
|
3959
3960
|
tokenName?: string | undefined;
|
|
3960
3961
|
}, {
|
|
3961
3962
|
chain: "base" | "ethereum";
|
|
3962
3963
|
contractAddress: string;
|
|
3963
3964
|
minBalance?: string | number | undefined;
|
|
3965
|
+
tokenSymbol?: string | undefined;
|
|
3964
3966
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3965
3967
|
tokenId?: string | undefined;
|
|
3966
|
-
tokenSymbol?: string | undefined;
|
|
3967
3968
|
tokenName?: string | undefined;
|
|
3968
3969
|
}>, "many">>;
|
|
3969
3970
|
hasVerifiedWallet: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3984,8 +3985,8 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
3984
3985
|
contractAddress: string;
|
|
3985
3986
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3986
3987
|
minBalance?: string | number | undefined;
|
|
3987
|
-
tokenId?: string | undefined;
|
|
3988
3988
|
tokenSymbol?: string | undefined;
|
|
3989
|
+
tokenId?: string | undefined;
|
|
3989
3990
|
tokenName?: string | undefined;
|
|
3990
3991
|
}[] | undefined;
|
|
3991
3992
|
}, {
|
|
@@ -4004,9 +4005,9 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
4004
4005
|
chain: "base" | "ethereum";
|
|
4005
4006
|
contractAddress: string;
|
|
4006
4007
|
minBalance?: string | number | undefined;
|
|
4008
|
+
tokenSymbol?: string | undefined;
|
|
4007
4009
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
4008
4010
|
tokenId?: string | undefined;
|
|
4009
|
-
tokenSymbol?: string | undefined;
|
|
4010
4011
|
tokenName?: string | undefined;
|
|
4011
4012
|
}[] | undefined;
|
|
4012
4013
|
}>>;
|
|
@@ -4115,8 +4116,8 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
4115
4116
|
contractAddress: string;
|
|
4116
4117
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4117
4118
|
minBalance?: string | number | undefined;
|
|
4118
|
-
tokenId?: string | undefined;
|
|
4119
4119
|
tokenSymbol?: string | undefined;
|
|
4120
|
+
tokenId?: string | undefined;
|
|
4120
4121
|
tokenName?: string | undefined;
|
|
4121
4122
|
}[] | undefined;
|
|
4122
4123
|
} | undefined;
|
|
@@ -4193,9 +4194,9 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
4193
4194
|
chain: "base" | "ethereum";
|
|
4194
4195
|
contractAddress: string;
|
|
4195
4196
|
minBalance?: string | number | undefined;
|
|
4197
|
+
tokenSymbol?: string | undefined;
|
|
4196
4198
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
4197
4199
|
tokenId?: string | undefined;
|
|
4198
|
-
tokenSymbol?: string | undefined;
|
|
4199
4200
|
tokenName?: string | undefined;
|
|
4200
4201
|
}[] | undefined;
|
|
4201
4202
|
} | undefined;
|
|
@@ -4311,8 +4312,8 @@ declare function parseRecipientFilter(filter: unknown): {
|
|
|
4311
4312
|
contractAddress: string;
|
|
4312
4313
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4313
4314
|
minBalance?: string | number | undefined;
|
|
4314
|
-
tokenId?: string | undefined;
|
|
4315
4315
|
tokenSymbol?: string | undefined;
|
|
4316
|
+
tokenId?: string | undefined;
|
|
4316
4317
|
tokenName?: string | undefined;
|
|
4317
4318
|
}[] | undefined;
|
|
4318
4319
|
} | undefined;
|
|
@@ -4393,9 +4394,9 @@ declare function safeParseRecipientFilter(filter: unknown): z.SafeParseReturnTyp
|
|
|
4393
4394
|
chain: "base" | "ethereum";
|
|
4394
4395
|
contractAddress: string;
|
|
4395
4396
|
minBalance?: string | number | undefined;
|
|
4397
|
+
tokenSymbol?: string | undefined;
|
|
4396
4398
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
4397
4399
|
tokenId?: string | undefined;
|
|
4398
|
-
tokenSymbol?: string | undefined;
|
|
4399
4400
|
tokenName?: string | undefined;
|
|
4400
4401
|
}[] | undefined;
|
|
4401
4402
|
} | undefined;
|
|
@@ -4473,8 +4474,8 @@ declare function safeParseRecipientFilter(filter: unknown): z.SafeParseReturnTyp
|
|
|
4473
4474
|
contractAddress: string;
|
|
4474
4475
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4475
4476
|
minBalance?: string | number | undefined;
|
|
4476
|
-
tokenId?: string | undefined;
|
|
4477
4477
|
tokenSymbol?: string | undefined;
|
|
4478
|
+
tokenId?: string | undefined;
|
|
4478
4479
|
tokenName?: string | undefined;
|
|
4479
4480
|
}[] | undefined;
|
|
4480
4481
|
} | undefined;
|
package/dist/index.d.ts
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.js';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -908,9 +909,9 @@ declare const DraftSchema: z.ZodObject<{
|
|
|
908
909
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
909
910
|
status: "draft" | "quoted" | "executed";
|
|
910
911
|
id: string;
|
|
912
|
+
amount: string;
|
|
911
913
|
createdAt: string;
|
|
912
914
|
updatedAt: string;
|
|
913
|
-
amount: string;
|
|
914
915
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
915
916
|
strategy: "equal" | "weighted" | "proportional";
|
|
916
917
|
filter?: unknown;
|
|
@@ -921,9 +922,9 @@ declare const DraftSchema: z.ZodObject<{
|
|
|
921
922
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
922
923
|
status: "draft" | "quoted" | "executed";
|
|
923
924
|
id: string;
|
|
925
|
+
amount: string;
|
|
924
926
|
createdAt: string;
|
|
925
927
|
updatedAt: string;
|
|
926
|
-
amount: string;
|
|
927
928
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
928
929
|
strategy: "equal" | "weighted" | "proportional";
|
|
929
930
|
filter?: unknown;
|
|
@@ -1004,9 +1005,9 @@ declare function validateDraft(draft: unknown): z.SafeParseReturnType<{
|
|
|
1004
1005
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
1005
1006
|
status: "draft" | "quoted" | "executed";
|
|
1006
1007
|
id: string;
|
|
1008
|
+
amount: string;
|
|
1007
1009
|
createdAt: string;
|
|
1008
1010
|
updatedAt: string;
|
|
1009
|
-
amount: string;
|
|
1010
1011
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
1011
1012
|
strategy: "equal" | "weighted" | "proportional";
|
|
1012
1013
|
filter?: unknown;
|
|
@@ -1017,9 +1018,9 @@ declare function validateDraft(draft: unknown): z.SafeParseReturnType<{
|
|
|
1017
1018
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
1018
1019
|
status: "draft" | "quoted" | "executed";
|
|
1019
1020
|
id: string;
|
|
1021
|
+
amount: string;
|
|
1020
1022
|
createdAt: string;
|
|
1021
1023
|
updatedAt: string;
|
|
1022
|
-
amount: string;
|
|
1023
1024
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
1024
1025
|
strategy: "equal" | "weighted" | "proportional";
|
|
1025
1026
|
filter?: unknown;
|
|
@@ -1034,9 +1035,9 @@ declare function parseDraft(draft: unknown): {
|
|
|
1034
1035
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
1035
1036
|
status: "draft" | "quoted" | "executed";
|
|
1036
1037
|
id: string;
|
|
1038
|
+
amount: string;
|
|
1037
1039
|
createdAt: string;
|
|
1038
1040
|
updatedAt: string;
|
|
1039
|
-
amount: string;
|
|
1040
1041
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
1041
1042
|
strategy: "equal" | "weighted" | "proportional";
|
|
1042
1043
|
filter?: unknown;
|
|
@@ -1249,6 +1250,7 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1249
1250
|
}, "strip", z.ZodTypeAny, {
|
|
1250
1251
|
status: "pending" | "deposit_confirmed" | "executing" | "completed" | "expired" | "failed";
|
|
1251
1252
|
id: string;
|
|
1253
|
+
expiresAt: string;
|
|
1252
1254
|
recipientCount: number;
|
|
1253
1255
|
totalAmount: string;
|
|
1254
1256
|
protocolFee: string;
|
|
@@ -1256,13 +1258,13 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1256
1258
|
depositAddress: string;
|
|
1257
1259
|
depositChainId: number;
|
|
1258
1260
|
depositTokenAddress: string;
|
|
1259
|
-
expiresAt: string;
|
|
1260
1261
|
input: Record<string, unknown>;
|
|
1261
1262
|
createdAt: string;
|
|
1262
1263
|
updatedAt: string;
|
|
1263
1264
|
}, {
|
|
1264
1265
|
status: "pending" | "deposit_confirmed" | "executing" | "completed" | "expired" | "failed";
|
|
1265
1266
|
id: string;
|
|
1267
|
+
expiresAt: string;
|
|
1266
1268
|
recipientCount: number;
|
|
1267
1269
|
totalAmount: string;
|
|
1268
1270
|
protocolFee: string;
|
|
@@ -1270,7 +1272,6 @@ declare const ApiQuoteResponseSchema: z.ZodObject<{
|
|
|
1270
1272
|
depositAddress: string;
|
|
1271
1273
|
depositChainId: number;
|
|
1272
1274
|
depositTokenAddress: string;
|
|
1273
|
-
expiresAt: string;
|
|
1274
1275
|
input: Record<string, unknown>;
|
|
1275
1276
|
createdAt: string;
|
|
1276
1277
|
updatedAt: string;
|
|
@@ -2601,9 +2602,9 @@ declare const QuoteSchema: z.ZodObject<{
|
|
|
2601
2602
|
}, "strip", z.ZodTypeAny, {
|
|
2602
2603
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2603
2604
|
id: string;
|
|
2605
|
+
expiresAt: string;
|
|
2604
2606
|
recipientCount: number;
|
|
2605
2607
|
totalAmount: string;
|
|
2606
|
-
expiresAt: string;
|
|
2607
2608
|
createdAt: string;
|
|
2608
2609
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2609
2610
|
draftId: string;
|
|
@@ -2621,9 +2622,9 @@ declare const QuoteSchema: z.ZodObject<{
|
|
|
2621
2622
|
}, {
|
|
2622
2623
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2623
2624
|
id: string;
|
|
2625
|
+
expiresAt: string;
|
|
2624
2626
|
recipientCount: number;
|
|
2625
2627
|
totalAmount: string;
|
|
2626
|
-
expiresAt: string;
|
|
2627
2628
|
createdAt: string;
|
|
2628
2629
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2629
2630
|
draftId: string;
|
|
@@ -2728,9 +2729,9 @@ declare function parseQuoteOptions(options: unknown): {
|
|
|
2728
2729
|
declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
2729
2730
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2730
2731
|
id: string;
|
|
2732
|
+
expiresAt: string;
|
|
2731
2733
|
recipientCount: number;
|
|
2732
2734
|
totalAmount: string;
|
|
2733
|
-
expiresAt: string;
|
|
2734
2735
|
createdAt: string;
|
|
2735
2736
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2736
2737
|
draftId: string;
|
|
@@ -2748,9 +2749,9 @@ declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
|
2748
2749
|
}, {
|
|
2749
2750
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2750
2751
|
id: string;
|
|
2752
|
+
expiresAt: string;
|
|
2751
2753
|
recipientCount: number;
|
|
2752
2754
|
totalAmount: string;
|
|
2753
|
-
expiresAt: string;
|
|
2754
2755
|
createdAt: string;
|
|
2755
2756
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2756
2757
|
draftId: string;
|
|
@@ -2772,9 +2773,9 @@ declare function validateQuote(quote: unknown): z.SafeParseReturnType<{
|
|
|
2772
2773
|
declare function parseQuote(quote: unknown): {
|
|
2773
2774
|
network: "base" | "ethereum" | "arbitrum" | "polygon" | "optimism";
|
|
2774
2775
|
id: string;
|
|
2776
|
+
expiresAt: string;
|
|
2775
2777
|
recipientCount: number;
|
|
2776
2778
|
totalAmount: string;
|
|
2777
|
-
expiresAt: string;
|
|
2778
2779
|
createdAt: string;
|
|
2779
2780
|
token: "USDC" | "USDT" | "ETH" | "MATIC";
|
|
2780
2781
|
draftId: string;
|
|
@@ -3594,16 +3595,16 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3594
3595
|
contractAddress: string;
|
|
3595
3596
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3596
3597
|
minBalance?: string | number | undefined;
|
|
3597
|
-
tokenId?: string | undefined;
|
|
3598
3598
|
tokenSymbol?: string | undefined;
|
|
3599
|
+
tokenId?: string | undefined;
|
|
3599
3600
|
tokenName?: string | undefined;
|
|
3600
3601
|
}, {
|
|
3601
3602
|
chain: "base" | "ethereum";
|
|
3602
3603
|
contractAddress: string;
|
|
3603
3604
|
minBalance?: string | number | undefined;
|
|
3605
|
+
tokenSymbol?: string | undefined;
|
|
3604
3606
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3605
3607
|
tokenId?: string | undefined;
|
|
3606
|
-
tokenSymbol?: string | undefined;
|
|
3607
3608
|
tokenName?: string | undefined;
|
|
3608
3609
|
}>;
|
|
3609
3610
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3612,8 +3613,8 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3612
3613
|
contractAddress: string;
|
|
3613
3614
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3614
3615
|
minBalance?: string | number | undefined;
|
|
3615
|
-
tokenId?: string | undefined;
|
|
3616
3616
|
tokenSymbol?: string | undefined;
|
|
3617
|
+
tokenId?: string | undefined;
|
|
3617
3618
|
tokenName?: string | undefined;
|
|
3618
3619
|
};
|
|
3619
3620
|
}, {
|
|
@@ -3621,9 +3622,9 @@ declare const CachedTokenHolderFilterSchema: z.ZodObject<{
|
|
|
3621
3622
|
chain: "base" | "ethereum";
|
|
3622
3623
|
contractAddress: string;
|
|
3623
3624
|
minBalance?: string | number | undefined;
|
|
3625
|
+
tokenSymbol?: string | undefined;
|
|
3624
3626
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3625
3627
|
tokenId?: string | undefined;
|
|
3626
|
-
tokenSymbol?: string | undefined;
|
|
3627
3628
|
tokenName?: string | undefined;
|
|
3628
3629
|
};
|
|
3629
3630
|
}>;
|
|
@@ -3679,16 +3680,16 @@ declare const CachedTokenHolderSchema: z.ZodObject<{
|
|
|
3679
3680
|
contractAddress: string;
|
|
3680
3681
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3681
3682
|
minBalance?: string | number | undefined;
|
|
3682
|
-
tokenId?: string | undefined;
|
|
3683
3683
|
tokenSymbol?: string | undefined;
|
|
3684
|
+
tokenId?: string | undefined;
|
|
3684
3685
|
tokenName?: string | undefined;
|
|
3685
3686
|
}, {
|
|
3686
3687
|
chain: "base" | "ethereum";
|
|
3687
3688
|
contractAddress: string;
|
|
3688
3689
|
minBalance?: string | number | undefined;
|
|
3690
|
+
tokenSymbol?: string | undefined;
|
|
3689
3691
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3690
3692
|
tokenId?: string | undefined;
|
|
3691
|
-
tokenSymbol?: string | undefined;
|
|
3692
3693
|
tokenName?: string | undefined;
|
|
3693
3694
|
}>;
|
|
3694
3695
|
declare const OnchainFilterSchema: z.ZodObject<{
|
|
@@ -3731,16 +3732,16 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3731
3732
|
contractAddress: string;
|
|
3732
3733
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3733
3734
|
minBalance?: string | number | undefined;
|
|
3734
|
-
tokenId?: string | undefined;
|
|
3735
3735
|
tokenSymbol?: string | undefined;
|
|
3736
|
+
tokenId?: string | undefined;
|
|
3736
3737
|
tokenName?: string | undefined;
|
|
3737
3738
|
}, {
|
|
3738
3739
|
chain: "base" | "ethereum";
|
|
3739
3740
|
contractAddress: string;
|
|
3740
3741
|
minBalance?: string | number | undefined;
|
|
3742
|
+
tokenSymbol?: string | undefined;
|
|
3741
3743
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3742
3744
|
tokenId?: string | undefined;
|
|
3743
|
-
tokenSymbol?: string | undefined;
|
|
3744
3745
|
tokenName?: string | undefined;
|
|
3745
3746
|
}>, "many">>;
|
|
3746
3747
|
hasVerifiedWallet: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3761,8 +3762,8 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3761
3762
|
contractAddress: string;
|
|
3762
3763
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3763
3764
|
minBalance?: string | number | undefined;
|
|
3764
|
-
tokenId?: string | undefined;
|
|
3765
3765
|
tokenSymbol?: string | undefined;
|
|
3766
|
+
tokenId?: string | undefined;
|
|
3766
3767
|
tokenName?: string | undefined;
|
|
3767
3768
|
}[] | undefined;
|
|
3768
3769
|
}, {
|
|
@@ -3781,9 +3782,9 @@ declare const OnchainFilterSchema: z.ZodObject<{
|
|
|
3781
3782
|
chain: "base" | "ethereum";
|
|
3782
3783
|
contractAddress: string;
|
|
3783
3784
|
minBalance?: string | number | undefined;
|
|
3785
|
+
tokenSymbol?: string | undefined;
|
|
3784
3786
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3785
3787
|
tokenId?: string | undefined;
|
|
3786
|
-
tokenSymbol?: string | undefined;
|
|
3787
3788
|
tokenName?: string | undefined;
|
|
3788
3789
|
}[] | undefined;
|
|
3789
3790
|
}>;
|
|
@@ -3954,16 +3955,16 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
3954
3955
|
contractAddress: string;
|
|
3955
3956
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3956
3957
|
minBalance?: string | number | undefined;
|
|
3957
|
-
tokenId?: string | undefined;
|
|
3958
3958
|
tokenSymbol?: string | undefined;
|
|
3959
|
+
tokenId?: string | undefined;
|
|
3959
3960
|
tokenName?: string | undefined;
|
|
3960
3961
|
}, {
|
|
3961
3962
|
chain: "base" | "ethereum";
|
|
3962
3963
|
contractAddress: string;
|
|
3963
3964
|
minBalance?: string | number | undefined;
|
|
3965
|
+
tokenSymbol?: string | undefined;
|
|
3964
3966
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
3965
3967
|
tokenId?: string | undefined;
|
|
3966
|
-
tokenSymbol?: string | undefined;
|
|
3967
3968
|
tokenName?: string | undefined;
|
|
3968
3969
|
}>, "many">>;
|
|
3969
3970
|
hasVerifiedWallet: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3984,8 +3985,8 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
3984
3985
|
contractAddress: string;
|
|
3985
3986
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
3986
3987
|
minBalance?: string | number | undefined;
|
|
3987
|
-
tokenId?: string | undefined;
|
|
3988
3988
|
tokenSymbol?: string | undefined;
|
|
3989
|
+
tokenId?: string | undefined;
|
|
3989
3990
|
tokenName?: string | undefined;
|
|
3990
3991
|
}[] | undefined;
|
|
3991
3992
|
}, {
|
|
@@ -4004,9 +4005,9 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
4004
4005
|
chain: "base" | "ethereum";
|
|
4005
4006
|
contractAddress: string;
|
|
4006
4007
|
minBalance?: string | number | undefined;
|
|
4008
|
+
tokenSymbol?: string | undefined;
|
|
4007
4009
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
4008
4010
|
tokenId?: string | undefined;
|
|
4009
|
-
tokenSymbol?: string | undefined;
|
|
4010
4011
|
tokenName?: string | undefined;
|
|
4011
4012
|
}[] | undefined;
|
|
4012
4013
|
}>>;
|
|
@@ -4115,8 +4116,8 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
4115
4116
|
contractAddress: string;
|
|
4116
4117
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4117
4118
|
minBalance?: string | number | undefined;
|
|
4118
|
-
tokenId?: string | undefined;
|
|
4119
4119
|
tokenSymbol?: string | undefined;
|
|
4120
|
+
tokenId?: string | undefined;
|
|
4120
4121
|
tokenName?: string | undefined;
|
|
4121
4122
|
}[] | undefined;
|
|
4122
4123
|
} | undefined;
|
|
@@ -4193,9 +4194,9 @@ declare const RecipientFilterSchema: z.ZodObject<{
|
|
|
4193
4194
|
chain: "base" | "ethereum";
|
|
4194
4195
|
contractAddress: string;
|
|
4195
4196
|
minBalance?: string | number | undefined;
|
|
4197
|
+
tokenSymbol?: string | undefined;
|
|
4196
4198
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
4197
4199
|
tokenId?: string | undefined;
|
|
4198
|
-
tokenSymbol?: string | undefined;
|
|
4199
4200
|
tokenName?: string | undefined;
|
|
4200
4201
|
}[] | undefined;
|
|
4201
4202
|
} | undefined;
|
|
@@ -4311,8 +4312,8 @@ declare function parseRecipientFilter(filter: unknown): {
|
|
|
4311
4312
|
contractAddress: string;
|
|
4312
4313
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4313
4314
|
minBalance?: string | number | undefined;
|
|
4314
|
-
tokenId?: string | undefined;
|
|
4315
4315
|
tokenSymbol?: string | undefined;
|
|
4316
|
+
tokenId?: string | undefined;
|
|
4316
4317
|
tokenName?: string | undefined;
|
|
4317
4318
|
}[] | undefined;
|
|
4318
4319
|
} | undefined;
|
|
@@ -4393,9 +4394,9 @@ declare function safeParseRecipientFilter(filter: unknown): z.SafeParseReturnTyp
|
|
|
4393
4394
|
chain: "base" | "ethereum";
|
|
4394
4395
|
contractAddress: string;
|
|
4395
4396
|
minBalance?: string | number | undefined;
|
|
4397
|
+
tokenSymbol?: string | undefined;
|
|
4396
4398
|
tokenStandard?: "ERC20" | "ERC721" | "ERC1155" | undefined;
|
|
4397
4399
|
tokenId?: string | undefined;
|
|
4398
|
-
tokenSymbol?: string | undefined;
|
|
4399
4400
|
tokenName?: string | undefined;
|
|
4400
4401
|
}[] | undefined;
|
|
4401
4402
|
} | undefined;
|
|
@@ -4473,8 +4474,8 @@ declare function safeParseRecipientFilter(filter: unknown): z.SafeParseReturnTyp
|
|
|
4473
4474
|
contractAddress: string;
|
|
4474
4475
|
tokenStandard: "ERC20" | "ERC721" | "ERC1155";
|
|
4475
4476
|
minBalance?: string | number | undefined;
|
|
4476
|
-
tokenId?: string | undefined;
|
|
4477
4477
|
tokenSymbol?: string | undefined;
|
|
4478
|
+
tokenId?: string | undefined;
|
|
4478
4479
|
tokenName?: string | undefined;
|
|
4479
4480
|
}[] | undefined;
|
|
4480
4481
|
} | undefined;
|