@mobula_labs/types 0.1.2 → 0.1.4

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/index.d.ts CHANGED
@@ -50,6 +50,7 @@ export * from './v1/wallet/WalletPortfolioSchema.ts';
50
50
  export * from './v1/wallet/WalletSmartMoneySchema.ts';
51
51
  export * from './v1/wallet/WalletTradesSchema.ts';
52
52
  export * from './v1/wallet/WalletTransactionSchema.ts';
53
+ export * from './v1/webhook/WebhookSchema.ts';
53
54
  export * from './v2/asset/AssetDetailsSchema.ts';
54
55
  export * from './v2/asset/AssetPriceHistorySchema.ts';
55
56
  export * from './v2/explorer/BlockQuerySchema.ts';
@@ -69,6 +70,7 @@ export * from './v2/token/TokenKlineBsPointSchema.ts';
69
70
  export * from './v2/token/TokenMarketsSchema.ts';
70
71
  export * from './v2/token/TokenOHLCVHistorySchema.ts';
71
72
  export * from './v2/token/TokenPositionsSchema.ts';
73
+ export * from './v2/token/TokenPriceSchema.ts';
72
74
  export * from './v2/token/TokenSecurityOutput.ts';
73
75
  export * from './v2/token/TokenSecurityQuery.ts';
74
76
  export * from './v2/token/TokenSecuritySchema.ts';
@@ -118,6 +118,22 @@ export declare const FundingRateResponseSchema: z.ZodObject<{
118
118
  epochDurationMs: number;
119
119
  marketPrice?: number | null | undefined;
120
120
  }>, "many">]>>;
