@helium/blockchain-api 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/dist/index.d.ts +698 -500
- package/dist/index.js +228 -120
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19,18 +19,13 @@ interface ClientOptions {
|
|
|
19
19
|
*/
|
|
20
20
|
declare const apiContract: {
|
|
21
21
|
health: {
|
|
22
|
-
check: _orpc_contract.
|
|
22
|
+
check: _orpc_contract.ContractProcedure<_orpc_contract.Schema<unknown, unknown>, zod.ZodObject<{
|
|
23
23
|
ok: zod.ZodBoolean;
|
|
24
24
|
error: zod.ZodOptional<zod.ZodString>;
|
|
25
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>,
|
|
26
|
-
INVALID_WALLET_ADDRESS: {
|
|
27
|
-
message: string;
|
|
28
|
-
status: number;
|
|
29
|
-
};
|
|
30
|
-
}>, Record<never, never>>;
|
|
25
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>>, Record<never, never>>;
|
|
31
26
|
};
|
|
32
27
|
tokens: {
|
|
33
|
-
getBalances: _orpc_contract.
|
|
28
|
+
getBalances: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
34
29
|
walletAddress: zod.ZodString;
|
|
35
30
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
36
31
|
totalBalanceUsd: zod.ZodNumber;
|
|
@@ -48,13 +43,13 @@ declare const apiContract: {
|
|
|
48
43
|
priceUsd: zod.ZodOptional<zod.ZodNumber>;
|
|
49
44
|
balanceUsd: zod.ZodOptional<zod.ZodNumber>;
|
|
50
45
|
}, zod_v4_core.$strip>>;
|
|
51
|
-
}, zod_v4_core.$strip>,
|
|
46
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
52
47
|
INVALID_WALLET_ADDRESS: {
|
|
53
|
-
message: string;
|
|
54
48
|
status: number;
|
|
49
|
+
message: string;
|
|
55
50
|
};
|
|
56
|
-
}
|
|
57
|
-
transfer: _orpc_contract.
|
|
51
|
+
}>>>, Record<never, never>>;
|
|
52
|
+
transfer: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
58
53
|
walletAddress: zod.ZodString;
|
|
59
54
|
mint: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
60
55
|
destination: zod.ZodString;
|
|
@@ -72,12 +67,7 @@ declare const apiContract: {
|
|
|
72
67
|
parallel: zod.ZodBoolean;
|
|
73
68
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
74
69
|
}, zod_v4_core.$strip>;
|
|
75
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
76
|
-
INVALID_WALLET_ADDRESS: {
|
|
77
|
-
message: string;
|
|
78
|
-
status: number;
|
|
79
|
-
};
|
|
80
|
-
}>, {
|
|
70
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
81
71
|
BAD_REQUEST: {
|
|
82
72
|
readonly status: 400;
|
|
83
73
|
readonly message: "Invalid input data provided.";
|
|
@@ -93,8 +83,8 @@ declare const apiContract: {
|
|
|
93
83
|
available: zod.ZodNumber;
|
|
94
84
|
}, zod_v4_core.$strip>;
|
|
95
85
|
};
|
|
96
|
-
}
|
|
97
|
-
createHntAccount: _orpc_contract.
|
|
86
|
+
}>>>, Record<never, never>>;
|
|
87
|
+
createHntAccount: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
98
88
|
walletAddress: zod.ZodString;
|
|
99
89
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
100
90
|
transactionData: zod.ZodObject<{
|
|
@@ -108,15 +98,15 @@ declare const apiContract: {
|
|
|
108
98
|
parallel: zod.ZodBoolean;
|
|
109
99
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
110
100
|
}, zod_v4_core.$strip>;
|
|
111
|
-
}, zod_v4_core.$strip>,
|
|
101
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
112
102
|
INVALID_WALLET_ADDRESS: {
|
|
113
|
-
message: string;
|
|
114
103
|
status: number;
|
|
104
|
+
message: string;
|
|
115
105
|
};
|
|
116
|
-
}
|
|
106
|
+
}>>>, Record<never, never>>;
|
|
117
107
|
};
|
|
118
108
|
hotspots: {
|
|
119
|
-
getHotspots: _orpc_contract.
|
|
109
|
+
getHotspots: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
120
110
|
walletAddress: zod.ZodString;
|
|
121
111
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
122
112
|
iot: "iot";
|
|
@@ -157,13 +147,13 @@ declare const apiContract: {
|
|
|
157
147
|
total: zod.ZodNumber;
|
|
158
148
|
page: zod.ZodNumber;
|
|
159
149
|
totalPages: zod.ZodNumber;
|
|
160
|
-
}, zod_v4_core.$strip>,
|
|
150
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
161
151
|
INVALID_WALLET_ADDRESS: {
|
|
162
|
-
message: string;
|
|
163
152
|
status: number;
|
|
153
|
+
message: string;
|
|
164
154
|
};
|
|
165
|
-
}
|
|
166
|
-
claimRewards: _orpc_contract.
|
|
155
|
+
}>>>, Record<never, never>>;
|
|
156
|
+
claimRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
167
157
|
walletAddress: zod.ZodString;
|
|
168
158
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
169
159
|
transactionData: zod.ZodObject<{
|
|
@@ -177,12 +167,7 @@ declare const apiContract: {
|
|
|
177
167
|
parallel: zod.ZodBoolean;
|
|
178
168
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
179
169
|
}, zod_v4_core.$strip>;
|
|
180
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
181
|
-
INVALID_WALLET_ADDRESS: {
|
|
182
|
-
message: string;
|
|
183
|
-
status: number;
|
|
184
|
-
};
|
|
185
|
-
}>, {
|
|
170
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
186
171
|
INSUFFICIENT_FUNDS: {
|
|
187
172
|
readonly status: 400;
|
|
188
173
|
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
@@ -191,23 +176,22 @@ declare const apiContract: {
|
|
|
191
176
|
available: zod.ZodNumber;
|
|
192
177
|
}, zod_v4_core.$strip>;
|
|
193
178
|
};
|
|
194
|
-
}
|
|
195
|
-
getPendingRewards: _orpc_contract.
|
|
179
|
+
}>>>, Record<never, never>>;
|
|
180
|
+
getPendingRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
196
181
|
walletAddress: zod.ZodString;
|
|
197
182
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
198
183
|
pending: zod.ZodString;
|
|
199
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
200
|
-
|
|
184
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
185
|
+
BAD_REQUEST: {
|
|
201
186
|
message: string;
|
|
202
187
|
status: number;
|
|
203
188
|
};
|
|
204
|
-
|
|
205
|
-
BAD_REQUEST: {
|
|
206
|
-
message: string;
|
|
189
|
+
INVALID_WALLET_ADDRESS: {
|
|
207
190
|
status: number;
|
|
191
|
+
message: string;
|
|
208
192
|
};
|
|
209
|
-
}
|
|
210
|
-
transferHotspot: _orpc_contract.
|
|
193
|
+
}>>>, Record<never, never>>;
|
|
194
|
+
transferHotspot: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
211
195
|
walletAddress: zod.ZodString;
|
|
212
196
|
hotspotPubkey: zod.ZodString;
|
|
213
197
|
recipient: zod.ZodString;
|
|
@@ -223,12 +207,7 @@ declare const apiContract: {
|
|
|
223
207
|
parallel: zod.ZodBoolean;
|
|
224
208
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
225
209
|
}, zod_v4_core.$strip>;
|
|
226
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
227
|
-
INVALID_WALLET_ADDRESS: {
|
|
228
|
-
message: string;
|
|
229
|
-
status: number;
|
|
230
|
-
};
|
|
231
|
-
}>, {
|
|
210
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
232
211
|
UNAUTHORIZED: {
|
|
233
212
|
readonly status: 403;
|
|
234
213
|
readonly message: "You do not have permission to access this resource.";
|
|
@@ -241,8 +220,8 @@ declare const apiContract: {
|
|
|
241
220
|
message: string;
|
|
242
221
|
status: number;
|
|
243
222
|
};
|
|
244
|
-
}
|
|
245
|
-
updateRewardsDestination: _orpc_contract.
|
|
223
|
+
}>>>, Record<never, never>>;
|
|
224
|
+
updateRewardsDestination: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
246
225
|
walletAddress: zod.ZodString;
|
|
247
226
|
hotspotPubkey: zod.ZodString;
|
|
248
227
|
destination: zod.ZodString;
|
|
@@ -259,12 +238,7 @@ declare const apiContract: {
|
|
|
259
238
|
parallel: zod.ZodBoolean;
|
|
260
239
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
261
240
|
}, zod_v4_core.$strip>;
|
|
262
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
263
|
-
INVALID_WALLET_ADDRESS: {
|
|
264
|
-
message: string;
|
|
265
|
-
status: number;
|
|
266
|
-
};
|
|
267
|
-
}>, {
|
|
241
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
268
242
|
BAD_REQUEST: {
|
|
269
243
|
message: string;
|
|
270
244
|
status: number;
|
|
@@ -273,8 +247,8 @@ declare const apiContract: {
|
|
|
273
247
|
readonly status: 404;
|
|
274
248
|
readonly message: "The requested resource was not found.";
|
|
275
249
|
};
|
|
276
|
-
}
|
|
277
|
-
getSplit: _orpc_contract.
|
|
250
|
+
}>>>, Record<never, never>>;
|
|
251
|
+
getSplit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
278
252
|
walletAddress: zod.ZodString;
|
|
279
253
|
hotspotPubkey: zod.ZodString;
|
|
280
254
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -287,25 +261,24 @@ declare const apiContract: {
|
|
|
287
261
|
fixed: zod.ZodNumber;
|
|
288
262
|
shares: zod.ZodNumber;
|
|
289
263
|
}, zod_v4_core.$strip>>;
|
|
290
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
291
|
-
|
|
264
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
265
|
+
NOT_FOUND: {
|
|
292
266
|
message: string;
|
|
293
267
|
status: number;
|
|
294
268
|
};
|
|
295
|
-
|
|
296
|
-
NOT_FOUND: {
|
|
297
|
-
message: string;
|
|
269
|
+
INVALID_WALLET_ADDRESS: {
|
|
298
270
|
status: number;
|
|
271
|
+
message: string;
|
|
299
272
|
};
|
|
300
|
-
}
|
|
301
|
-
createSplit: _orpc_contract.
|
|
273
|
+
}>>>, Record<never, never>>;
|
|
274
|
+
createSplit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
302
275
|
walletAddress: zod.ZodString;
|
|
303
276
|
hotspotPubkey: zod.ZodString;
|
|
304
277
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
305
278
|
address: zod.ZodString;
|
|
306
279
|
type: zod.ZodEnum<{
|
|
307
|
-
fixed: "fixed";
|
|
308
280
|
percentage: "percentage";
|
|
281
|
+
fixed: "fixed";
|
|
309
282
|
}>;
|
|
310
283
|
amount: zod.ZodNumber;
|
|
311
284
|
}, zod_v4_core.$strip>>;
|
|
@@ -333,12 +306,7 @@ declare const apiContract: {
|
|
|
333
306
|
parallel: zod.ZodBoolean;
|
|
334
307
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
335
308
|
}, zod_v4_core.$strip>;
|
|
336
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
337
|
-
INVALID_WALLET_ADDRESS: {
|
|
338
|
-
message: string;
|
|
339
|
-
status: number;
|
|
340
|
-
};
|
|
341
|
-
}>, {
|
|
309
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
342
310
|
NOT_FOUND: {
|
|
343
311
|
readonly status: 404;
|
|
344
312
|
readonly message: "The requested resource was not found.";
|
|
@@ -355,8 +323,8 @@ declare const apiContract: {
|
|
|
355
323
|
available: zod.ZodNumber;
|
|
356
324
|
}, zod_v4_core.$strip>;
|
|
357
325
|
};
|
|
358
|
-
}
|
|
359
|
-
deleteSplit: _orpc_contract.
|
|
326
|
+
}>>>, Record<never, never>>;
|
|
327
|
+
deleteSplit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
360
328
|
walletAddress: zod.ZodString;
|
|
361
329
|
hotspotPubkey: zod.ZodString;
|
|
362
330
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -371,20 +339,144 @@ declare const apiContract: {
|
|
|
371
339
|
parallel: zod.ZodBoolean;
|
|
372
340
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
373
341
|
}, zod_v4_core.$strip>;
|
|
374
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
342
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
343
|
+
NOT_FOUND: {
|
|
344
|
+
readonly status: 404;
|
|
345
|
+
readonly message: "The requested resource was not found.";
|
|
346
|
+
};
|
|
347
|
+
}>>>, Record<never, never>>;
|
|
348
|
+
closeAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
349
|
+
walletAddress: zod.ZodString;
|
|
350
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
351
|
+
transactionData: zod.ZodObject<{
|
|
352
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
353
|
+
serializedTransaction: zod.ZodString;
|
|
354
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
355
|
+
type: zod.ZodString;
|
|
356
|
+
description: zod.ZodString;
|
|
357
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
358
|
+
}, zod_v4_core.$strip>>;
|
|
359
|
+
parallel: zod.ZodBoolean;
|
|
360
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
361
|
+
}, zod_v4_core.$strip>;
|
|
362
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
363
|
+
NOT_FOUND: {
|
|
364
|
+
readonly status: 404;
|
|
365
|
+
readonly message: "The requested resource was not found.";
|
|
366
|
+
};
|
|
367
|
+
}>>>, Record<never, never>>;
|
|
368
|
+
getAutomationStatus: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
369
|
+
walletAddress: zod.ZodString;
|
|
370
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
371
|
+
hasExistingAutomation: zod.ZodBoolean;
|
|
372
|
+
isOutOfSol: zod.ZodBoolean;
|
|
373
|
+
currentSchedule: zod.ZodOptional<zod.ZodObject<{
|
|
374
|
+
schedule: zod.ZodEnum<{
|
|
375
|
+
daily: "daily";
|
|
376
|
+
weekly: "weekly";
|
|
377
|
+
monthly: "monthly";
|
|
378
|
+
}>;
|
|
379
|
+
time: zod.ZodString;
|
|
380
|
+
nextRun: zod.ZodString;
|
|
381
|
+
}, zod_v4_core.$strip>>;
|
|
382
|
+
rentFee: zod.ZodNumber;
|
|
383
|
+
recipientFee: zod.ZodNumber;
|
|
384
|
+
solFee: zod.ZodNumber;
|
|
385
|
+
remainingClaims: zod.ZodOptional<zod.ZodNumber>;
|
|
386
|
+
fundingPeriodInfo: zod.ZodOptional<zod.ZodObject<{
|
|
387
|
+
periodLength: zod.ZodEnum<{
|
|
388
|
+
daily: "daily";
|
|
389
|
+
weekly: "weekly";
|
|
390
|
+
monthly: "monthly";
|
|
391
|
+
}>;
|
|
392
|
+
periodsRemaining: zod.ZodNumber;
|
|
393
|
+
cronJobPeriodsRemaining: zod.ZodNumber;
|
|
394
|
+
pdaWalletPeriodsRemaining: zod.ZodNumber;
|
|
395
|
+
}, zod_v4_core.$strip>>;
|
|
396
|
+
cronJobBalance: zod.ZodString;
|
|
397
|
+
pdaWalletBalance: zod.ZodString;
|
|
398
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
399
|
+
NOT_FOUND: {
|
|
400
|
+
readonly status: 404;
|
|
401
|
+
readonly message: "The requested resource was not found.";
|
|
402
|
+
};
|
|
403
|
+
}>>>, Record<never, never>>;
|
|
404
|
+
createAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
405
|
+
walletAddress: zod.ZodString;
|
|
406
|
+
schedule: zod.ZodEnum<{
|
|
407
|
+
daily: "daily";
|
|
408
|
+
weekly: "weekly";
|
|
409
|
+
monthly: "monthly";
|
|
410
|
+
}>;
|
|
411
|
+
duration: zod.ZodNumber;
|
|
412
|
+
totalHotspots: zod.ZodNumber;
|
|
413
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
414
|
+
transactionData: zod.ZodObject<{
|
|
415
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
416
|
+
serializedTransaction: zod.ZodString;
|
|
417
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
418
|
+
type: zod.ZodString;
|
|
419
|
+
description: zod.ZodString;
|
|
420
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
421
|
+
}, zod_v4_core.$strip>>;
|
|
422
|
+
parallel: zod.ZodBoolean;
|
|
423
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
424
|
+
}, zod_v4_core.$strip>;
|
|
425
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
426
|
+
NOT_FOUND: {
|
|
427
|
+
readonly status: 404;
|
|
428
|
+
readonly message: "The requested resource was not found.";
|
|
378
429
|
};
|
|
379
|
-
}
|
|
430
|
+
}>>>, Record<never, never>>;
|
|
431
|
+
fundAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
432
|
+
walletAddress: zod.ZodString;
|
|
433
|
+
additionalDuration: zod.ZodNumber;
|
|
434
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
435
|
+
transactionData: zod.ZodObject<{
|
|
436
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
437
|
+
serializedTransaction: zod.ZodString;
|
|
438
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
439
|
+
type: zod.ZodString;
|
|
440
|
+
description: zod.ZodString;
|
|
441
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
442
|
+
}, zod_v4_core.$strip>>;
|
|
443
|
+
parallel: zod.ZodBoolean;
|
|
444
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
445
|
+
}, zod_v4_core.$strip>;
|
|
446
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
447
|
+
NOT_FOUND: {
|
|
448
|
+
readonly status: 404;
|
|
449
|
+
readonly message: "The requested resource was not found.";
|
|
450
|
+
};
|
|
451
|
+
INSUFFICIENT_FUNDS: {
|
|
452
|
+
readonly status: 400;
|
|
453
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
454
|
+
readonly data: zod.ZodObject<{
|
|
455
|
+
required: zod.ZodNumber;
|
|
456
|
+
available: zod.ZodNumber;
|
|
457
|
+
}, zod_v4_core.$strip>;
|
|
458
|
+
};
|
|
459
|
+
}>>>, Record<never, never>>;
|
|
460
|
+
getFundingEstimate: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
461
|
+
walletAddress: zod.ZodString;
|
|
462
|
+
duration: zod.ZodCoercedNumber<unknown>;
|
|
463
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
464
|
+
cronJobFunding: zod.ZodNumber;
|
|
465
|
+
pdaWalletFunding: zod.ZodNumber;
|
|
466
|
+
recipientFee: zod.ZodNumber;
|
|
467
|
+
totalFunding: zod.ZodNumber;
|
|
468
|
+
currentCronJobBalance: zod.ZodString;
|
|
469
|
+
currentPdaWalletBalance: zod.ZodString;
|
|
470
|
+
additionalFundingNeeded: zod.ZodNumber;
|
|
471
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
380
472
|
NOT_FOUND: {
|
|
381
473
|
readonly status: 404;
|
|
382
474
|
readonly message: "The requested resource was not found.";
|
|
383
475
|
};
|
|
384
|
-
}
|
|
476
|
+
}>>>, Record<never, never>>;
|
|
385
477
|
};
|
|
386
478
|
swap: {
|
|
387
|
-
getTokens: _orpc_contract.
|
|
479
|
+
getTokens: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
388
480
|
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
389
481
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
390
482
|
tokens: zod.ZodArray<zod.ZodObject<{
|
|
@@ -395,17 +487,12 @@ declare const apiContract: {
|
|
|
395
487
|
logoURI: zod.ZodOptional<zod.ZodString>;
|
|
396
488
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
397
489
|
}, zod_v4_core.$strip>>;
|
|
398
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
399
|
-
INVALID_WALLET_ADDRESS: {
|
|
400
|
-
message: string;
|
|
401
|
-
status: number;
|
|
402
|
-
};
|
|
403
|
-
}>, {
|
|
490
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
404
491
|
JUPITER_ERROR: {
|
|
405
492
|
message: string;
|
|
406
493
|
};
|
|
407
|
-
}
|
|
408
|
-
getQuote: _orpc_contract.
|
|
494
|
+
}>>>, Record<never, never>>;
|
|
495
|
+
getQuote: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
409
496
|
inputMint: zod.ZodString;
|
|
410
497
|
outputMint: zod.ZodString;
|
|
411
498
|
amount: zod.ZodString;
|
|
@@ -427,12 +514,7 @@ declare const apiContract: {
|
|
|
427
514
|
routePlan: zod.ZodArray<zod.ZodUnknown>;
|
|
428
515
|
contextSlot: zod.ZodOptional<zod.ZodNumber>;
|
|
429
516
|
timeTaken: zod.ZodOptional<zod.ZodNumber>;
|
|
430
|
-
}, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
431
|
-
INVALID_WALLET_ADDRESS: {
|
|
432
|
-
message: string;
|
|
433
|
-
status: number;
|
|
434
|
-
};
|
|
435
|
-
}>, {
|
|
517
|
+
}, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
436
518
|
BAD_REQUEST: {
|
|
437
519
|
message: string;
|
|
438
520
|
status: number;
|
|
@@ -440,8 +522,8 @@ declare const apiContract: {
|
|
|
440
522
|
JUPITER_ERROR: {
|
|
441
523
|
message: string;
|
|
442
524
|
};
|
|
443
|
-
}
|
|
444
|
-
getInstructions: _orpc_contract.
|
|
525
|
+
}>>>, Record<never, never>>;
|
|
526
|
+
getInstructions: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
445
527
|
quoteResponse: zod.ZodObject<{
|
|
446
528
|
inputMint: zod.ZodString;
|
|
447
529
|
inAmount: zod.ZodString;
|
|
@@ -479,12 +561,7 @@ declare const apiContract: {
|
|
|
479
561
|
}, zod_v4_core.$strip>>;
|
|
480
562
|
parallel: zod.ZodBoolean;
|
|
481
563
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
482
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
483
|
-
INVALID_WALLET_ADDRESS: {
|
|
484
|
-
message: string;
|
|
485
|
-
status: number;
|
|
486
|
-
};
|
|
487
|
-
}>, {
|
|
564
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
488
565
|
BAD_REQUEST: {
|
|
489
566
|
message: string;
|
|
490
567
|
status: number;
|
|
@@ -492,10 +569,10 @@ declare const apiContract: {
|
|
|
492
569
|
JUPITER_ERROR: {
|
|
493
570
|
message: string;
|
|
494
571
|
};
|
|
495
|
-
}
|
|
572
|
+
}>>>, Record<never, never>>;
|
|
496
573
|
};
|
|
497
574
|
transactions: {
|
|
498
|
-
submit: _orpc_contract.
|
|
575
|
+
submit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
499
576
|
transactions: zod.ZodArray<zod.ZodObject<{
|
|
500
577
|
serializedTransaction: zod.ZodString;
|
|
501
578
|
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -508,12 +585,7 @@ declare const apiContract: {
|
|
|
508
585
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
509
586
|
batchId: zod.ZodString;
|
|
510
587
|
message: zod.ZodOptional<zod.ZodString>;
|
|
511
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
512
|
-
INVALID_WALLET_ADDRESS: {
|
|
513
|
-
message: string;
|
|
514
|
-
status: number;
|
|
515
|
-
};
|
|
516
|
-
}>, {
|
|
588
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
517
589
|
BAD_REQUEST: {
|
|
518
590
|
readonly status: 400;
|
|
519
591
|
readonly message: "Invalid input data provided.";
|
|
@@ -533,8 +605,8 @@ declare const apiContract: {
|
|
|
533
605
|
link: zod.ZodOptional<zod.ZodString>;
|
|
534
606
|
}, zod_v4_core.$strip>;
|
|
535
607
|
};
|
|
536
|
-
}
|
|
537
|
-
get: _orpc_contract.
|
|
608
|
+
}>>>, Record<never, never>>;
|
|
609
|
+
get: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
538
610
|
id: zod.ZodString;
|
|
539
611
|
commitment: zod.ZodEnum<{
|
|
540
612
|
confirmed: "confirmed";
|
|
@@ -552,30 +624,20 @@ declare const apiContract: {
|
|
|
552
624
|
}, zod_v4_core.$strip>>;
|
|
553
625
|
jitoBundleId: zod.ZodNullable<zod.ZodOptional<zod.ZodString>>;
|
|
554
626
|
jitoBundleStatus: zod.ZodNullable<zod.ZodOptional<zod.ZodUnknown>>;
|
|
555
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
556
|
-
INVALID_WALLET_ADDRESS: {
|
|
557
|
-
message: string;
|
|
558
|
-
status: number;
|
|
559
|
-
};
|
|
560
|
-
}>, {
|
|
627
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
561
628
|
NOT_FOUND: {
|
|
562
629
|
readonly status: 404;
|
|
563
630
|
readonly message: "The requested resource was not found.";
|
|
564
631
|
};
|
|
565
|
-
}
|
|
566
|
-
resubmit: _orpc_contract.
|
|
632
|
+
}>>>, Record<never, never>>;
|
|
633
|
+
resubmit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
567
634
|
id: zod.ZodString;
|
|
568
635
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
569
636
|
success: zod.ZodBoolean;
|
|
570
637
|
message: zod.ZodString;
|
|
571
638
|
error: zod.ZodOptional<zod.ZodString>;
|
|
572
639
|
newSignatures: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
573
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
574
|
-
INVALID_WALLET_ADDRESS: {
|
|
575
|
-
message: string;
|
|
576
|
-
status: number;
|
|
577
|
-
};
|
|
578
|
-
}>, {
|
|
640
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
579
641
|
NOT_FOUND: {
|
|
580
642
|
readonly status: 404;
|
|
581
643
|
readonly message: "The requested resource was not found.";
|
|
@@ -587,8 +649,8 @@ declare const apiContract: {
|
|
|
587
649
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
588
650
|
}, zod_v4_core.$strip>>;
|
|
589
651
|
};
|
|
590
|
-
}
|
|
591
|
-
getByPayer: _orpc_contract.
|
|
652
|
+
}>>>, Record<never, never>>;
|
|
653
|
+
getByPayer: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
592
654
|
payer: zod.ZodString;
|
|
593
655
|
page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
594
656
|
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
@@ -616,12 +678,7 @@ declare const apiContract: {
|
|
|
616
678
|
total: zod.ZodNumber;
|
|
617
679
|
totalPages: zod.ZodNumber;
|
|
618
680
|
}, zod_v4_core.$strip>;
|
|
619
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
620
|
-
INVALID_WALLET_ADDRESS: {
|
|
621
|
-
message: string;
|
|
622
|
-
status: number;
|
|
623
|
-
};
|
|
624
|
-
}>, {
|
|
681
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
625
682
|
BAD_REQUEST: {
|
|
626
683
|
readonly status: 400;
|
|
627
684
|
readonly message: "Invalid input data provided.";
|
|
@@ -629,8 +686,8 @@ declare const apiContract: {
|
|
|
629
686
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
630
687
|
}, zod_v4_core.$strip>>;
|
|
631
688
|
};
|
|
632
|
-
}
|
|
633
|
-
getByPayerAndTag: _orpc_contract.
|
|
689
|
+
}>>>, Record<never, never>>;
|
|
690
|
+
getByPayerAndTag: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
634
691
|
payer: zod.ZodString;
|
|
635
692
|
tag: zod.ZodString;
|
|
636
693
|
page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
@@ -659,12 +716,7 @@ declare const apiContract: {
|
|
|
659
716
|
total: zod.ZodNumber;
|
|
660
717
|
totalPages: zod.ZodNumber;
|
|
661
718
|
}, zod_v4_core.$strip>;
|
|
662
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
663
|
-
INVALID_WALLET_ADDRESS: {
|
|
664
|
-
message: string;
|
|
665
|
-
status: number;
|
|
666
|
-
};
|
|
667
|
-
}>, {
|
|
719
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
668
720
|
BAD_REQUEST: {
|
|
669
721
|
readonly status: 400;
|
|
670
722
|
readonly message: "Invalid input data provided.";
|
|
@@ -672,10 +724,10 @@ declare const apiContract: {
|
|
|
672
724
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
673
725
|
}, zod_v4_core.$strip>>;
|
|
674
726
|
};
|
|
675
|
-
}
|
|
727
|
+
}>>>, Record<never, never>>;
|
|
676
728
|
};
|
|
677
729
|
welcomePacks: {
|
|
678
|
-
list: _orpc_contract.
|
|
730
|
+
list: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
679
731
|
walletAddress: zod.ZodString;
|
|
680
732
|
}, zod_v4_core.$strip>, zod.ZodArray<zod.ZodObject<{
|
|
681
733
|
address: zod.ZodString;
|
|
@@ -689,8 +741,8 @@ declare const apiContract: {
|
|
|
689
741
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
690
742
|
address: zod.ZodString;
|
|
691
743
|
type: zod.ZodEnum<{
|
|
692
|
-
fixed: "fixed";
|
|
693
744
|
percentage: "percentage";
|
|
745
|
+
fixed: "fixed";
|
|
694
746
|
}>;
|
|
695
747
|
amount: zod.ZodNumber;
|
|
696
748
|
}, zod_v4_core.$strip>>;
|
|
@@ -727,13 +779,13 @@ declare const apiContract: {
|
|
|
727
779
|
}, zod_v4_core.$strip>>;
|
|
728
780
|
ownershipType: zod.ZodString;
|
|
729
781
|
}, zod_v4_core.$strip>>;
|
|
730
|
-
}, zod_v4_core.$strip>>,
|
|
782
|
+
}, zod_v4_core.$strip>>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
731
783
|
INVALID_WALLET_ADDRESS: {
|
|
732
|
-
message: string;
|
|
733
784
|
status: number;
|
|
785
|
+
message: string;
|
|
734
786
|
};
|
|
735
|
-
}
|
|
736
|
-
create: _orpc_contract.
|
|
787
|
+
}>>>, Record<never, never>>;
|
|
788
|
+
create: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
737
789
|
walletAddress: zod.ZodString;
|
|
738
790
|
assetId: zod.ZodString;
|
|
739
791
|
solAmount: zod.ZodNumber;
|
|
@@ -742,8 +794,8 @@ declare const apiContract: {
|
|
|
742
794
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
743
795
|
address: zod.ZodString;
|
|
744
796
|
type: zod.ZodEnum<{
|
|
745
|
-
fixed: "fixed";
|
|
746
797
|
percentage: "percentage";
|
|
798
|
+
fixed: "fixed";
|
|
747
799
|
}>;
|
|
748
800
|
amount: zod.ZodNumber;
|
|
749
801
|
}, zod_v4_core.$strip>>;
|
|
@@ -772,8 +824,8 @@ declare const apiContract: {
|
|
|
772
824
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
773
825
|
address: zod.ZodString;
|
|
774
826
|
type: zod.ZodEnum<{
|
|
775
|
-
fixed: "fixed";
|
|
776
827
|
percentage: "percentage";
|
|
828
|
+
fixed: "fixed";
|
|
777
829
|
}>;
|
|
778
830
|
amount: zod.ZodNumber;
|
|
779
831
|
}, zod_v4_core.$strip>>;
|
|
@@ -822,12 +874,7 @@ declare const apiContract: {
|
|
|
822
874
|
parallel: zod.ZodBoolean;
|
|
823
875
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
824
876
|
}, zod_v4_core.$strip>;
|
|
825
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
826
|
-
INVALID_WALLET_ADDRESS: {
|
|
827
|
-
message: string;
|
|
828
|
-
status: number;
|
|
829
|
-
};
|
|
830
|
-
}>, {
|
|
877
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
831
878
|
BAD_REQUEST: {
|
|
832
879
|
readonly status: 400;
|
|
833
880
|
readonly message: "Invalid input data provided.";
|
|
@@ -835,8 +882,8 @@ declare const apiContract: {
|
|
|
835
882
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
836
883
|
}, zod_v4_core.$strip>>;
|
|
837
884
|
};
|
|
838
|
-
}
|
|
839
|
-
get: _orpc_contract.
|
|
885
|
+
}>>>, Record<never, never>>;
|
|
886
|
+
get: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
840
887
|
walletAddress: zod.ZodString;
|
|
841
888
|
packId: zod.ZodNumber;
|
|
842
889
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -851,8 +898,8 @@ declare const apiContract: {
|
|
|
851
898
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
852
899
|
address: zod.ZodString;
|
|
853
900
|
type: zod.ZodEnum<{
|
|
854
|
-
fixed: "fixed";
|
|
855
901
|
percentage: "percentage";
|
|
902
|
+
fixed: "fixed";
|
|
856
903
|
}>;
|
|
857
904
|
amount: zod.ZodNumber;
|
|
858
905
|
}, zod_v4_core.$strip>>;
|
|
@@ -889,18 +936,17 @@ declare const apiContract: {
|
|
|
889
936
|
}, zod_v4_core.$strip>>;
|
|
890
937
|
ownershipType: zod.ZodString;
|
|
891
938
|
}, zod_v4_core.$strip>>;
|
|
892
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
893
|
-
INVALID_WALLET_ADDRESS: {
|
|
894
|
-
message: string;
|
|
895
|
-
status: number;
|
|
896
|
-
};
|
|
897
|
-
}>, {
|
|
939
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
898
940
|
NOT_FOUND: {
|
|
899
941
|
readonly status: 404;
|
|
900
942
|
readonly message: "The requested resource was not found.";
|
|
901
943
|
};
|
|
902
|
-
|
|
903
|
-
|
|
944
|
+
INVALID_WALLET_ADDRESS: {
|
|
945
|
+
status: number;
|
|
946
|
+
message: string;
|
|
947
|
+
};
|
|
948
|
+
}>>>, Record<never, never>>;
|
|
949
|
+
delete: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
904
950
|
walletAddress: zod.ZodString;
|
|
905
951
|
packId: zod.ZodNumber;
|
|
906
952
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -915,12 +961,7 @@ declare const apiContract: {
|
|
|
915
961
|
parallel: zod.ZodBoolean;
|
|
916
962
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
917
963
|
}, zod_v4_core.$strip>;
|
|
918
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
919
|
-
INVALID_WALLET_ADDRESS: {
|
|
920
|
-
message: string;
|
|
921
|
-
status: number;
|
|
922
|
-
};
|
|
923
|
-
}>, {
|
|
964
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
924
965
|
BAD_REQUEST: {
|
|
925
966
|
readonly status: 400;
|
|
926
967
|
readonly message: "Invalid input data provided.";
|
|
@@ -928,8 +969,12 @@ declare const apiContract: {
|
|
|
928
969
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
929
970
|
}, zod_v4_core.$strip>>;
|
|
930
971
|
};
|
|
931
|
-
|
|
932
|
-
|
|
972
|
+
INVALID_WALLET_ADDRESS: {
|
|
973
|
+
status: number;
|
|
974
|
+
message: string;
|
|
975
|
+
};
|
|
976
|
+
}>>>, Record<never, never>>;
|
|
977
|
+
getByAddress: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
933
978
|
packAddress: zod.ZodString;
|
|
934
979
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
935
980
|
address: zod.ZodString;
|
|
@@ -943,8 +988,8 @@ declare const apiContract: {
|
|
|
943
988
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
944
989
|
address: zod.ZodString;
|
|
945
990
|
type: zod.ZodEnum<{
|
|
946
|
-
fixed: "fixed";
|
|
947
991
|
percentage: "percentage";
|
|
992
|
+
fixed: "fixed";
|
|
948
993
|
}>;
|
|
949
994
|
amount: zod.ZodNumber;
|
|
950
995
|
}, zod_v4_core.$strip>>;
|
|
@@ -981,18 +1026,13 @@ declare const apiContract: {
|
|
|
981
1026
|
}, zod_v4_core.$strip>>;
|
|
982
1027
|
ownershipType: zod.ZodString;
|
|
983
1028
|
}, zod_v4_core.$strip>>;
|
|
984
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
985
|
-
INVALID_WALLET_ADDRESS: {
|
|
986
|
-
message: string;
|
|
987
|
-
status: number;
|
|
988
|
-
};
|
|
989
|
-
}>, {
|
|
1029
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
990
1030
|
NOT_FOUND: {
|
|
991
1031
|
readonly status: 404;
|
|
992
1032
|
readonly message: "The requested resource was not found.";
|
|
993
1033
|
};
|
|
994
|
-
}
|
|
995
|
-
claim: _orpc_contract.
|
|
1034
|
+
}>>>, Record<never, never>>;
|
|
1035
|
+
claim: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
996
1036
|
packAddress: zod.ZodString;
|
|
997
1037
|
walletAddress: zod.ZodString;
|
|
998
1038
|
signature: zod.ZodString;
|
|
@@ -1009,12 +1049,7 @@ declare const apiContract: {
|
|
|
1009
1049
|
parallel: zod.ZodBoolean;
|
|
1010
1050
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1011
1051
|
}, zod_v4_core.$strip>;
|
|
1012
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1013
|
-
INVALID_WALLET_ADDRESS: {
|
|
1014
|
-
message: string;
|
|
1015
|
-
status: number;
|
|
1016
|
-
};
|
|
1017
|
-
}>, {
|
|
1052
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1018
1053
|
BAD_REQUEST: {
|
|
1019
1054
|
readonly status: 400;
|
|
1020
1055
|
readonly message: "Invalid input data provided.";
|
|
@@ -1026,20 +1061,15 @@ declare const apiContract: {
|
|
|
1026
1061
|
message: string;
|
|
1027
1062
|
status: number;
|
|
1028
1063
|
};
|
|
1029
|
-
}
|
|
1030
|
-
invite: _orpc_contract.
|
|
1064
|
+
}>>>, Record<never, never>>;
|
|
1065
|
+
invite: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1031
1066
|
packAddress: zod.ZodString;
|
|
1032
1067
|
walletAddress: zod.ZodString;
|
|
1033
1068
|
expirationDays: zod.ZodDefault<zod.ZodNumber>;
|
|
1034
1069
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1035
1070
|
message: zod.ZodString;
|
|
1036
1071
|
expirationTs: zod.ZodNumber;
|
|
1037
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1038
|
-
INVALID_WALLET_ADDRESS: {
|
|
1039
|
-
message: string;
|
|
1040
|
-
status: number;
|
|
1041
|
-
};
|
|
1042
|
-
}>, {
|
|
1072
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1043
1073
|
BAD_REQUEST: {
|
|
1044
1074
|
readonly status: 400;
|
|
1045
1075
|
readonly message: "Invalid input data provided.";
|
|
@@ -1051,7 +1081,7 @@ declare const apiContract: {
|
|
|
1051
1081
|
readonly status: 404;
|
|
1052
1082
|
readonly message: "The requested resource was not found.";
|
|
1053
1083
|
};
|
|
1054
|
-
}
|
|
1084
|
+
}>>>, Record<never, never>>;
|
|
1055
1085
|
};
|
|
1056
1086
|
};
|
|
1057
1087
|
/**
|
|
@@ -1060,7 +1090,7 @@ declare const apiContract: {
|
|
|
1060
1090
|
*/
|
|
1061
1091
|
declare const fullApiContract: {
|
|
1062
1092
|
fiat: {
|
|
1063
|
-
getKycStatus: _orpc_contract.
|
|
1093
|
+
getKycStatus: _orpc_contract.ContractProcedure<_orpc_contract.Schema<unknown, unknown>, zod.ZodObject<{
|
|
1064
1094
|
kycStatus: zod.ZodString;
|
|
1065
1095
|
tosStatus: zod.ZodString;
|
|
1066
1096
|
tosLink: zod.ZodNullable<zod.ZodString>;
|
|
@@ -1068,7 +1098,7 @@ declare const fullApiContract: {
|
|
|
1068
1098
|
kycLinkId: zod.ZodNullable<zod.ZodString>;
|
|
1069
1099
|
accountType: zod.ZodOptional<zod.ZodString>;
|
|
1070
1100
|
rejectionReasons: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1071
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1101
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1072
1102
|
UNAUTHENTICATED: {
|
|
1073
1103
|
readonly status: 401;
|
|
1074
1104
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1077,13 +1107,13 @@ declare const fullApiContract: {
|
|
|
1077
1107
|
readonly status: 403;
|
|
1078
1108
|
readonly message: "You do not have permission to access this resource.";
|
|
1079
1109
|
};
|
|
1080
|
-
}>, {
|
|
1110
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1081
1111
|
EMAIL_NOT_LINKED: {
|
|
1082
1112
|
status: number;
|
|
1083
1113
|
message: string;
|
|
1084
1114
|
};
|
|
1085
|
-
}
|
|
1086
|
-
initKyc: _orpc_contract.
|
|
1115
|
+
}>>>, Record<never, never>>;
|
|
1116
|
+
initKyc: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1087
1117
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
1088
1118
|
individual: "individual";
|
|
1089
1119
|
business: "business";
|
|
@@ -1096,7 +1126,7 @@ declare const fullApiContract: {
|
|
|
1096
1126
|
kycLinkId: zod.ZodNullable<zod.ZodString>;
|
|
1097
1127
|
accountType: zod.ZodOptional<zod.ZodString>;
|
|
1098
1128
|
rejectionReasons: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1099
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1129
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1100
1130
|
UNAUTHENTICATED: {
|
|
1101
1131
|
readonly status: 401;
|
|
1102
1132
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1105,7 +1135,7 @@ declare const fullApiContract: {
|
|
|
1105
1135
|
readonly status: 403;
|
|
1106
1136
|
readonly message: "You do not have permission to access this resource.";
|
|
1107
1137
|
};
|
|
1108
|
-
}>, {
|
|
1138
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1109
1139
|
EMAIL_NOT_LINKED: {
|
|
1110
1140
|
status: number;
|
|
1111
1141
|
message: string;
|
|
@@ -1114,11 +1144,11 @@ declare const fullApiContract: {
|
|
|
1114
1144
|
message: string;
|
|
1115
1145
|
status: number;
|
|
1116
1146
|
};
|
|
1117
|
-
}
|
|
1118
|
-
getFees: _orpc_contract.
|
|
1147
|
+
}>>>, Record<never, never>>;
|
|
1148
|
+
getFees: _orpc_contract.ContractProcedure<_orpc_contract.Schema<unknown, unknown>, zod.ZodObject<{
|
|
1119
1149
|
developer_fee: zod.ZodString;
|
|
1120
1150
|
developer_fee_percent: zod.ZodNumber;
|
|
1121
|
-
}, zod_v4_core.$strip>,
|
|
1151
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1122
1152
|
UNAUTHENTICATED: {
|
|
1123
1153
|
readonly status: 401;
|
|
1124
1154
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1127,8 +1157,8 @@ declare const fullApiContract: {
|
|
|
1127
1157
|
readonly status: 403;
|
|
1128
1158
|
readonly message: "You do not have permission to access this resource.";
|
|
1129
1159
|
};
|
|
1130
|
-
}>, never>, Record<never, never>>;
|
|
1131
|
-
listBankAccounts: _orpc_contract.
|
|
1160
|
+
}>, Omit<Record<never, never>, keyof U>>>, Record<never, never>>;
|
|
1161
|
+
listBankAccounts: _orpc_contract.ContractProcedure<_orpc_contract.Schema<unknown, unknown>, zod.ZodArray<zod.ZodObject<{
|
|
1132
1162
|
id: zod.ZodOptional<zod.ZodNumber>;
|
|
1133
1163
|
bridgeUserId: zod.ZodOptional<zod.ZodNumber>;
|
|
1134
1164
|
bridgeExternalAccountId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1139,7 +1169,7 @@ declare const fullApiContract: {
|
|
|
1139
1169
|
accountType: zod.ZodOptional<zod.ZodString>;
|
|
1140
1170
|
createdAt: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodDate]>>;
|
|
1141
1171
|
updatedAt: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodDate]>>;
|
|
1142
|
-
}, zod_v4_core.$loose>>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1172
|
+
}, zod_v4_core.$loose>>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1143
1173
|
UNAUTHENTICATED: {
|
|
1144
1174
|
readonly status: 401;
|
|
1145
1175
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1148,13 +1178,13 @@ declare const fullApiContract: {
|
|
|
1148
1178
|
readonly status: 403;
|
|
1149
1179
|
readonly message: "You do not have permission to access this resource.";
|
|
1150
1180
|
};
|
|
1151
|
-
}>, {
|
|
1181
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1152
1182
|
NOT_FOUND: {
|
|
1153
1183
|
message: string;
|
|
1154
1184
|
status: number;
|
|
1155
1185
|
};
|
|
1156
|
-
}
|
|
1157
|
-
createBankAccount: _orpc_contract.
|
|
1186
|
+
}>>>, Record<never, never>>;
|
|
1187
|
+
createBankAccount: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1158
1188
|
currency: zod.ZodString;
|
|
1159
1189
|
account_type: zod.ZodString;
|
|
1160
1190
|
bank_name: zod.ZodString;
|
|
@@ -1187,7 +1217,7 @@ declare const fullApiContract: {
|
|
|
1187
1217
|
accountType: zod.ZodOptional<zod.ZodString>;
|
|
1188
1218
|
createdAt: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodDate]>>;
|
|
1189
1219
|
updatedAt: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodDate]>>;
|
|
1190
|
-
}, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1220
|
+
}, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1191
1221
|
UNAUTHENTICATED: {
|
|
1192
1222
|
readonly status: 401;
|
|
1193
1223
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1196,7 +1226,7 @@ declare const fullApiContract: {
|
|
|
1196
1226
|
readonly status: 403;
|
|
1197
1227
|
readonly message: "You do not have permission to access this resource.";
|
|
1198
1228
|
};
|
|
1199
|
-
}>, {
|
|
1229
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1200
1230
|
NO_CUSTOMER: {
|
|
1201
1231
|
message: string;
|
|
1202
1232
|
status: number;
|
|
@@ -1205,12 +1235,12 @@ declare const fullApiContract: {
|
|
|
1205
1235
|
message: string;
|
|
1206
1236
|
status: number;
|
|
1207
1237
|
};
|
|
1208
|
-
}
|
|
1209
|
-
deleteBankAccount: _orpc_contract.
|
|
1238
|
+
}>>>, Record<never, never>>;
|
|
1239
|
+
deleteBankAccount: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1210
1240
|
id: zod.ZodNumber;
|
|
1211
1241
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1212
1242
|
success: zod.ZodBoolean;
|
|
1213
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1243
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1214
1244
|
UNAUTHENTICATED: {
|
|
1215
1245
|
readonly status: 401;
|
|
1216
1246
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1219,7 +1249,7 @@ declare const fullApiContract: {
|
|
|
1219
1249
|
readonly status: 403;
|
|
1220
1250
|
readonly message: "You do not have permission to access this resource.";
|
|
1221
1251
|
};
|
|
1222
|
-
}>, {
|
|
1252
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1223
1253
|
NO_CUSTOMER: {
|
|
1224
1254
|
message: string;
|
|
1225
1255
|
status: number;
|
|
@@ -1228,8 +1258,8 @@ declare const fullApiContract: {
|
|
|
1228
1258
|
message: string;
|
|
1229
1259
|
status: number;
|
|
1230
1260
|
};
|
|
1231
|
-
}
|
|
1232
|
-
getSendQuote: _orpc_contract.
|
|
1261
|
+
}>>>, Record<never, never>>;
|
|
1262
|
+
getSendQuote: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1233
1263
|
id: zod.ZodString;
|
|
1234
1264
|
usdAmount: zod.ZodString;
|
|
1235
1265
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -1245,7 +1275,7 @@ declare const fullApiContract: {
|
|
|
1245
1275
|
routePlan: zod.ZodArray<zod.ZodUnknown>;
|
|
1246
1276
|
contextSlot: zod.ZodOptional<zod.ZodNumber>;
|
|
1247
1277
|
timeTaken: zod.ZodOptional<zod.ZodNumber>;
|
|
1248
|
-
}, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1278
|
+
}, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1249
1279
|
UNAUTHENTICATED: {
|
|
1250
1280
|
readonly status: 401;
|
|
1251
1281
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1254,7 +1284,7 @@ declare const fullApiContract: {
|
|
|
1254
1284
|
readonly status: 403;
|
|
1255
1285
|
readonly message: "You do not have permission to access this resource.";
|
|
1256
1286
|
};
|
|
1257
|
-
}>, {
|
|
1287
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1258
1288
|
BAD_REQUEST: {
|
|
1259
1289
|
readonly status: 400;
|
|
1260
1290
|
readonly message: "Invalid input data provided.";
|
|
@@ -1266,8 +1296,8 @@ declare const fullApiContract: {
|
|
|
1266
1296
|
message: string;
|
|
1267
1297
|
status: number;
|
|
1268
1298
|
};
|
|
1269
|
-
}
|
|
1270
|
-
sendFunds: _orpc_contract.
|
|
1299
|
+
}>>>, Record<never, never>>;
|
|
1300
|
+
sendFunds: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1271
1301
|
id: zod.ZodString;
|
|
1272
1302
|
userAddress: zod.ZodString;
|
|
1273
1303
|
quoteResponse: zod.ZodObject<{
|
|
@@ -1303,7 +1333,7 @@ declare const fullApiContract: {
|
|
|
1303
1333
|
parallel: zod.ZodBoolean;
|
|
1304
1334
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1305
1335
|
}, zod_v4_core.$strip>;
|
|
1306
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1336
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1307
1337
|
UNAUTHENTICATED: {
|
|
1308
1338
|
readonly status: 401;
|
|
1309
1339
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1312,7 +1342,7 @@ declare const fullApiContract: {
|
|
|
1312
1342
|
readonly status: 403;
|
|
1313
1343
|
readonly message: "You do not have permission to access this resource.";
|
|
1314
1344
|
};
|
|
1315
|
-
}>, {
|
|
1345
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1316
1346
|
NOT_FOUND: {
|
|
1317
1347
|
readonly status: 404;
|
|
1318
1348
|
readonly message: "The requested resource was not found.";
|
|
@@ -1325,13 +1355,13 @@ declare const fullApiContract: {
|
|
|
1325
1355
|
message: string;
|
|
1326
1356
|
status: number;
|
|
1327
1357
|
};
|
|
1328
|
-
}
|
|
1329
|
-
updateTransfer: _orpc_contract.
|
|
1358
|
+
}>>>, Record<never, never>>;
|
|
1359
|
+
updateTransfer: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1330
1360
|
id: zod.ZodString;
|
|
1331
1361
|
solanaSignature: zod.ZodString;
|
|
1332
1362
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1333
1363
|
success: zod.ZodBoolean;
|
|
1334
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1364
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1335
1365
|
UNAUTHENTICATED: {
|
|
1336
1366
|
readonly status: 401;
|
|
1337
1367
|
readonly message: "Authentication required. Please sign in to continue.";
|
|
@@ -1340,15 +1370,15 @@ declare const fullApiContract: {
|
|
|
1340
1370
|
readonly status: 403;
|
|
1341
1371
|
readonly message: "You do not have permission to access this resource.";
|
|
1342
1372
|
};
|
|
1343
|
-
}>, {
|
|
1373
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1344
1374
|
NOT_FOUND: {
|
|
1345
1375
|
message: string;
|
|
1346
1376
|
status: number;
|
|
1347
1377
|
};
|
|
1348
|
-
}
|
|
1378
|
+
}>>>, Record<never, never>>;
|
|
1349
1379
|
};
|
|
1350
1380
|
webhooks: {
|
|
1351
|
-
bridge: _orpc_contract.
|
|
1381
|
+
bridge: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1352
1382
|
type: zod.ZodString;
|
|
1353
1383
|
kyc_link_id: zod.ZodOptional<zod.ZodString>;
|
|
1354
1384
|
kyc_status: zod.ZodOptional<zod.ZodString>;
|
|
@@ -1357,12 +1387,7 @@ declare const fullApiContract: {
|
|
|
1357
1387
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1358
1388
|
success: zod.ZodBoolean;
|
|
1359
1389
|
error: zod.ZodOptional<zod.ZodString>;
|
|
1360
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1361
|
-
INVALID_WALLET_ADDRESS: {
|
|
1362
|
-
message: string;
|
|
1363
|
-
status: number;
|
|
1364
|
-
};
|
|
1365
|
-
}>, {
|
|
1390
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1366
1391
|
NOT_FOUND: {
|
|
1367
1392
|
readonly status: 404;
|
|
1368
1393
|
readonly message: "The requested resource was not found.";
|
|
@@ -1371,21 +1396,16 @@ declare const fullApiContract: {
|
|
|
1371
1396
|
message: string;
|
|
1372
1397
|
status: number;
|
|
1373
1398
|
};
|
|
1374
|
-
}
|
|
1399
|
+
}>>>, Record<never, never>>;
|
|
1375
1400
|
};
|
|
1376
1401
|
health: {
|
|
1377
|
-
check: _orpc_contract.
|
|
1402
|
+
check: _orpc_contract.ContractProcedure<_orpc_contract.Schema<unknown, unknown>, zod.ZodObject<{
|
|
1378
1403
|
ok: zod.ZodBoolean;
|
|
1379
1404
|
error: zod.ZodOptional<zod.ZodString>;
|
|
1380
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>,
|
|
1381
|
-
INVALID_WALLET_ADDRESS: {
|
|
1382
|
-
message: string;
|
|
1383
|
-
status: number;
|
|
1384
|
-
};
|
|
1385
|
-
}>, Record<never, never>>;
|
|
1405
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>>>, Record<never, never>>;
|
|
1386
1406
|
};
|
|
1387
1407
|
tokens: {
|
|
1388
|
-
getBalances: _orpc_contract.
|
|
1408
|
+
getBalances: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1389
1409
|
walletAddress: zod.ZodString;
|
|
1390
1410
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1391
1411
|
totalBalanceUsd: zod.ZodNumber;
|
|
@@ -1403,13 +1423,13 @@ declare const fullApiContract: {
|
|
|
1403
1423
|
priceUsd: zod.ZodOptional<zod.ZodNumber>;
|
|
1404
1424
|
balanceUsd: zod.ZodOptional<zod.ZodNumber>;
|
|
1405
1425
|
}, zod_v4_core.$strip>>;
|
|
1406
|
-
}, zod_v4_core.$strip>,
|
|
1426
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1407
1427
|
INVALID_WALLET_ADDRESS: {
|
|
1408
|
-
message: string;
|
|
1409
1428
|
status: number;
|
|
1429
|
+
message: string;
|
|
1410
1430
|
};
|
|
1411
|
-
}
|
|
1412
|
-
transfer: _orpc_contract.
|
|
1431
|
+
}>>>>, Record<never, never>>;
|
|
1432
|
+
transfer: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1413
1433
|
walletAddress: zod.ZodString;
|
|
1414
1434
|
mint: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1415
1435
|
destination: zod.ZodString;
|
|
@@ -1427,12 +1447,7 @@ declare const fullApiContract: {
|
|
|
1427
1447
|
parallel: zod.ZodBoolean;
|
|
1428
1448
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1429
1449
|
}, zod_v4_core.$strip>;
|
|
1430
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1431
|
-
INVALID_WALLET_ADDRESS: {
|
|
1432
|
-
message: string;
|
|
1433
|
-
status: number;
|
|
1434
|
-
};
|
|
1435
|
-
}>, {
|
|
1450
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1436
1451
|
BAD_REQUEST: {
|
|
1437
1452
|
readonly status: 400;
|
|
1438
1453
|
readonly message: "Invalid input data provided.";
|
|
@@ -1448,8 +1463,8 @@ declare const fullApiContract: {
|
|
|
1448
1463
|
available: zod.ZodNumber;
|
|
1449
1464
|
}, zod_v4_core.$strip>;
|
|
1450
1465
|
};
|
|
1451
|
-
}
|
|
1452
|
-
createHntAccount: _orpc_contract.
|
|
1466
|
+
}>>>>, Record<never, never>>;
|
|
1467
|
+
createHntAccount: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1453
1468
|
walletAddress: zod.ZodString;
|
|
1454
1469
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1455
1470
|
transactionData: zod.ZodObject<{
|
|
@@ -1463,15 +1478,15 @@ declare const fullApiContract: {
|
|
|
1463
1478
|
parallel: zod.ZodBoolean;
|
|
1464
1479
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1465
1480
|
}, zod_v4_core.$strip>;
|
|
1466
|
-
}, zod_v4_core.$strip>,
|
|
1481
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1467
1482
|
INVALID_WALLET_ADDRESS: {
|
|
1468
|
-
message: string;
|
|
1469
1483
|
status: number;
|
|
1484
|
+
message: string;
|
|
1470
1485
|
};
|
|
1471
|
-
}
|
|
1486
|
+
}>>>>, Record<never, never>>;
|
|
1472
1487
|
};
|
|
1473
1488
|
hotspots: {
|
|
1474
|
-
getHotspots: _orpc_contract.
|
|
1489
|
+
getHotspots: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1475
1490
|
walletAddress: zod.ZodString;
|
|
1476
1491
|
type: zod.ZodOptional<zod.ZodEnum<{
|
|
1477
1492
|
iot: "iot";
|
|
@@ -1512,13 +1527,13 @@ declare const fullApiContract: {
|
|
|
1512
1527
|
total: zod.ZodNumber;
|
|
1513
1528
|
page: zod.ZodNumber;
|
|
1514
1529
|
totalPages: zod.ZodNumber;
|
|
1515
|
-
}, zod_v4_core.$strip>,
|
|
1530
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1516
1531
|
INVALID_WALLET_ADDRESS: {
|
|
1517
|
-
message: string;
|
|
1518
1532
|
status: number;
|
|
1533
|
+
message: string;
|
|
1519
1534
|
};
|
|
1520
|
-
}
|
|
1521
|
-
claimRewards: _orpc_contract.
|
|
1535
|
+
}>>>>, Record<never, never>>;
|
|
1536
|
+
claimRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1522
1537
|
walletAddress: zod.ZodString;
|
|
1523
1538
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1524
1539
|
transactionData: zod.ZodObject<{
|
|
@@ -1532,12 +1547,7 @@ declare const fullApiContract: {
|
|
|
1532
1547
|
parallel: zod.ZodBoolean;
|
|
1533
1548
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1534
1549
|
}, zod_v4_core.$strip>;
|
|
1535
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1536
|
-
INVALID_WALLET_ADDRESS: {
|
|
1537
|
-
message: string;
|
|
1538
|
-
status: number;
|
|
1539
|
-
};
|
|
1540
|
-
}>, {
|
|
1550
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1541
1551
|
INSUFFICIENT_FUNDS: {
|
|
1542
1552
|
readonly status: 400;
|
|
1543
1553
|
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
@@ -1546,23 +1556,22 @@ declare const fullApiContract: {
|
|
|
1546
1556
|
available: zod.ZodNumber;
|
|
1547
1557
|
}, zod_v4_core.$strip>;
|
|
1548
1558
|
};
|
|
1549
|
-
}
|
|
1550
|
-
getPendingRewards: _orpc_contract.
|
|
1559
|
+
}>>>>, Record<never, never>>;
|
|
1560
|
+
getPendingRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1551
1561
|
walletAddress: zod.ZodString;
|
|
1552
1562
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1553
1563
|
pending: zod.ZodString;
|
|
1554
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1555
|
-
|
|
1564
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1565
|
+
BAD_REQUEST: {
|
|
1556
1566
|
message: string;
|
|
1557
1567
|
status: number;
|
|
1558
1568
|
};
|
|
1559
|
-
|
|
1560
|
-
BAD_REQUEST: {
|
|
1561
|
-
message: string;
|
|
1569
|
+
INVALID_WALLET_ADDRESS: {
|
|
1562
1570
|
status: number;
|
|
1571
|
+
message: string;
|
|
1563
1572
|
};
|
|
1564
|
-
}
|
|
1565
|
-
transferHotspot: _orpc_contract.
|
|
1573
|
+
}>>>>, Record<never, never>>;
|
|
1574
|
+
transferHotspot: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1566
1575
|
walletAddress: zod.ZodString;
|
|
1567
1576
|
hotspotPubkey: zod.ZodString;
|
|
1568
1577
|
recipient: zod.ZodString;
|
|
@@ -1578,12 +1587,7 @@ declare const fullApiContract: {
|
|
|
1578
1587
|
parallel: zod.ZodBoolean;
|
|
1579
1588
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1580
1589
|
}, zod_v4_core.$strip>;
|
|
1581
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1582
|
-
INVALID_WALLET_ADDRESS: {
|
|
1583
|
-
message: string;
|
|
1584
|
-
status: number;
|
|
1585
|
-
};
|
|
1586
|
-
}>, {
|
|
1590
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1587
1591
|
UNAUTHORIZED: {
|
|
1588
1592
|
readonly status: 403;
|
|
1589
1593
|
readonly message: "You do not have permission to access this resource.";
|
|
@@ -1596,8 +1600,8 @@ declare const fullApiContract: {
|
|
|
1596
1600
|
message: string;
|
|
1597
1601
|
status: number;
|
|
1598
1602
|
};
|
|
1599
|
-
}
|
|
1600
|
-
updateRewardsDestination: _orpc_contract.
|
|
1603
|
+
}>>>>, Record<never, never>>;
|
|
1604
|
+
updateRewardsDestination: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1601
1605
|
walletAddress: zod.ZodString;
|
|
1602
1606
|
hotspotPubkey: zod.ZodString;
|
|
1603
1607
|
destination: zod.ZodString;
|
|
@@ -1614,12 +1618,7 @@ declare const fullApiContract: {
|
|
|
1614
1618
|
parallel: zod.ZodBoolean;
|
|
1615
1619
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1616
1620
|
}, zod_v4_core.$strip>;
|
|
1617
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1618
|
-
INVALID_WALLET_ADDRESS: {
|
|
1619
|
-
message: string;
|
|
1620
|
-
status: number;
|
|
1621
|
-
};
|
|
1622
|
-
}>, {
|
|
1621
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1623
1622
|
BAD_REQUEST: {
|
|
1624
1623
|
message: string;
|
|
1625
1624
|
status: number;
|
|
@@ -1628,8 +1627,8 @@ declare const fullApiContract: {
|
|
|
1628
1627
|
readonly status: 404;
|
|
1629
1628
|
readonly message: "The requested resource was not found.";
|
|
1630
1629
|
};
|
|
1631
|
-
}
|
|
1632
|
-
getSplit: _orpc_contract.
|
|
1630
|
+
}>>>>, Record<never, never>>;
|
|
1631
|
+
getSplit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1633
1632
|
walletAddress: zod.ZodString;
|
|
1634
1633
|
hotspotPubkey: zod.ZodString;
|
|
1635
1634
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -1642,25 +1641,24 @@ declare const fullApiContract: {
|
|
|
1642
1641
|
fixed: zod.ZodNumber;
|
|
1643
1642
|
shares: zod.ZodNumber;
|
|
1644
1643
|
}, zod_v4_core.$strip>>;
|
|
1645
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1646
|
-
|
|
1644
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1645
|
+
NOT_FOUND: {
|
|
1647
1646
|
message: string;
|
|
1648
1647
|
status: number;
|
|
1649
1648
|
};
|
|
1650
|
-
|
|
1651
|
-
NOT_FOUND: {
|
|
1652
|
-
message: string;
|
|
1649
|
+
INVALID_WALLET_ADDRESS: {
|
|
1653
1650
|
status: number;
|
|
1651
|
+
message: string;
|
|
1654
1652
|
};
|
|
1655
|
-
}
|
|
1656
|
-
createSplit: _orpc_contract.
|
|
1653
|
+
}>>>>, Record<never, never>>;
|
|
1654
|
+
createSplit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1657
1655
|
walletAddress: zod.ZodString;
|
|
1658
1656
|
hotspotPubkey: zod.ZodString;
|
|
1659
1657
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
1660
1658
|
address: zod.ZodString;
|
|
1661
1659
|
type: zod.ZodEnum<{
|
|
1662
|
-
fixed: "fixed";
|
|
1663
1660
|
percentage: "percentage";
|
|
1661
|
+
fixed: "fixed";
|
|
1664
1662
|
}>;
|
|
1665
1663
|
amount: zod.ZodNumber;
|
|
1666
1664
|
}, zod_v4_core.$strip>>;
|
|
@@ -1688,12 +1686,7 @@ declare const fullApiContract: {
|
|
|
1688
1686
|
parallel: zod.ZodBoolean;
|
|
1689
1687
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1690
1688
|
}, zod_v4_core.$strip>;
|
|
1691
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1692
|
-
INVALID_WALLET_ADDRESS: {
|
|
1693
|
-
message: string;
|
|
1694
|
-
status: number;
|
|
1695
|
-
};
|
|
1696
|
-
}>, {
|
|
1689
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1697
1690
|
NOT_FOUND: {
|
|
1698
1691
|
readonly status: 404;
|
|
1699
1692
|
readonly message: "The requested resource was not found.";
|
|
@@ -1710,8 +1703,8 @@ declare const fullApiContract: {
|
|
|
1710
1703
|
available: zod.ZodNumber;
|
|
1711
1704
|
}, zod_v4_core.$strip>;
|
|
1712
1705
|
};
|
|
1713
|
-
}
|
|
1714
|
-
deleteSplit: _orpc_contract.
|
|
1706
|
+
}>>>>, Record<never, never>>;
|
|
1707
|
+
deleteSplit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1715
1708
|
walletAddress: zod.ZodString;
|
|
1716
1709
|
hotspotPubkey: zod.ZodString;
|
|
1717
1710
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -1726,20 +1719,144 @@ declare const fullApiContract: {
|
|
|
1726
1719
|
parallel: zod.ZodBoolean;
|
|
1727
1720
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1728
1721
|
}, zod_v4_core.$strip>;
|
|
1729
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1722
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1723
|
+
NOT_FOUND: {
|
|
1724
|
+
readonly status: 404;
|
|
1725
|
+
readonly message: "The requested resource was not found.";
|
|
1733
1726
|
};
|
|
1734
|
-
}
|
|
1727
|
+
}>>>>, Record<never, never>>;
|
|
1728
|
+
closeAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1729
|
+
walletAddress: zod.ZodString;
|
|
1730
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1731
|
+
transactionData: zod.ZodObject<{
|
|
1732
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
1733
|
+
serializedTransaction: zod.ZodString;
|
|
1734
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
1735
|
+
type: zod.ZodString;
|
|
1736
|
+
description: zod.ZodString;
|
|
1737
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
1738
|
+
}, zod_v4_core.$strip>>;
|
|
1739
|
+
parallel: zod.ZodBoolean;
|
|
1740
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
1741
|
+
}, zod_v4_core.$strip>;
|
|
1742
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1735
1743
|
NOT_FOUND: {
|
|
1736
1744
|
readonly status: 404;
|
|
1737
1745
|
readonly message: "The requested resource was not found.";
|
|
1738
1746
|
};
|
|
1739
|
-
}
|
|
1747
|
+
}>>>>, Record<never, never>>;
|
|
1748
|
+
getAutomationStatus: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1749
|
+
walletAddress: zod.ZodString;
|
|
1750
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1751
|
+
hasExistingAutomation: zod.ZodBoolean;
|
|
1752
|
+
isOutOfSol: zod.ZodBoolean;
|
|
1753
|
+
currentSchedule: zod.ZodOptional<zod.ZodObject<{
|
|
1754
|
+
schedule: zod.ZodEnum<{
|
|
1755
|
+
daily: "daily";
|
|
1756
|
+
weekly: "weekly";
|
|
1757
|
+
monthly: "monthly";
|
|
1758
|
+
}>;
|
|
1759
|
+
time: zod.ZodString;
|
|
1760
|
+
nextRun: zod.ZodString;
|
|
1761
|
+
}, zod_v4_core.$strip>>;
|
|
1762
|
+
rentFee: zod.ZodNumber;
|
|
1763
|
+
recipientFee: zod.ZodNumber;
|
|
1764
|
+
solFee: zod.ZodNumber;
|
|
1765
|
+
remainingClaims: zod.ZodOptional<zod.ZodNumber>;
|
|
1766
|
+
fundingPeriodInfo: zod.ZodOptional<zod.ZodObject<{
|
|
1767
|
+
periodLength: zod.ZodEnum<{
|
|
1768
|
+
daily: "daily";
|
|
1769
|
+
weekly: "weekly";
|
|
1770
|
+
monthly: "monthly";
|
|
1771
|
+
}>;
|
|
1772
|
+
periodsRemaining: zod.ZodNumber;
|
|
1773
|
+
cronJobPeriodsRemaining: zod.ZodNumber;
|
|
1774
|
+
pdaWalletPeriodsRemaining: zod.ZodNumber;
|
|
1775
|
+
}, zod_v4_core.$strip>>;
|
|
1776
|
+
cronJobBalance: zod.ZodString;
|
|
1777
|
+
pdaWalletBalance: zod.ZodString;
|
|
1778
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1779
|
+
NOT_FOUND: {
|
|
1780
|
+
readonly status: 404;
|
|
1781
|
+
readonly message: "The requested resource was not found.";
|
|
1782
|
+
};
|
|
1783
|
+
}>>>>, Record<never, never>>;
|
|
1784
|
+
createAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1785
|
+
walletAddress: zod.ZodString;
|
|
1786
|
+
schedule: zod.ZodEnum<{
|
|
1787
|
+
daily: "daily";
|
|
1788
|
+
weekly: "weekly";
|
|
1789
|
+
monthly: "monthly";
|
|
1790
|
+
}>;
|
|
1791
|
+
duration: zod.ZodNumber;
|
|
1792
|
+
totalHotspots: zod.ZodNumber;
|
|
1793
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1794
|
+
transactionData: zod.ZodObject<{
|
|
1795
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
1796
|
+
serializedTransaction: zod.ZodString;
|
|
1797
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
1798
|
+
type: zod.ZodString;
|
|
1799
|
+
description: zod.ZodString;
|
|
1800
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
1801
|
+
}, zod_v4_core.$strip>>;
|
|
1802
|
+
parallel: zod.ZodBoolean;
|
|
1803
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
1804
|
+
}, zod_v4_core.$strip>;
|
|
1805
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1806
|
+
NOT_FOUND: {
|
|
1807
|
+
readonly status: 404;
|
|
1808
|
+
readonly message: "The requested resource was not found.";
|
|
1809
|
+
};
|
|
1810
|
+
}>>>>, Record<never, never>>;
|
|
1811
|
+
fundAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1812
|
+
walletAddress: zod.ZodString;
|
|
1813
|
+
additionalDuration: zod.ZodNumber;
|
|
1814
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1815
|
+
transactionData: zod.ZodObject<{
|
|
1816
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
1817
|
+
serializedTransaction: zod.ZodString;
|
|
1818
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
1819
|
+
type: zod.ZodString;
|
|
1820
|
+
description: zod.ZodString;
|
|
1821
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
1822
|
+
}, zod_v4_core.$strip>>;
|
|
1823
|
+
parallel: zod.ZodBoolean;
|
|
1824
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
1825
|
+
}, zod_v4_core.$strip>;
|
|
1826
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1827
|
+
NOT_FOUND: {
|
|
1828
|
+
readonly status: 404;
|
|
1829
|
+
readonly message: "The requested resource was not found.";
|
|
1830
|
+
};
|
|
1831
|
+
INSUFFICIENT_FUNDS: {
|
|
1832
|
+
readonly status: 400;
|
|
1833
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
1834
|
+
readonly data: zod.ZodObject<{
|
|
1835
|
+
required: zod.ZodNumber;
|
|
1836
|
+
available: zod.ZodNumber;
|
|
1837
|
+
}, zod_v4_core.$strip>;
|
|
1838
|
+
};
|
|
1839
|
+
}>>>>, Record<never, never>>;
|
|
1840
|
+
getFundingEstimate: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1841
|
+
walletAddress: zod.ZodString;
|
|
1842
|
+
duration: zod.ZodCoercedNumber<unknown>;
|
|
1843
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1844
|
+
cronJobFunding: zod.ZodNumber;
|
|
1845
|
+
pdaWalletFunding: zod.ZodNumber;
|
|
1846
|
+
recipientFee: zod.ZodNumber;
|
|
1847
|
+
totalFunding: zod.ZodNumber;
|
|
1848
|
+
currentCronJobBalance: zod.ZodString;
|
|
1849
|
+
currentPdaWalletBalance: zod.ZodString;
|
|
1850
|
+
additionalFundingNeeded: zod.ZodNumber;
|
|
1851
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1852
|
+
NOT_FOUND: {
|
|
1853
|
+
readonly status: 404;
|
|
1854
|
+
readonly message: "The requested resource was not found.";
|
|
1855
|
+
};
|
|
1856
|
+
}>>>>, Record<never, never>>;
|
|
1740
1857
|
};
|
|
1741
1858
|
swap: {
|
|
1742
|
-
getTokens: _orpc_contract.
|
|
1859
|
+
getTokens: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1743
1860
|
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
1744
1861
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1745
1862
|
tokens: zod.ZodArray<zod.ZodObject<{
|
|
@@ -1749,18 +1866,13 @@ declare const fullApiContract: {
|
|
|
1749
1866
|
decimals: zod.ZodNumber;
|
|
1750
1867
|
logoURI: zod.ZodOptional<zod.ZodString>;
|
|
1751
1868
|
tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1752
|
-
}, zod_v4_core.$strip>>;
|
|
1753
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1754
|
-
INVALID_WALLET_ADDRESS: {
|
|
1755
|
-
message: string;
|
|
1756
|
-
status: number;
|
|
1757
|
-
};
|
|
1758
|
-
}>, {
|
|
1869
|
+
}, zod_v4_core.$strip>>;
|
|
1870
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1759
1871
|
JUPITER_ERROR: {
|
|
1760
1872
|
message: string;
|
|
1761
1873
|
};
|
|
1762
|
-
}
|
|
1763
|
-
getQuote: _orpc_contract.
|
|
1874
|
+
}>>>>, Record<never, never>>;
|
|
1875
|
+
getQuote: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1764
1876
|
inputMint: zod.ZodString;
|
|
1765
1877
|
outputMint: zod.ZodString;
|
|
1766
1878
|
amount: zod.ZodString;
|
|
@@ -1782,12 +1894,7 @@ declare const fullApiContract: {
|
|
|
1782
1894
|
routePlan: zod.ZodArray<zod.ZodUnknown>;
|
|
1783
1895
|
contextSlot: zod.ZodOptional<zod.ZodNumber>;
|
|
1784
1896
|
timeTaken: zod.ZodOptional<zod.ZodNumber>;
|
|
1785
|
-
}, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1786
|
-
INVALID_WALLET_ADDRESS: {
|
|
1787
|
-
message: string;
|
|
1788
|
-
status: number;
|
|
1789
|
-
};
|
|
1790
|
-
}>, {
|
|
1897
|
+
}, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1791
1898
|
BAD_REQUEST: {
|
|
1792
1899
|
message: string;
|
|
1793
1900
|
status: number;
|
|
@@ -1795,8 +1902,8 @@ declare const fullApiContract: {
|
|
|
1795
1902
|
JUPITER_ERROR: {
|
|
1796
1903
|
message: string;
|
|
1797
1904
|
};
|
|
1798
|
-
}
|
|
1799
|
-
getInstructions: _orpc_contract.
|
|
1905
|
+
}>>>>, Record<never, never>>;
|
|
1906
|
+
getInstructions: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1800
1907
|
quoteResponse: zod.ZodObject<{
|
|
1801
1908
|
inputMint: zod.ZodString;
|
|
1802
1909
|
inAmount: zod.ZodString;
|
|
@@ -1834,12 +1941,7 @@ declare const fullApiContract: {
|
|
|
1834
1941
|
}, zod_v4_core.$strip>>;
|
|
1835
1942
|
parallel: zod.ZodBoolean;
|
|
1836
1943
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1837
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1838
|
-
INVALID_WALLET_ADDRESS: {
|
|
1839
|
-
message: string;
|
|
1840
|
-
status: number;
|
|
1841
|
-
};
|
|
1842
|
-
}>, {
|
|
1944
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1843
1945
|
BAD_REQUEST: {
|
|
1844
1946
|
message: string;
|
|
1845
1947
|
status: number;
|
|
@@ -1847,10 +1949,10 @@ declare const fullApiContract: {
|
|
|
1847
1949
|
JUPITER_ERROR: {
|
|
1848
1950
|
message: string;
|
|
1849
1951
|
};
|
|
1850
|
-
}
|
|
1952
|
+
}>>>>, Record<never, never>>;
|
|
1851
1953
|
};
|
|
1852
1954
|
transactions: {
|
|
1853
|
-
submit: _orpc_contract.
|
|
1955
|
+
submit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1854
1956
|
transactions: zod.ZodArray<zod.ZodObject<{
|
|
1855
1957
|
serializedTransaction: zod.ZodString;
|
|
1856
1958
|
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -1863,12 +1965,7 @@ declare const fullApiContract: {
|
|
|
1863
1965
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1864
1966
|
batchId: zod.ZodString;
|
|
1865
1967
|
message: zod.ZodOptional<zod.ZodString>;
|
|
1866
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1867
|
-
INVALID_WALLET_ADDRESS: {
|
|
1868
|
-
message: string;
|
|
1869
|
-
status: number;
|
|
1870
|
-
};
|
|
1871
|
-
}>, {
|
|
1968
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1872
1969
|
BAD_REQUEST: {
|
|
1873
1970
|
readonly status: 400;
|
|
1874
1971
|
readonly message: "Invalid input data provided.";
|
|
@@ -1888,8 +1985,8 @@ declare const fullApiContract: {
|
|
|
1888
1985
|
link: zod.ZodOptional<zod.ZodString>;
|
|
1889
1986
|
}, zod_v4_core.$strip>;
|
|
1890
1987
|
};
|
|
1891
|
-
}
|
|
1892
|
-
get: _orpc_contract.
|
|
1988
|
+
}>>>>, Record<never, never>>;
|
|
1989
|
+
get: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1893
1990
|
id: zod.ZodString;
|
|
1894
1991
|
commitment: zod.ZodEnum<{
|
|
1895
1992
|
confirmed: "confirmed";
|
|
@@ -1907,30 +2004,20 @@ declare const fullApiContract: {
|
|
|
1907
2004
|
}, zod_v4_core.$strip>>;
|
|
1908
2005
|
jitoBundleId: zod.ZodNullable<zod.ZodOptional<zod.ZodString>>;
|
|
1909
2006
|
jitoBundleStatus: zod.ZodNullable<zod.ZodOptional<zod.ZodUnknown>>;
|
|
1910
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1911
|
-
INVALID_WALLET_ADDRESS: {
|
|
1912
|
-
message: string;
|
|
1913
|
-
status: number;
|
|
1914
|
-
};
|
|
1915
|
-
}>, {
|
|
2007
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1916
2008
|
NOT_FOUND: {
|
|
1917
2009
|
readonly status: 404;
|
|
1918
2010
|
readonly message: "The requested resource was not found.";
|
|
1919
2011
|
};
|
|
1920
|
-
}
|
|
1921
|
-
resubmit: _orpc_contract.
|
|
2012
|
+
}>>>>, Record<never, never>>;
|
|
2013
|
+
resubmit: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1922
2014
|
id: zod.ZodString;
|
|
1923
2015
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1924
2016
|
success: zod.ZodBoolean;
|
|
1925
2017
|
message: zod.ZodString;
|
|
1926
2018
|
error: zod.ZodOptional<zod.ZodString>;
|
|
1927
2019
|
newSignatures: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1928
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1929
|
-
INVALID_WALLET_ADDRESS: {
|
|
1930
|
-
message: string;
|
|
1931
|
-
status: number;
|
|
1932
|
-
};
|
|
1933
|
-
}>, {
|
|
2020
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1934
2021
|
NOT_FOUND: {
|
|
1935
2022
|
readonly status: 404;
|
|
1936
2023
|
readonly message: "The requested resource was not found.";
|
|
@@ -1942,8 +2029,8 @@ declare const fullApiContract: {
|
|
|
1942
2029
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1943
2030
|
}, zod_v4_core.$strip>>;
|
|
1944
2031
|
};
|
|
1945
|
-
}
|
|
1946
|
-
getByPayer: _orpc_contract.
|
|
2032
|
+
}>>>>, Record<never, never>>;
|
|
2033
|
+
getByPayer: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1947
2034
|
payer: zod.ZodString;
|
|
1948
2035
|
page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
1949
2036
|
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
@@ -1971,12 +2058,7 @@ declare const fullApiContract: {
|
|
|
1971
2058
|
total: zod.ZodNumber;
|
|
1972
2059
|
totalPages: zod.ZodNumber;
|
|
1973
2060
|
}, zod_v4_core.$strip>;
|
|
1974
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1975
|
-
INVALID_WALLET_ADDRESS: {
|
|
1976
|
-
message: string;
|
|
1977
|
-
status: number;
|
|
1978
|
-
};
|
|
1979
|
-
}>, {
|
|
2061
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1980
2062
|
BAD_REQUEST: {
|
|
1981
2063
|
readonly status: 400;
|
|
1982
2064
|
readonly message: "Invalid input data provided.";
|
|
@@ -1984,8 +2066,8 @@ declare const fullApiContract: {
|
|
|
1984
2066
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1985
2067
|
}, zod_v4_core.$strip>>;
|
|
1986
2068
|
};
|
|
1987
|
-
}
|
|
1988
|
-
getByPayerAndTag: _orpc_contract.
|
|
2069
|
+
}>>>>, Record<never, never>>;
|
|
2070
|
+
getByPayerAndTag: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1989
2071
|
payer: zod.ZodString;
|
|
1990
2072
|
tag: zod.ZodString;
|
|
1991
2073
|
page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
@@ -2014,12 +2096,7 @@ declare const fullApiContract: {
|
|
|
2014
2096
|
total: zod.ZodNumber;
|
|
2015
2097
|
totalPages: zod.ZodNumber;
|
|
2016
2098
|
}, zod_v4_core.$strip>;
|
|
2017
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2018
|
-
INVALID_WALLET_ADDRESS: {
|
|
2019
|
-
message: string;
|
|
2020
|
-
status: number;
|
|
2021
|
-
};
|
|
2022
|
-
}>, {
|
|
2099
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2023
2100
|
BAD_REQUEST: {
|
|
2024
2101
|
readonly status: 400;
|
|
2025
2102
|
readonly message: "Invalid input data provided.";
|
|
@@ -2027,10 +2104,10 @@ declare const fullApiContract: {
|
|
|
2027
2104
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2028
2105
|
}, zod_v4_core.$strip>>;
|
|
2029
2106
|
};
|
|
2030
|
-
}
|
|
2107
|
+
}>>>>, Record<never, never>>;
|
|
2031
2108
|
};
|
|
2032
2109
|
welcomePacks: {
|
|
2033
|
-
list: _orpc_contract.
|
|
2110
|
+
list: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
2034
2111
|
walletAddress: zod.ZodString;
|
|
2035
2112
|
}, zod_v4_core.$strip>, zod.ZodArray<zod.ZodObject<{
|
|
2036
2113
|
address: zod.ZodString;
|
|
@@ -2044,8 +2121,8 @@ declare const fullApiContract: {
|
|
|
2044
2121
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
2045
2122
|
address: zod.ZodString;
|
|
2046
2123
|
type: zod.ZodEnum<{
|
|
2047
|
-
fixed: "fixed";
|
|
2048
2124
|
percentage: "percentage";
|
|
2125
|
+
fixed: "fixed";
|
|
2049
2126
|
}>;
|
|
2050
2127
|
amount: zod.ZodNumber;
|
|
2051
2128
|
}, zod_v4_core.$strip>>;
|
|
@@ -2082,13 +2159,13 @@ declare const fullApiContract: {
|
|
|
2082
2159
|
}, zod_v4_core.$strip>>;
|
|
2083
2160
|
ownershipType: zod.ZodString;
|
|
2084
2161
|
}, zod_v4_core.$strip>>;
|
|
2085
|
-
}, zod_v4_core.$strip>>,
|
|
2162
|
+
}, zod_v4_core.$strip>>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2086
2163
|
INVALID_WALLET_ADDRESS: {
|
|
2087
|
-
message: string;
|
|
2088
2164
|
status: number;
|
|
2165
|
+
message: string;
|
|
2089
2166
|
};
|
|
2090
|
-
}
|
|
2091
|
-
create: _orpc_contract.
|
|
2167
|
+
}>>>>, Record<never, never>>;
|
|
2168
|
+
create: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
2092
2169
|
walletAddress: zod.ZodString;
|
|
2093
2170
|
assetId: zod.ZodString;
|
|
2094
2171
|
solAmount: zod.ZodNumber;
|
|
@@ -2097,8 +2174,8 @@ declare const fullApiContract: {
|
|
|
2097
2174
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
2098
2175
|
address: zod.ZodString;
|
|
2099
2176
|
type: zod.ZodEnum<{
|
|
2100
|
-
fixed: "fixed";
|
|
2101
2177
|
percentage: "percentage";
|
|
2178
|
+
fixed: "fixed";
|
|
2102
2179
|
}>;
|
|
2103
2180
|
amount: zod.ZodNumber;
|
|
2104
2181
|
}, zod_v4_core.$strip>>;
|
|
@@ -2127,8 +2204,8 @@ declare const fullApiContract: {
|
|
|
2127
2204
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
2128
2205
|
address: zod.ZodString;
|
|
2129
2206
|
type: zod.ZodEnum<{
|
|
2130
|
-
fixed: "fixed";
|
|
2131
2207
|
percentage: "percentage";
|
|
2208
|
+
fixed: "fixed";
|
|
2132
2209
|
}>;
|
|
2133
2210
|
amount: zod.ZodNumber;
|
|
2134
2211
|
}, zod_v4_core.$strip>>;
|
|
@@ -2177,12 +2254,7 @@ declare const fullApiContract: {
|
|
|
2177
2254
|
parallel: zod.ZodBoolean;
|
|
2178
2255
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2179
2256
|
}, zod_v4_core.$strip>;
|
|
2180
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2181
|
-
INVALID_WALLET_ADDRESS: {
|
|
2182
|
-
message: string;
|
|
2183
|
-
status: number;
|
|
2184
|
-
};
|
|
2185
|
-
}>, {
|
|
2257
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2186
2258
|
BAD_REQUEST: {
|
|
2187
2259
|
readonly status: 400;
|
|
2188
2260
|
readonly message: "Invalid input data provided.";
|
|
@@ -2190,8 +2262,8 @@ declare const fullApiContract: {
|
|
|
2190
2262
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2191
2263
|
}, zod_v4_core.$strip>>;
|
|
2192
2264
|
};
|
|
2193
|
-
}
|
|
2194
|
-
get: _orpc_contract.
|
|
2265
|
+
}>>>>, Record<never, never>>;
|
|
2266
|
+
get: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
2195
2267
|
walletAddress: zod.ZodString;
|
|
2196
2268
|
packId: zod.ZodNumber;
|
|
2197
2269
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -2206,8 +2278,8 @@ declare const fullApiContract: {
|
|
|
2206
2278
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
2207
2279
|
address: zod.ZodString;
|
|
2208
2280
|
type: zod.ZodEnum<{
|
|
2209
|
-
fixed: "fixed";
|
|
2210
2281
|
percentage: "percentage";
|
|
2282
|
+
fixed: "fixed";
|
|
2211
2283
|
}>;
|
|
2212
2284
|
amount: zod.ZodNumber;
|
|
2213
2285
|
}, zod_v4_core.$strip>>;
|
|
@@ -2244,18 +2316,17 @@ declare const fullApiContract: {
|
|
|
2244
2316
|
}, zod_v4_core.$strip>>;
|
|
2245
2317
|
ownershipType: zod.ZodString;
|
|
2246
2318
|
}, zod_v4_core.$strip>>;
|
|
2247
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2248
|
-
INVALID_WALLET_ADDRESS: {
|
|
2249
|
-
message: string;
|
|
2250
|
-
status: number;
|
|
2251
|
-
};
|
|
2252
|
-
}>, {
|
|
2319
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2253
2320
|
NOT_FOUND: {
|
|
2254
2321
|
readonly status: 404;
|
|
2255
2322
|
readonly message: "The requested resource was not found.";
|
|
2256
2323
|
};
|
|
2257
|
-
|
|
2258
|
-
|
|
2324
|
+
INVALID_WALLET_ADDRESS: {
|
|
2325
|
+
status: number;
|
|
2326
|
+
message: string;
|
|
2327
|
+
};
|
|
2328
|
+
}>>>>, Record<never, never>>;
|
|
2329
|
+
delete: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
2259
2330
|
walletAddress: zod.ZodString;
|
|
2260
2331
|
packId: zod.ZodNumber;
|
|
2261
2332
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -2270,12 +2341,7 @@ declare const fullApiContract: {
|
|
|
2270
2341
|
parallel: zod.ZodBoolean;
|
|
2271
2342
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2272
2343
|
}, zod_v4_core.$strip>;
|
|
2273
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2274
|
-
INVALID_WALLET_ADDRESS: {
|
|
2275
|
-
message: string;
|
|
2276
|
-
status: number;
|
|
2277
|
-
};
|
|
2278
|
-
}>, {
|
|
2344
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2279
2345
|
BAD_REQUEST: {
|
|
2280
2346
|
readonly status: 400;
|
|
2281
2347
|
readonly message: "Invalid input data provided.";
|
|
@@ -2283,8 +2349,12 @@ declare const fullApiContract: {
|
|
|
2283
2349
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2284
2350
|
}, zod_v4_core.$strip>>;
|
|
2285
2351
|
};
|
|
2286
|
-
|
|
2287
|
-
|
|
2352
|
+
INVALID_WALLET_ADDRESS: {
|
|
2353
|
+
status: number;
|
|
2354
|
+
message: string;
|
|
2355
|
+
};
|
|
2356
|
+
}>>>>, Record<never, never>>;
|
|
2357
|
+
getByAddress: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
2288
2358
|
packAddress: zod.ZodString;
|
|
2289
2359
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
2290
2360
|
address: zod.ZodString;
|
|
@@ -2298,8 +2368,8 @@ declare const fullApiContract: {
|
|
|
2298
2368
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
2299
2369
|
address: zod.ZodString;
|
|
2300
2370
|
type: zod.ZodEnum<{
|
|
2301
|
-
fixed: "fixed";
|
|
2302
2371
|
percentage: "percentage";
|
|
2372
|
+
fixed: "fixed";
|
|
2303
2373
|
}>;
|
|
2304
2374
|
amount: zod.ZodNumber;
|
|
2305
2375
|
}, zod_v4_core.$strip>>;
|
|
@@ -2336,18 +2406,13 @@ declare const fullApiContract: {
|
|
|
2336
2406
|
}, zod_v4_core.$strip>>;
|
|
2337
2407
|
ownershipType: zod.ZodString;
|
|
2338
2408
|
}, zod_v4_core.$strip>>;
|
|
2339
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2340
|
-
INVALID_WALLET_ADDRESS: {
|
|
2341
|
-
message: string;
|
|
2342
|
-
status: number;
|
|
2343
|
-
};
|
|
2344
|
-
}>, {
|
|
2409
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2345
2410
|
NOT_FOUND: {
|
|
2346
2411
|
readonly status: 404;
|
|
2347
2412
|
readonly message: "The requested resource was not found.";
|
|
2348
2413
|
};
|
|
2349
|
-
}
|
|
2350
|
-
claim: _orpc_contract.
|
|
2414
|
+
}>>>>, Record<never, never>>;
|
|
2415
|
+
claim: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
2351
2416
|
packAddress: zod.ZodString;
|
|
2352
2417
|
walletAddress: zod.ZodString;
|
|
2353
2418
|
signature: zod.ZodString;
|
|
@@ -2364,12 +2429,7 @@ declare const fullApiContract: {
|
|
|
2364
2429
|
parallel: zod.ZodBoolean;
|
|
2365
2430
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2366
2431
|
}, zod_v4_core.$strip>;
|
|
2367
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2368
|
-
INVALID_WALLET_ADDRESS: {
|
|
2369
|
-
message: string;
|
|
2370
|
-
status: number;
|
|
2371
|
-
};
|
|
2372
|
-
}>, {
|
|
2432
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2373
2433
|
BAD_REQUEST: {
|
|
2374
2434
|
readonly status: 400;
|
|
2375
2435
|
readonly message: "Invalid input data provided.";
|
|
@@ -2381,20 +2441,15 @@ declare const fullApiContract: {
|
|
|
2381
2441
|
message: string;
|
|
2382
2442
|
status: number;
|
|
2383
2443
|
};
|
|
2384
|
-
}
|
|
2385
|
-
invite: _orpc_contract.
|
|
2444
|
+
}>>>>, Record<never, never>>;
|
|
2445
|
+
invite: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
2386
2446
|
packAddress: zod.ZodString;
|
|
2387
2447
|
walletAddress: zod.ZodString;
|
|
2388
2448
|
expirationDays: zod.ZodDefault<zod.ZodNumber>;
|
|
2389
2449
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
2390
2450
|
message: zod.ZodString;
|
|
2391
2451
|
expirationTs: zod.ZodNumber;
|
|
2392
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2393
|
-
INVALID_WALLET_ADDRESS: {
|
|
2394
|
-
message: string;
|
|
2395
|
-
status: number;
|
|
2396
|
-
};
|
|
2397
|
-
}>, {
|
|
2452
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2398
2453
|
BAD_REQUEST: {
|
|
2399
2454
|
readonly status: 400;
|
|
2400
2455
|
readonly message: "Invalid input data provided.";
|
|
@@ -2406,7 +2461,7 @@ declare const fullApiContract: {
|
|
|
2406
2461
|
readonly status: 404;
|
|
2407
2462
|
readonly message: "The requested resource was not found.";
|
|
2408
2463
|
};
|
|
2409
|
-
}
|
|
2464
|
+
}>>>>, Record<never, never>>;
|
|
2410
2465
|
};
|
|
2411
2466
|
};
|
|
2412
2467
|
type APIContract = typeof apiContract;
|
|
@@ -2554,6 +2609,10 @@ declare const WalletAddressSchema: z.ZodString;
|
|
|
2554
2609
|
* Solana public key validation (base58 encoded).
|
|
2555
2610
|
*/
|
|
2556
2611
|
declare const PublicKeySchema: z.ZodString;
|
|
2612
|
+
/**
|
|
2613
|
+
* Helium public key validation.
|
|
2614
|
+
*/
|
|
2615
|
+
declare const HeliumPublicKeySchema: z.ZodString;
|
|
2557
2616
|
/**
|
|
2558
2617
|
* Standard pagination input schema.
|
|
2559
2618
|
*/
|
|
@@ -2663,51 +2722,6 @@ declare const HotspotTypeSchema: z.ZodEnum<{
|
|
|
2663
2722
|
mobile: "mobile";
|
|
2664
2723
|
all: "all";
|
|
2665
2724
|
}>;
|
|
2666
|
-
declare const DeviceTypeSchema: z.ZodEnum<{
|
|
2667
|
-
"iot-gateway": "iot-gateway";
|
|
2668
|
-
wifiIndoor: "wifiIndoor";
|
|
2669
|
-
wifiOutdoor: "wifiOutdoor";
|
|
2670
|
-
wifiDataOnly: "wifiDataOnly";
|
|
2671
|
-
cbrs: "cbrs";
|
|
2672
|
-
}>;
|
|
2673
|
-
declare const OwnershipTypeSchema: z.ZodEnum<{
|
|
2674
|
-
all: "all";
|
|
2675
|
-
owner: "owner";
|
|
2676
|
-
direct: "direct";
|
|
2677
|
-
fanout: "fanout";
|
|
2678
|
-
}>;
|
|
2679
|
-
declare const HotspotSharesSchema: z.ZodObject<{
|
|
2680
|
-
fixed: z.ZodOptional<z.ZodString>;
|
|
2681
|
-
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2682
|
-
}, z.core.$strip>;
|
|
2683
|
-
declare const HotspotSchema: z.ZodObject<{
|
|
2684
|
-
address: z.ZodString;
|
|
2685
|
-
entityKey: z.ZodString;
|
|
2686
|
-
name: z.ZodString;
|
|
2687
|
-
type: z.ZodEnum<{
|
|
2688
|
-
iot: "iot";
|
|
2689
|
-
mobile: "mobile";
|
|
2690
|
-
all: "all";
|
|
2691
|
-
}>;
|
|
2692
|
-
deviceType: z.ZodEnum<{
|
|
2693
|
-
"iot-gateway": "iot-gateway";
|
|
2694
|
-
wifiIndoor: "wifiIndoor";
|
|
2695
|
-
wifiOutdoor: "wifiOutdoor";
|
|
2696
|
-
wifiDataOnly: "wifiDataOnly";
|
|
2697
|
-
cbrs: "cbrs";
|
|
2698
|
-
}>;
|
|
2699
|
-
city: z.ZodOptional<z.ZodString>;
|
|
2700
|
-
state: z.ZodOptional<z.ZodString>;
|
|
2701
|
-
country: z.ZodOptional<z.ZodString>;
|
|
2702
|
-
asset: z.ZodString;
|
|
2703
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
2704
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
2705
|
-
shares: z.ZodOptional<z.ZodObject<{
|
|
2706
|
-
fixed: z.ZodOptional<z.ZodString>;
|
|
2707
|
-
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2708
|
-
}, z.core.$strip>>;
|
|
2709
|
-
ownershipType: z.ZodString;
|
|
2710
|
-
}, z.core.$strip>;
|
|
2711
2725
|
declare const GetHotspotsInputSchema: z.ZodObject<{
|
|
2712
2726
|
walletAddress: z.ZodString;
|
|
2713
2727
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2742,8 +2756,8 @@ declare const GetSplitInputSchema: z.ZodObject<{
|
|
|
2742
2756
|
declare const RewardSplitInputSchema: z.ZodObject<{
|
|
2743
2757
|
address: z.ZodString;
|
|
2744
2758
|
type: z.ZodEnum<{
|
|
2745
|
-
fixed: "fixed";
|
|
2746
2759
|
percentage: "percentage";
|
|
2760
|
+
fixed: "fixed";
|
|
2747
2761
|
}>;
|
|
2748
2762
|
amount: z.ZodNumber;
|
|
2749
2763
|
}, z.core.$strip>;
|
|
@@ -2764,8 +2778,8 @@ declare const CreateSplitInputSchema: z.ZodObject<{
|
|
|
2764
2778
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
2765
2779
|
address: z.ZodString;
|
|
2766
2780
|
type: z.ZodEnum<{
|
|
2767
|
-
fixed: "fixed";
|
|
2768
2781
|
percentage: "percentage";
|
|
2782
|
+
fixed: "fixed";
|
|
2769
2783
|
}>;
|
|
2770
2784
|
amount: z.ZodNumber;
|
|
2771
2785
|
}, z.core.$strip>>;
|
|
@@ -2786,6 +2800,80 @@ declare const DeleteSplitInputSchema: z.ZodObject<{
|
|
|
2786
2800
|
walletAddress: z.ZodString;
|
|
2787
2801
|
hotspotPubkey: z.ZodString;
|
|
2788
2802
|
}, z.core.$strip>;
|
|
2803
|
+
declare const GetAutomationStatusInputSchema: z.ZodObject<{
|
|
2804
|
+
walletAddress: z.ZodString;
|
|
2805
|
+
}, z.core.$strip>;
|
|
2806
|
+
declare const AutomationScheduleSchema: z.ZodEnum<{
|
|
2807
|
+
daily: "daily";
|
|
2808
|
+
weekly: "weekly";
|
|
2809
|
+
monthly: "monthly";
|
|
2810
|
+
}>;
|
|
2811
|
+
declare const SetupAutomationInputSchema: z.ZodObject<{
|
|
2812
|
+
walletAddress: z.ZodString;
|
|
2813
|
+
schedule: z.ZodEnum<{
|
|
2814
|
+
daily: "daily";
|
|
2815
|
+
weekly: "weekly";
|
|
2816
|
+
monthly: "monthly";
|
|
2817
|
+
}>;
|
|
2818
|
+
duration: z.ZodNumber;
|
|
2819
|
+
totalHotspots: z.ZodNumber;
|
|
2820
|
+
}, z.core.$strip>;
|
|
2821
|
+
declare const FundAutomationInputSchema: z.ZodObject<{
|
|
2822
|
+
walletAddress: z.ZodString;
|
|
2823
|
+
additionalDuration: z.ZodNumber;
|
|
2824
|
+
}, z.core.$strip>;
|
|
2825
|
+
declare const GetFundingEstimateInputSchema: z.ZodObject<{
|
|
2826
|
+
walletAddress: z.ZodString;
|
|
2827
|
+
duration: z.ZodCoercedNumber<unknown>;
|
|
2828
|
+
}, z.core.$strip>;
|
|
2829
|
+
declare const CloseAutomationInputSchema: z.ZodObject<{
|
|
2830
|
+
walletAddress: z.ZodString;
|
|
2831
|
+
}, z.core.$strip>;
|
|
2832
|
+
declare const DeviceTypeSchema: z.ZodEnum<{
|
|
2833
|
+
"iot-gateway": "iot-gateway";
|
|
2834
|
+
wifiIndoor: "wifiIndoor";
|
|
2835
|
+
wifiOutdoor: "wifiOutdoor";
|
|
2836
|
+
wifiDataOnly: "wifiDataOnly";
|
|
2837
|
+
cbrs: "cbrs";
|
|
2838
|
+
}>;
|
|
2839
|
+
declare const OwnershipTypeSchema: z.ZodEnum<{
|
|
2840
|
+
all: "all";
|
|
2841
|
+
owner: "owner";
|
|
2842
|
+
direct: "direct";
|
|
2843
|
+
fanout: "fanout";
|
|
2844
|
+
}>;
|
|
2845
|
+
declare const HotspotSharesSchema: z.ZodObject<{
|
|
2846
|
+
fixed: z.ZodOptional<z.ZodString>;
|
|
2847
|
+
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2848
|
+
}, z.core.$strip>;
|
|
2849
|
+
declare const HotspotSchema: z.ZodObject<{
|
|
2850
|
+
address: z.ZodString;
|
|
2851
|
+
entityKey: z.ZodString;
|
|
2852
|
+
name: z.ZodString;
|
|
2853
|
+
type: z.ZodEnum<{
|
|
2854
|
+
iot: "iot";
|
|
2855
|
+
mobile: "mobile";
|
|
2856
|
+
all: "all";
|
|
2857
|
+
}>;
|
|
2858
|
+
deviceType: z.ZodEnum<{
|
|
2859
|
+
"iot-gateway": "iot-gateway";
|
|
2860
|
+
wifiIndoor: "wifiIndoor";
|
|
2861
|
+
wifiOutdoor: "wifiOutdoor";
|
|
2862
|
+
wifiDataOnly: "wifiDataOnly";
|
|
2863
|
+
cbrs: "cbrs";
|
|
2864
|
+
}>;
|
|
2865
|
+
city: z.ZodOptional<z.ZodString>;
|
|
2866
|
+
state: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
country: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
asset: z.ZodString;
|
|
2869
|
+
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
2870
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
shares: z.ZodOptional<z.ZodObject<{
|
|
2872
|
+
fixed: z.ZodOptional<z.ZodString>;
|
|
2873
|
+
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2874
|
+
}, z.core.$strip>>;
|
|
2875
|
+
ownershipType: z.ZodString;
|
|
2876
|
+
}, z.core.$strip>;
|
|
2789
2877
|
declare const HotspotsDataSchema: z.ZodObject<{
|
|
2790
2878
|
hotspots: z.ZodArray<z.ZodObject<{
|
|
2791
2879
|
address: z.ZodString;
|
|
@@ -2904,6 +2992,105 @@ declare const DeleteSplitOutputSchema: z.ZodObject<{
|
|
|
2904
2992
|
declare const PendingRewardsOutputSchema: z.ZodObject<{
|
|
2905
2993
|
pending: z.ZodString;
|
|
2906
2994
|
}, z.core.$strip>;
|
|
2995
|
+
declare const AutomationStatusOutputSchema: z.ZodObject<{
|
|
2996
|
+
hasExistingAutomation: z.ZodBoolean;
|
|
2997
|
+
isOutOfSol: z.ZodBoolean;
|
|
2998
|
+
currentSchedule: z.ZodOptional<z.ZodObject<{
|
|
2999
|
+
schedule: z.ZodEnum<{
|
|
3000
|
+
daily: "daily";
|
|
3001
|
+
weekly: "weekly";
|
|
3002
|
+
monthly: "monthly";
|
|
3003
|
+
}>;
|
|
3004
|
+
time: z.ZodString;
|
|
3005
|
+
nextRun: z.ZodString;
|
|
3006
|
+
}, z.core.$strip>>;
|
|
3007
|
+
rentFee: z.ZodNumber;
|
|
3008
|
+
recipientFee: z.ZodNumber;
|
|
3009
|
+
solFee: z.ZodNumber;
|
|
3010
|
+
remainingClaims: z.ZodOptional<z.ZodNumber>;
|
|
3011
|
+
fundingPeriodInfo: z.ZodOptional<z.ZodObject<{
|
|
3012
|
+
periodLength: z.ZodEnum<{
|
|
3013
|
+
daily: "daily";
|
|
3014
|
+
weekly: "weekly";
|
|
3015
|
+
monthly: "monthly";
|
|
3016
|
+
}>;
|
|
3017
|
+
periodsRemaining: z.ZodNumber;
|
|
3018
|
+
cronJobPeriodsRemaining: z.ZodNumber;
|
|
3019
|
+
pdaWalletPeriodsRemaining: z.ZodNumber;
|
|
3020
|
+
}, z.core.$strip>>;
|
|
3021
|
+
cronJobBalance: z.ZodString;
|
|
3022
|
+
pdaWalletBalance: z.ZodString;
|
|
3023
|
+
}, z.core.$strip>;
|
|
3024
|
+
declare const SetupAutomationOutputSchema: z.ZodObject<{
|
|
3025
|
+
transactionData: z.ZodObject<{
|
|
3026
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
3027
|
+
serializedTransaction: z.ZodString;
|
|
3028
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
3029
|
+
type: z.ZodString;
|
|
3030
|
+
description: z.ZodString;
|
|
3031
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3032
|
+
}, z.core.$strip>>;
|
|
3033
|
+
parallel: z.ZodBoolean;
|
|
3034
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3035
|
+
}, z.core.$strip>;
|
|
3036
|
+
}, z.core.$strip>;
|
|
3037
|
+
declare const FundAutomationOutputSchema: z.ZodObject<{
|
|
3038
|
+
transactionData: z.ZodObject<{
|
|
3039
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
3040
|
+
serializedTransaction: z.ZodString;
|
|
3041
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
3042
|
+
type: z.ZodString;
|
|
3043
|
+
description: z.ZodString;
|
|
3044
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3045
|
+
}, z.core.$strip>>;
|
|
3046
|
+
parallel: z.ZodBoolean;
|
|
3047
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3048
|
+
}, z.core.$strip>;
|
|
3049
|
+
}, z.core.$strip>;
|
|
3050
|
+
declare const CloseAutomationOutputSchema: z.ZodObject<{
|
|
3051
|
+
transactionData: z.ZodObject<{
|
|
3052
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
3053
|
+
serializedTransaction: z.ZodString;
|
|
3054
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
3055
|
+
type: z.ZodString;
|
|
3056
|
+
description: z.ZodString;
|
|
3057
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3058
|
+
}, z.core.$strip>>;
|
|
3059
|
+
parallel: z.ZodBoolean;
|
|
3060
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3061
|
+
}, z.core.$strip>;
|
|
3062
|
+
}, z.core.$strip>;
|
|
3063
|
+
declare const FundingEstimateOutputSchema: z.ZodObject<{
|
|
3064
|
+
cronJobFunding: z.ZodNumber;
|
|
3065
|
+
pdaWalletFunding: z.ZodNumber;
|
|
3066
|
+
recipientFee: z.ZodNumber;
|
|
3067
|
+
totalFunding: z.ZodNumber;
|
|
3068
|
+
currentCronJobBalance: z.ZodString;
|
|
3069
|
+
currentPdaWalletBalance: z.ZodString;
|
|
3070
|
+
additionalFundingNeeded: z.ZodNumber;
|
|
3071
|
+
}, z.core.$strip>;
|
|
3072
|
+
declare const ReassertLocationRequestSchema: z.ZodObject<{
|
|
3073
|
+
entityPubKey: z.ZodString;
|
|
3074
|
+
walletAddress: z.ZodString;
|
|
3075
|
+
location: z.ZodObject<{
|
|
3076
|
+
lat: z.ZodNumber;
|
|
3077
|
+
lng: z.ZodNumber;
|
|
3078
|
+
}, z.core.$strip>;
|
|
3079
|
+
azimuth: z.ZodOptional<z.ZodNumber>;
|
|
3080
|
+
}, z.core.$strip>;
|
|
3081
|
+
declare const ReassertLocationResponseSchema: z.ZodObject<{
|
|
3082
|
+
transactionData: z.ZodObject<{
|
|
3083
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
3084
|
+
serializedTransaction: z.ZodString;
|
|
3085
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
3086
|
+
type: z.ZodString;
|
|
3087
|
+
description: z.ZodString;
|
|
3088
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3089
|
+
}, z.core.$strip>>;
|
|
3090
|
+
parallel: z.ZodBoolean;
|
|
3091
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
}, z.core.$strip>;
|
|
3093
|
+
}, z.core.$strip>;
|
|
2907
3094
|
type HotspotType = z.infer<typeof HotspotTypeSchema>;
|
|
2908
3095
|
type DeviceType = z.infer<typeof DeviceTypeSchema>;
|
|
2909
3096
|
type OwnershipType = z.infer<typeof OwnershipTypeSchema>;
|
|
@@ -2921,6 +3108,13 @@ type RewardSplitInput = z.infer<typeof RewardSplitInputSchema>;
|
|
|
2921
3108
|
type ScheduleInput = z.infer<typeof ScheduleInputSchema>;
|
|
2922
3109
|
type SplitShare = z.infer<typeof SplitShareSchema>;
|
|
2923
3110
|
type SplitResponse = z.infer<typeof SplitResponseSchema>;
|
|
3111
|
+
type GetAutomationStatusInput = z.infer<typeof GetAutomationStatusInputSchema>;
|
|
3112
|
+
type AutomationStatus = z.infer<typeof AutomationStatusOutputSchema>;
|
|
3113
|
+
type SetupAutomationInput = z.infer<typeof SetupAutomationInputSchema>;
|
|
3114
|
+
type FundAutomationInput = z.infer<typeof FundAutomationInputSchema>;
|
|
3115
|
+
type CloseAutomationInput = z.infer<typeof CloseAutomationInputSchema>;
|
|
3116
|
+
type GetFundingEstimateInput = z.infer<typeof GetFundingEstimateInputSchema>;
|
|
3117
|
+
type FundingEstimate = z.infer<typeof FundingEstimateOutputSchema>;
|
|
2924
3118
|
type PendingRewardsOutput = z.infer<typeof PendingRewardsOutputSchema>;
|
|
2925
3119
|
|
|
2926
3120
|
declare const GetTokensInputSchema: z.ZodObject<{
|
|
@@ -3140,8 +3334,8 @@ declare const WelcomePackCreateInputSchema: z.ZodObject<{
|
|
|
3140
3334
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
3141
3335
|
address: z.ZodString;
|
|
3142
3336
|
type: z.ZodEnum<{
|
|
3143
|
-
fixed: "fixed";
|
|
3144
3337
|
percentage: "percentage";
|
|
3338
|
+
fixed: "fixed";
|
|
3145
3339
|
}>;
|
|
3146
3340
|
amount: z.ZodNumber;
|
|
3147
3341
|
}, z.core.$strip>>;
|
|
@@ -3192,8 +3386,8 @@ declare const WelcomePackSchema: z.ZodObject<{
|
|
|
3192
3386
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
3193
3387
|
address: z.ZodString;
|
|
3194
3388
|
type: z.ZodEnum<{
|
|
3195
|
-
fixed: "fixed";
|
|
3196
3389
|
percentage: "percentage";
|
|
3390
|
+
fixed: "fixed";
|
|
3197
3391
|
}>;
|
|
3198
3392
|
amount: z.ZodNumber;
|
|
3199
3393
|
}, z.core.$strip>>;
|
|
@@ -3243,8 +3437,8 @@ declare const WelcomePackListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
3243
3437
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
3244
3438
|
address: z.ZodString;
|
|
3245
3439
|
type: z.ZodEnum<{
|
|
3246
|
-
fixed: "fixed";
|
|
3247
3440
|
percentage: "percentage";
|
|
3441
|
+
fixed: "fixed";
|
|
3248
3442
|
}>;
|
|
3249
3443
|
amount: z.ZodNumber;
|
|
3250
3444
|
}, z.core.$strip>>;
|
|
@@ -3295,8 +3489,8 @@ declare const WelcomePackCreateOutputSchema: z.ZodObject<{
|
|
|
3295
3489
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
3296
3490
|
address: z.ZodString;
|
|
3297
3491
|
type: z.ZodEnum<{
|
|
3298
|
-
fixed: "fixed";
|
|
3299
3492
|
percentage: "percentage";
|
|
3493
|
+
fixed: "fixed";
|
|
3300
3494
|
}>;
|
|
3301
3495
|
amount: z.ZodNumber;
|
|
3302
3496
|
}, z.core.$strip>>;
|
|
@@ -3413,6 +3607,10 @@ declare const BAD_REQUEST: {
|
|
|
3413
3607
|
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3414
3608
|
}, z.core.$strip>>;
|
|
3415
3609
|
};
|
|
3610
|
+
declare const INVALID_WALLET_ADDRESS: {
|
|
3611
|
+
status: number;
|
|
3612
|
+
message: string;
|
|
3613
|
+
};
|
|
3416
3614
|
/** Rate limit exceeded error */
|
|
3417
3615
|
declare const RATE_LIMITED: {
|
|
3418
3616
|
readonly status: 429;
|
|
@@ -3452,4 +3650,4 @@ declare const SIMULATION_FAILED: {
|
|
|
3452
3650
|
}, z.core.$strip>;
|
|
3453
3651
|
};
|
|
3454
3652
|
|
|
3455
|
-
export { type APIContract, type APIRouter, BAD_REQUEST, type BatchStatusOutput, BatchStatusOutputSchema, CONFLICT, type ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, type ClientOptions, type CreateHntAccountInput, CreateHntAccountInputSchema, type CreateHntAccountOutput, CreateHntAccountOutputSchema, type CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, type DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, type DeviceType, DeviceTypeSchema, type ErrorResponse, ErrorResponseSchema, type FullAPIContract, type GetBalancesInput, GetBalancesInputSchema, type GetByPayerAndTagInput, GetByPayerAndTagInputSchema, type GetByPayerInput, GetByPayerInputSchema, type GetHotspotsInput, GetHotspotsInputSchema, type GetInput, GetInputSchema, type GetInstructionsInput, GetInstructionsInputSchema, type GetPendingRewardsInput, GetPendingRewardsInputSchema, type GetQuoteInput, GetQuoteInputSchema, type GetSplitInput, GetSplitInputSchema, type GetTokensInput, GetTokensInputSchema, type HealthResponse, HealthResponseSchema, type Hotspot, HotspotSchema, HotspotSharesSchema, type HotspotType, HotspotTypeSchema, type HotspotsData, HotspotsDataSchema, INSUFFICIENT_FUNDS, type MockImplementation, NOT_FOUND, type OwnershipType, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, type PayerBatchSummary, PayerBatchSummarySchema, type PayerBatchesOutput, PayerBatchesOutputSchema, type PendingRewardsOutput, PendingRewardsOutputSchema, PublicKeySchema, type QuoteResponse, QuoteResponseSchema, RATE_LIMITED, type ResubmitInput, ResubmitInputSchema, type ResubmitOutput, ResubmitOutputSchema, type RewardSplitInput, RewardSplitInputSchema, SIMULATION_FAILED, type ScheduleInput, ScheduleInputSchema, type SplitResponse, SplitResponseSchema, type SplitShare, SplitShareSchema, type SubmitInput, SubmitInputSchema, type SubmitOutput, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, type Token, type TokenAccount, TokenAccountSchema, type TokenBalanceData, TokenBalanceDataSchema, type TokenListOutput, TokenListOutputSchema, TokenSchema, type TransactionBatchRequest, TransactionBatchRequestSchema, type TransactionBatchResponse, TransactionBatchResponseSchema, type TransactionData, TransactionDataSchema, type TransactionItem, TransactionItemSchema, type TransactionMetadata, TransactionMetadataSchema, type TransactionStatus, TransactionStatusSchema, type TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, type TransferInput, TransferInputSchema, type TransferOutput, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, type UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, WalletAddressSchema, type WelcomePack, type WelcomePackClaimInput, WelcomePackClaimInputSchema, type WelcomePackClaimOutput, WelcomePackClaimOutputSchema, type WelcomePackCreateInput, WelcomePackCreateInputSchema, type WelcomePackCreateOutput, WelcomePackCreateOutputSchema, type WelcomePackDeleteInput, WelcomePackDeleteInputSchema, type WelcomePackDeleteOutput, WelcomePackDeleteOutputSchema, type WelcomePackGetByAddressInput, WelcomePackGetByAddressInputSchema, type WelcomePackGetInput, WelcomePackGetInputSchema, type WelcomePackInviteInput, WelcomePackInviteInputSchema, type WelcomePackInviteOutput, WelcomePackInviteOutputSchema, type WelcomePackListInput, WelcomePackListInputSchema, type WelcomePackListOutput, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, createClient, createMockClient, fullApiContract };
|
|
3653
|
+
export { type APIContract, type APIRouter, AutomationScheduleSchema, type AutomationStatus, AutomationStatusOutputSchema, BAD_REQUEST, type BatchStatusOutput, BatchStatusOutputSchema, CONFLICT, type ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, type ClientOptions, type CloseAutomationInput, CloseAutomationInputSchema, CloseAutomationOutputSchema, type CreateHntAccountInput, CreateHntAccountInputSchema, type CreateHntAccountOutput, CreateHntAccountOutputSchema, type CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, type DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, type DeviceType, DeviceTypeSchema, type ErrorResponse, ErrorResponseSchema, type FullAPIContract, type FundAutomationInput, FundAutomationInputSchema, FundAutomationOutputSchema, type FundingEstimate, FundingEstimateOutputSchema, type GetAutomationStatusInput, GetAutomationStatusInputSchema, type GetBalancesInput, GetBalancesInputSchema, type GetByPayerAndTagInput, GetByPayerAndTagInputSchema, type GetByPayerInput, GetByPayerInputSchema, type GetFundingEstimateInput, GetFundingEstimateInputSchema, type GetHotspotsInput, GetHotspotsInputSchema, type GetInput, GetInputSchema, type GetInstructionsInput, GetInstructionsInputSchema, type GetPendingRewardsInput, GetPendingRewardsInputSchema, type GetQuoteInput, GetQuoteInputSchema, type GetSplitInput, GetSplitInputSchema, type GetTokensInput, GetTokensInputSchema, type HealthResponse, HealthResponseSchema, HeliumPublicKeySchema, type Hotspot, HotspotSchema, HotspotSharesSchema, type HotspotType, HotspotTypeSchema, type HotspotsData, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, type MockImplementation, NOT_FOUND, type OwnershipType, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, type PayerBatchSummary, PayerBatchSummarySchema, type PayerBatchesOutput, PayerBatchesOutputSchema, type PendingRewardsOutput, PendingRewardsOutputSchema, PublicKeySchema, type QuoteResponse, QuoteResponseSchema, RATE_LIMITED, ReassertLocationRequestSchema, ReassertLocationResponseSchema, type ResubmitInput, ResubmitInputSchema, type ResubmitOutput, ResubmitOutputSchema, type RewardSplitInput, RewardSplitInputSchema, SIMULATION_FAILED, type ScheduleInput, ScheduleInputSchema, type SetupAutomationInput, SetupAutomationInputSchema, SetupAutomationOutputSchema, type SplitResponse, SplitResponseSchema, type SplitShare, SplitShareSchema, type SubmitInput, SubmitInputSchema, type SubmitOutput, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, type Token, type TokenAccount, TokenAccountSchema, type TokenBalanceData, TokenBalanceDataSchema, type TokenListOutput, TokenListOutputSchema, TokenSchema, type TransactionBatchRequest, TransactionBatchRequestSchema, type TransactionBatchResponse, TransactionBatchResponseSchema, type TransactionData, TransactionDataSchema, type TransactionItem, TransactionItemSchema, type TransactionMetadata, TransactionMetadataSchema, type TransactionStatus, TransactionStatusSchema, type TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, type TransferInput, TransferInputSchema, type TransferOutput, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, type UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, WalletAddressSchema, type WelcomePack, type WelcomePackClaimInput, WelcomePackClaimInputSchema, type WelcomePackClaimOutput, WelcomePackClaimOutputSchema, type WelcomePackCreateInput, WelcomePackCreateInputSchema, type WelcomePackCreateOutput, WelcomePackCreateOutputSchema, type WelcomePackDeleteInput, WelcomePackDeleteInputSchema, type WelcomePackDeleteOutput, WelcomePackDeleteOutputSchema, type WelcomePackGetByAddressInput, WelcomePackGetByAddressInputSchema, type WelcomePackGetInput, WelcomePackGetInputSchema, type WelcomePackInviteInput, WelcomePackInviteInputSchema, type WelcomePackInviteOutput, WelcomePackInviteOutputSchema, type WelcomePackListInput, WelcomePackListInputSchema, type WelcomePackListOutput, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, createClient, createMockClient, fullApiContract };
|