121
+ gateFundingRate: z.ZodOptional<z.ZodObject<{
122
+ symbol: z.ZodString;
123
+ fundingTime: z.ZodNumber;
124
+ fundingRate: z.ZodNumber;
125
+ epochDurationMs: z.ZodNumber;
126
+ }, "strip", z.ZodTypeAny, {
127
+ symbol: string;
128
+ fundingTime: number;
129
+ fundingRate: number;
130
+ epochDurationMs: number;
131
+ }, {
132
+ symbol: string;
133
+ fundingTime: number;
134
+ fundingRate: number;
135
+ epochDurationMs: number;
136
+ }>>;
121
137
  queryDetails: z.ZodObject<{
122
138
  base: z.ZodString;
123
139
  quote: z.ZodNullable<z.ZodString>;
@@ -171,6 +187,12 @@ export declare const FundingRateResponseSchema: z.ZodObject<{
171
187
  epochDurationMs: number;
172
188
  marketPrice?: number | null | undefined;
173
189
  }[] | undefined;
190
+ gateFundingRate?: {
191
+ symbol: string;
192
+ fundingTime: number;
193
+ fundingRate: number;
194
+ epochDurationMs: number;
195
+ } | undefined;
174
196
  }, {
175
197
  queryDetails: {
176
198
  base: string;
@@ -214,5 +236,11 @@ export declare const FundingRateResponseSchema: z.ZodObject<{
214
236
  epochDurationMs: number;
215
237
  marketPrice?: number | null | undefined;
216
238
  }[] | undefined;
239
+ gateFundingRate?: {
240
+ symbol: string;
241
+ fundingTime: number;
242
+ fundingRate: number;
243
+ epochDurationMs: number;
244
+ } | undefined;
217
245
  }>;
218
246
  export type FundingRateResponse = z.infer<typeof FundingRateResponseSchema>;
@@ -31,16 +31,28 @@ export declare const MarketMultiPricesResponseSchema: z.ZodObject<{
31
31
  name: z.ZodNullable<z.ZodString>;
32
32
  symbol: z.ZodNullable<z.ZodString>;
33
33
  logo: z.ZodNullable<z.ZodString>;
34
+ marketCap: z.ZodNullable<z.ZodNumber>;
35
+ marketCapDiluted: z.ZodNullable<z.ZodNumber>;
36
+ liquidity: z.ZodNullable<z.ZodNumber>;
37
+ liquidityMax: z.ZodNullable<z.ZodNumber>;
34
38
  }, "strip", z.ZodTypeAny, {
35
39
  symbol: string | null;
36
40
  name: string | null;
37
41
  logo: string | null;
38
42
  price: number | null;
43
+ marketCap: number | null;
44
+ marketCapDiluted: number | null;
45
+ liquidity: number | null;
46
+ liquidityMax: number | null;
39
47
  }, {
40
48
  symbol: string | null;
41
49
  name: string | null;
42
50
  logo: string | null;
43
51
  price: number | null;
52
+ marketCap: number | null;
53
+ marketCapDiluted: number | null;
54
+ liquidity: number | null;
55
+ liquidityMax: number | null;
44
56
  }>>;
45
57
  }, "strip", z.ZodTypeAny, {
46
58
  data: Record<string, {
@@ -48,6 +60,10 @@ export declare const MarketMultiPricesResponseSchema: z.ZodObject<{
48
60
  name: string | null;
49
61
  logo: string | null;
50
62
  price: number | null;
63
+ marketCap: number | null;
64
+ marketCapDiluted: number | null;
65
+ liquidity: number | null;
66
+ liquidityMax: number | null;
51
67
  }>;
52
68
  }, {
53
69
  data: Record<string, {
@@ -55,6 +71,10 @@ export declare const MarketMultiPricesResponseSchema: z.ZodObject<{
55
71
  name: string | null;
56
72
  logo: string | null;
57
73
  price: number | null;
74
+ marketCap: number | null;
75
+ marketCapDiluted: number | null;
76
+ liquidity: number | null;
77
+ liquidityMax: number | null;
58
78
  }>;
59
79
  }>;
60
80
  export type MarketMultiPricesResponse = z.infer<typeof MarketMultiPricesResponseSchema>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { type SecurityFlags } from '../../utils/schemas/SecuritySchemas.js';
2
+ import { type SecurityFlags } from '../../utils/schemas/SecuritySchemas.ts';
3
3
  declare const WalletTokenTypeValues: readonly ["2020", "2022", "erc20", "trc10", "trc20"];
4
4
  export type WalletTokenType = (typeof WalletTokenTypeValues)[number];
5
5
  export type CrossChainBalances = Record<string, {
@@ -25,6 +25,10 @@ export type ContractBalance = {
25
25
  chainId: string;
26
26
  tokenType?: WalletTokenType;
27
27
  security?: ContractBalanceSecurity;
28
+ /** Rent lamports for Solana token accounts (returned when account is closed). Only present for Solana SPL tokens. */
29
+ lamports?: string | null;
30
+ /** SPL token account pubkey (needed for closing token accounts). Only present for Solana SPL tokens. */
31
+ tokenAccount?: string | null;
28
32
  };
29
33
  export interface FormattedHolding {
30
34
  asset: {
@@ -152,6 +156,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
152
156
  noMintAuthority?: boolean | undefined;
153
157
  frozen?: boolean | undefined;
154
158
  }>>>;
159
+ lamports: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ tokenAccount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
161
  }, "strip", z.ZodTypeAny, {
156
162
  address: string;
157
163
  balanceRaw: string;
@@ -179,6 +185,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
179
185
  frozen?: boolean | undefined;
180
186
  } | null | undefined;
181
187
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
188
+ lamports?: string | null | undefined;
189
+ tokenAccount?: string | null | undefined;
182
190
  }, {
183
191
  address: string;
184
192
  balanceRaw: string;
@@ -206,6 +214,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
206
214
  frozen?: boolean | undefined;
207
215
  } | null | undefined;
208
216
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
217
+ lamports?: string | null | undefined;
218
+ tokenAccount?: string | null | undefined;
209
219
  }>, "many">;
210
220
  cross_chain_balances: z.ZodRecord<z.ZodString, z.ZodObject<{
211
221
  balance: z.ZodNumber;
@@ -300,6 +310,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
300
310
  frozen?: boolean | undefined;
301
311
  } | null | undefined;
302
312
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
313
+ lamports?: string | null | undefined;
314
+ tokenAccount?: string | null | undefined;
303
315
  }[];
304
316
  cross_chain_balances: Record<string, {
305
317
  address: string;
@@ -356,6 +368,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
356
368
  frozen?: boolean | undefined;
357
369
  } | null | undefined;
358
370
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
371
+ lamports?: string | null | undefined;
372
+ tokenAccount?: string | null | undefined;
359
373
  }[];
360
374
  cross_chain_balances: Record<string, {
361
375
  address: string;
@@ -595,6 +609,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
595
609
  frozen?: boolean | undefined;
596
610
  } | null | undefined;
597
611
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
612
+ lamports?: string | null | undefined;
613
+ tokenAccount?: string | null | undefined;
598
614
  }[];
599
615
  cross_chain_balances: Record<string, {
600
616
  address: string;
@@ -704,6 +720,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
704
720
  frozen?: boolean | undefined;
705
721
  } | null | undefined;
706
722
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
723
+ lamports?: string | null | undefined;
724
+ tokenAccount?: string | null | undefined;
707
725
  }[];
708
726
  cross_chain_balances: Record<string, {
709
727
  address: string;
@@ -816,6 +834,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
816
834
  frozen?: boolean | undefined;
817
835
  } | null | undefined;
818
836
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
837
+ lamports?: string | null | undefined;
838
+ tokenAccount?: string | null | undefined;
819
839
  }[];
820
840
  cross_chain_balances: Record<string, {
821
841
  address: string;
@@ -928,6 +948,8 @@ export declare const PortfolioResponseSchema: z.ZodObject<{
928
948
  frozen?: boolean | undefined;
929
949
  } | null | undefined;
930
950
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
951
+ lamports?: string | null | undefined;
952
+ tokenAccount?: string | null | undefined;
931
953
  }[];
932
954
  cross_chain_balances: Record<string, {
933
955
  address: string;
@@ -1072,6 +1094,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1072
1094
  noMintAuthority?: boolean | undefined;
1073
1095
  frozen?: boolean | undefined;
1074
1096
  }>>>;
1097
+ lamports: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1098
+ tokenAccount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
1099
  }, "strip", z.ZodTypeAny, {
1076
1100
  address: string;
1077
1101
  balanceRaw: string;
@@ -1099,6 +1123,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1099
1123
  frozen?: boolean | undefined;
1100
1124
  } | null | undefined;
1101
1125
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
1126
+ lamports?: string | null | undefined;
1127
+ tokenAccount?: string | null | undefined;
1102
1128
  }, {
1103
1129
  address: string;
1104
1130
  balanceRaw: string;
@@ -1126,6 +1152,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1126
1152
  frozen?: boolean | undefined;
1127
1153
  } | null | undefined;
1128
1154
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
1155
+ lamports?: string | null | undefined;
1156
+ tokenAccount?: string | null | undefined;
1129
1157
  }>, "many">;
1130
1158
  cross_chain_balances: z.ZodRecord<z.ZodString, z.ZodObject<{
1131
1159
  balance: z.ZodNumber;
@@ -1220,6 +1248,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1220
1248
  frozen?: boolean | undefined;
1221
1249
  } | null | undefined;
1222
1250
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
1251
+ lamports?: string | null | undefined;
1252
+ tokenAccount?: string | null | undefined;
1223
1253
  }[];
1224
1254
  cross_chain_balances: Record<string, {
1225
1255
  address: string;
@@ -1276,6 +1306,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1276
1306
  frozen?: boolean | undefined;
1277
1307
  } | null | undefined;
1278
1308
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
1309
+ lamports?: string | null | undefined;
1310
+ tokenAccount?: string | null | undefined;
1279
1311
  }[];
1280
1312
  cross_chain_balances: Record<string, {
1281
1313
  address: string;
@@ -1515,6 +1547,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1515
1547
  frozen?: boolean | undefined;
1516
1548
  } | null | undefined;
1517
1549
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
1550
+ lamports?: string | null | undefined;
1551
+ tokenAccount?: string | null | undefined;
1518
1552
  }[];
1519
1553
  cross_chain_balances: Record<string, {
1520
1554
  address: string;
@@ -1624,6 +1658,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1624
1658
  frozen?: boolean | undefined;
1625
1659
  } | null | undefined;
1626
1660
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
1661
+ lamports?: string | null | undefined;
1662
+ tokenAccount?: string | null | undefined;
1627
1663
  }[];
1628
1664
  cross_chain_balances: Record<string, {
1629
1665
  address: string;
@@ -1736,6 +1772,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1736
1772
  frozen?: boolean | undefined;
1737
1773
  } | null | undefined;
1738
1774
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
1775
+ lamports?: string | null | undefined;
1776
+ tokenAccount?: string | null | undefined;
1739
1777
  }[];
1740
1778
  cross_chain_balances: Record<string, {
1741
1779
  address: string;
@@ -1848,6 +1886,8 @@ export declare const MultiPortfolioResponseSchema: z.ZodObject<{
1848
1886
  frozen?: boolean | undefined;
1849
1887
  } | null | undefined;
1850
1888
  tokenType?: "2020" | "2022" | "erc20" | "trc10" | "trc20" | null | undefined;
1889
+ lamports?: string | null | undefined;
1890
+ tokenAccount?: string | null | undefined;
1851
1891
  }[];
1852
1892
  cross_chain_balances: Record<string, {
1853
1893
  address: string;
@@ -0,0 +1,295 @@
1
+ import { z } from 'zod';
2
+ declare const BaseFilter: z.ZodObject<{
3
+ eq: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>], null>>;
4
+ neq: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>], null>>;
5
+ lt: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodNumber], null>>;
6
+ lte: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodNumber], null>>;
7
+ gt: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodNumber], null>>;
8
+ gte: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodNumber], null>>;
9
+ in: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>], null>>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ gte?: [string, number] | undefined;
12
+ in?: [string, string | number | boolean | null] | undefined;
13
+ lte?: [string, number] | undefined;
14
+ gt?: [string, number] | undefined;
15
+ lt?: [string, number] | undefined;
16
+ eq?: [string, string | number | boolean | null] | undefined;
17
+ neq?: [string, string | number | boolean | null] | undefined;
18
+ }, {
19
+ gte?: [string, number] | undefined;
20
+ in?: [string, string | number | boolean | null] | undefined;
21
+ lte?: [string, number] | undefined;
22
+ gt?: [string, number] | undefined;
23
+ lt?: [string, number] | undefined;
24
+ eq?: [string, string | number | boolean | null] | undefined;
25
+ neq?: [string, string | number | boolean | null] | undefined;
26
+ }>;
27
+ type BaseFilter = z.infer<typeof BaseFilter>;
28
+ export type Filter = BaseFilter & ({
29
+ and?: Filter[];
30
+ } | {
31
+ or?: Filter[];
32
+ });
33
+ declare const Filter: z.ZodType<Filter>;
34
+ export type FilterType = z.infer<typeof Filter>;
35
+ export declare function countOperations(filter: Filter | undefined): number;
36
+ declare const FilterWithLimit: z.ZodEffects<z.ZodType<Filter, z.ZodTypeDef, Filter>, Filter, Filter>;
37
+ export default FilterWithLimit;
38
+ declare const UpdateWebhook: z.ZodObject<{
39
+ streamId: z.ZodString;
40
+ apiKey: z.ZodString;
41
+ mode: z.ZodDefault<z.ZodEnum<["replace", "merge"]>>;
42
+ filters: z.ZodOptional<z.ZodEffects<z.ZodType<Filter, z.ZodTypeDef, Filter>, Filter, Filter>>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ mode: "replace" | "merge";
45
+ streamId: string;
46
+ apiKey: string;
47
+ filters?: Filter | undefined;
48
+ }, {
49
+ streamId: string;
50
+ apiKey: string;
51
+ filters?: Filter | undefined;
52
+ mode?: "replace" | "merge" | undefined;
53
+ }>;
54
+ type UpdateWebhookDto = z.infer<typeof UpdateWebhook>;
55
+ export { UpdateWebhook };
56
+ export type { UpdateWebhookDto };
57
+ export type UpdateWebhookParams = UpdateWebhookDto;
58
+ export declare const CreateWebhook: z.ZodObject<{
59
+ name: z.ZodString;
60
+ chainIds: z.ZodArray<z.ZodString, "many">;
61
+ events: z.ZodArray<z.ZodString, "many">;
62
+ apiKey: z.ZodString;
63
+ filters: z.ZodOptional<z.ZodEffects<z.ZodType<Filter, z.ZodTypeDef, Filter>, Filter, Filter>>;
64
+ url: z.ZodString;
65
+ }, "strict", z.ZodTypeAny, {
66
+ name: string;
67
+ url: string;
68
+ apiKey: string;
69
+ chainIds: string[];
70
+ events: string[];
71
+ filters?: Filter | undefined;
72
+ }, {
73
+ name: string;
74
+ url: string;
75
+ apiKey: string;
76
+ chainIds: string[];
77
+ events: string[];
78
+ filters?: Filter | undefined;
79
+ }>;
80
+ export type CreateWebhookDto = z.infer<typeof CreateWebhook>;
81
+ export type CreateWebhookParams = CreateWebhookDto;
82
+ export declare const listWebhooksQueryParams: z.ZodObject<{
83
+ apiKey: z.ZodString;
84
+ }, "strip", z.ZodTypeAny, {
85
+ apiKey: string;
86
+ }, {
87
+ apiKey: string;
88
+ }>;
89
+ export type ListWebhooksQuery = z.infer<typeof listWebhooksQueryParams>;
90
+ export type ListWebhooksParams = ListWebhooksQuery;
91
+ export declare const deleteWebhookParams: z.ZodObject<{
92
+ id: z.ZodString;
93
+ }, "strip", z.ZodTypeAny, {
94
+ id: string;
95
+ }, {
96
+ id: string;
97
+ }>;
98
+ export type DeleteWebhookType = z.infer<typeof deleteWebhookParams>;
99
+ export type DeleteWebhookParams = DeleteWebhookType;
100
+ export declare const WebhookResponseSchema: z.ZodObject<{
101
+ id: z.ZodString;
102
+ name: z.ZodString;
103
+ chainIds: z.ZodArray<z.ZodString, "many">;
104
+ events: z.ZodArray<z.ZodString, "many">;
105
+ filters: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
106
+ webhookUrl: z.ZodString;
107
+ apiKey: z.ZodString;
108
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ name: string;
111
+ createdAt: string;
112
+ id: string;
113
+ apiKey: string;
114
+ chainIds: string[];
115
+ events: string[];
116
+ webhookUrl: string;
117
+ filters?: any;
118
+ }, {
119
+ name: string;
120
+ createdAt: string | Date;
121
+ id: string;
122
+ apiKey: string;
123
+ chainIds: string[];
124
+ events: string[];
125
+ webhookUrl: string;
126
+ filters?: any;
127
+ }>;
128
+ export type WebhookResponse = z.infer<typeof WebhookResponseSchema>;
129
+ export declare const CreateWebhookResponseSchema: z.ZodObject<{
130
+ id: z.ZodString;
131
+ name: z.ZodString;
132
+ chainIds: z.ZodArray<z.ZodString, "many">;
133
+ events: z.ZodArray<z.ZodString, "many">;
134
+ filters: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
135
+ webhookUrl: z.ZodString;
136
+ apiKey: z.ZodString;
137
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
138
+ } & {
139
+ webhookSecret: z.ZodString;
140
+ }, "strip", z.ZodTypeAny, {
141
+ name: string;
142
+ createdAt: string;
143
+ id: string;
144
+ apiKey: string;
145
+ chainIds: string[];
146
+ events: string[];
147
+ webhookUrl: string;
148
+ webhookSecret: string;
149
+ filters?: any;
150
+ }, {
151
+ name: string;
152
+ createdAt: string | Date;
153
+ id: string;
154
+ apiKey: string;
155
+ chainIds: string[];
156
+ events: string[];
157
+ webhookUrl: string;
158
+ webhookSecret: string;
159
+ filters?: any;
160
+ }>;
161
+ export type CreateWebhookResponse = z.infer<typeof CreateWebhookResponseSchema>;
162
+ export declare const listWebhookResponseSchema: z.ZodObject<{
163
+ success: z.ZodBoolean;
164
+ count: z.ZodNumber;
165
+ data: z.ZodArray<z.ZodObject<{
166
+ id: z.ZodString;
167
+ name: z.ZodString;
168
+ chainIds: z.ZodArray<z.ZodString, "many">;
169
+ events: z.ZodArray<z.ZodString, "many">;
170
+ filters: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
171
+ webhookUrl: z.ZodString;
172
+ apiKey: z.ZodString;
173
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ name: string;
176
+ createdAt: string;
177
+ id: string;
178
+ apiKey: string;
179
+ chainIds: string[];
180
+ events: string[];
181
+ webhookUrl: string;
182
+ filters?: any;
183
+ }, {
184
+ name: string;
185
+ createdAt: string | Date;
186
+ id: string;
187
+ apiKey: string;
188
+ chainIds: string[];
189
+ events: string[];
190
+ webhookUrl: string;
191
+ filters?: any;
192
+ }>, "many">;
193
+ }, "strip", z.ZodTypeAny, {
194
+ data: {
195
+ name: string;
196
+ createdAt: string;
197
+ id: string;
198
+ apiKey: string;
199
+ chainIds: string[];
200
+ events: string[];
201
+ webhookUrl: string;
202
+ filters?: any;
203
+ }[];
204
+ success: boolean;
205
+ count: number;
206
+ }, {
207
+ data: {
208
+ name: string;
209
+ createdAt: string | Date;
210
+ id: string;
211
+ apiKey: string;
212
+ chainIds: string[];
213
+ events: string[];
214
+ webhookUrl: string;
215
+ filters?: any;
216
+ }[];
217
+ success: boolean;
218
+ count: number;
219
+ }>;
220
+ export type listWebhookResponse = z.infer<typeof listWebhookResponseSchema>;
221
+ export type ListWebhooksResponse = listWebhookResponse;
222
+ export declare const updateWebhookResponseSchema: z.ZodObject<{
223
+ success: z.ZodBoolean;
224
+ message: z.ZodString;
225
+ data: z.ZodObject<{
226
+ id: z.ZodString;
227
+ name: z.ZodString;
228
+ chainIds: z.ZodArray<z.ZodString, "many">;
229
+ events: z.ZodArray<z.ZodString, "many">;
230
+ filters: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
231
+ webhookUrl: z.ZodString;
232
+ apiKey: z.ZodString;
233
+ createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ name: string;
236
+ createdAt: string;
237
+ id: string;
238
+ apiKey: string;
239
+ chainIds: string[];
240
+ events: string[];
241
+ webhookUrl: string;
242
+ filters?: any;
243
+ }, {
244
+ name: string;
245
+ createdAt: string | Date;
246
+ id: string;
247
+ apiKey: string;
248
+ chainIds: string[];
249
+ events: string[];
250
+ webhookUrl: string;
251
+ filters?: any;
252
+ }>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ message: string;
255
+ data: {
256
+ name: string;
257
+ createdAt: string;
258
+ id: string;
259
+ apiKey: string;
260
+ chainIds: string[];
261
+ events: string[];
262
+ webhookUrl: string;
263
+ filters?: any;
264
+ };
265
+ success: boolean;
266
+ }, {
267
+ message: string;
268
+ data: {
269
+ name: string;
270
+ createdAt: string | Date;
271
+ id: string;
272
+ apiKey: string;
273
+ chainIds: string[];
274
+ events: string[];
275
+ webhookUrl: string;
276
+ filters?: any;
277
+ };
278
+ success: boolean;
279
+ }>;
280
+ export type updateWebhookResponse = z.infer<typeof updateWebhookResponseSchema>;
281
+ export type UpdateWebhookResponse = updateWebhookResponse;
282
+ export declare const deleteWebhookResponseSchema: z.ZodObject<{
283
+ success: z.ZodBoolean;
284
+ message: z.ZodString;
285
+ id: z.ZodString;
286
+ }, "strip", z.ZodTypeAny, {
287
+ message: string;
288
+ id: string;
289
+ success: boolean;
290
+ }, {
291
+ message: string;
292
+ id: string;
293
+ success: boolean;
294
+ }>;
295
+ export type DeleteWebhookResponse = z.infer<typeof deleteWebhookResponseSchema>;