@helium/blockchain-api 0.2.0 → 0.2.1

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.
Files changed (4) hide show
  1. package/README.md +4 -15
  2. package/dist/index.d.ts +2239 -1166
  3. package/dist/index.js +324 -371
  4. package/package.json +5 -13
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as zod from 'zod';
2
2
  import { z } from 'zod';
3
3
  import * as zod_v4_core from 'zod/v4/core';
4
+ import * as _orpc_contract from '@orpc/contract';
4
5
 
5
6
  /**
6
7
  * Client configuration options.
@@ -13,134 +14,775 @@ interface ClientOptions {
13
14
  }
14
15
 
15
16
  /**
16
- * Complete API contract definition.
17
+ * Public API contract definition (for external consumers).
17
18
  * Defines all routes, inputs, outputs, and errors for the Helium Blockchain API.
18
19
  */
19
20
  declare const apiContract: {
20
- readonly health: {
21
- readonly check: {
22
- readonly route: {
23
- readonly method: "GET";
24
- readonly path: "/health";
25
- };
26
- readonly output: zod.ZodObject<{
27
- ok: zod.ZodBoolean;
28
- error: zod.ZodOptional<zod.ZodString>;
29
- }, zod_v4_core.$strip>;
30
- };
21
+ health: {
22
+ check: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, zod.ZodObject<{
23
+ ok: zod.ZodBoolean;
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>>;
31
31
  };
32
- readonly tokens: {
33
- readonly getBalances: {
34
- readonly route: {
35
- readonly method: "GET";
36
- readonly path: "/tokens/{walletAddress}";
37
- };
38
- readonly input: zod.ZodObject<{
39
- walletAddress: zod.ZodString;
32
+ tokens: {
33
+ getBalances: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
34
+ walletAddress: zod.ZodString;
35
+ }, zod_v4_core.$strip>, zod.ZodObject<{
36
+ totalBalanceUsd: zod.ZodNumber;
37
+ solBalance: zod.ZodNumber;
38
+ solBalanceUsd: zod.ZodNumber;
39
+ tokens: zod.ZodArray<zod.ZodObject<{
40
+ mint: zod.ZodString;
41
+ address: zod.ZodString;
42
+ balance: zod.ZodString;
43
+ decimals: zod.ZodNumber;
44
+ uiAmount: zod.ZodNumber;
45
+ symbol: zod.ZodOptional<zod.ZodString>;
46
+ name: zod.ZodOptional<zod.ZodString>;
47
+ logoURI: zod.ZodOptional<zod.ZodString>;
48
+ priceUsd: zod.ZodOptional<zod.ZodNumber>;
49
+ balanceUsd: zod.ZodOptional<zod.ZodNumber>;
50
+ }, zod_v4_core.$strip>>;
51
+ }, zod_v4_core.$strip>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
52
+ INVALID_WALLET_ADDRESS: {
53
+ message: string;
54
+ status: number;
55
+ };
56
+ }>, never>, Record<never, never>>;
57
+ transfer: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
58
+ walletAddress: zod.ZodString;
59
+ mint: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
60
+ destination: zod.ZodString;
61
+ amount: zod.ZodString;
62
+ decimals: zod.ZodOptional<zod.ZodNumber>;
63
+ }, zod_v4_core.$strip>, zod.ZodObject<{
64
+ transactionData: zod.ZodObject<{
65
+ transactions: zod.ZodArray<zod.ZodObject<{
66
+ serializedTransaction: zod.ZodString;
67
+ metadata: zod.ZodOptional<zod.ZodObject<{
68
+ type: zod.ZodString;
69
+ description: zod.ZodString;
70
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
71
+ }, zod_v4_core.$strip>>;
72
+ parallel: zod.ZodBoolean;
73
+ tag: zod.ZodOptional<zod.ZodString>;
40
74
  }, zod_v4_core.$strip>;
41
- readonly output: zod.ZodObject<{
42
- totalBalanceUsd: zod.ZodNumber;
43
- solBalance: zod.ZodNumber;
44
- solBalanceUsd: zod.ZodNumber;
45
- tokens: zod.ZodArray<zod.ZodObject<{
46
- mint: zod.ZodString;
47
- address: zod.ZodString;
48
- balance: zod.ZodString;
49
- decimals: zod.ZodNumber;
50
- uiAmount: zod.ZodNumber;
51
- symbol: zod.ZodOptional<zod.ZodString>;
52
- name: zod.ZodOptional<zod.ZodString>;
53
- logoURI: zod.ZodOptional<zod.ZodString>;
54
- priceUsd: zod.ZodOptional<zod.ZodNumber>;
55
- balanceUsd: zod.ZodOptional<zod.ZodNumber>;
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
+ }>, {
81
+ BAD_REQUEST: {
82
+ readonly status: 400;
83
+ readonly message: "Invalid input data provided.";
84
+ readonly data: zod.ZodOptional<zod.ZodObject<{
85
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
86
+ }, zod_v4_core.$strip>>;
87
+ };
88
+ INSUFFICIENT_FUNDS: {
89
+ readonly status: 400;
90
+ readonly message: "Insufficient SOL balance to complete this transaction.";
91
+ readonly data: zod.ZodObject<{
92
+ required: zod.ZodNumber;
93
+ available: zod.ZodNumber;
94
+ }, zod_v4_core.$strip>;
95
+ };
96
+ }>, Record<never, never>>;
97
+ createHntAccount: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
98
+ walletAddress: zod.ZodString;
99
+ }, zod_v4_core.$strip>, zod.ZodObject<{
100
+ transactionData: zod.ZodObject<{
101
+ transactions: zod.ZodArray<zod.ZodObject<{
102
+ serializedTransaction: zod.ZodString;
103
+ metadata: zod.ZodOptional<zod.ZodObject<{
104
+ type: zod.ZodString;
105
+ description: zod.ZodString;
106
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
56
107
  }, zod_v4_core.$strip>>;
108
+ parallel: zod.ZodBoolean;
109
+ tag: zod.ZodOptional<zod.ZodString>;
57
110
  }, zod_v4_core.$strip>;
58
- readonly errors: {
59
- readonly BAD_REQUEST: {
60
- readonly message: "Wallet address is required";
61
- };
62
- };
63
- };
64
- readonly transfer: {
65
- readonly route: {
66
- readonly method: "POST";
67
- readonly path: "/tokens/transfer";
68
- };
69
- readonly input: zod.ZodObject<{
70
- walletAddress: zod.ZodString;
71
- mint: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
72
- destination: zod.ZodString;
73
- amount: zod.ZodString;
74
- decimals: zod.ZodOptional<zod.ZodNumber>;
111
+ }, zod_v4_core.$strip>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
112
+ INVALID_WALLET_ADDRESS: {
113
+ message: string;
114
+ status: number;
115
+ };
116
+ }>, never>, Record<never, never>>;
117
+ };
118
+ hotspots: {
119
+ getHotspots: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
120
+ walletAddress: zod.ZodString;
121
+ type: zod.ZodOptional<zod.ZodEnum<{
122
+ iot: "iot";
123
+ mobile: "mobile";
124
+ all: "all";
125
+ }>>;
126
+ page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
127
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
128
+ }, zod_v4_core.$strip>, zod.ZodObject<{
129
+ hotspots: zod.ZodArray<zod.ZodObject<{
130
+ address: zod.ZodString;
131
+ entityKey: zod.ZodString;
132
+ name: zod.ZodString;
133
+ type: zod.ZodEnum<{
134
+ iot: "iot";
135
+ mobile: "mobile";
136
+ all: "all";
137
+ }>;
138
+ deviceType: zod.ZodEnum<{
139
+ "iot-gateway": "iot-gateway";
140
+ wifiIndoor: "wifiIndoor";
141
+ wifiOutdoor: "wifiOutdoor";
142
+ wifiDataOnly: "wifiDataOnly";
143
+ cbrs: "cbrs";
144
+ }>;
145
+ city: zod.ZodOptional<zod.ZodString>;
146
+ state: zod.ZodOptional<zod.ZodString>;
147
+ country: zod.ZodOptional<zod.ZodString>;
148
+ asset: zod.ZodString;
149
+ isOnline: zod.ZodOptional<zod.ZodBoolean>;
150
+ owner: zod.ZodOptional<zod.ZodString>;
151
+ shares: zod.ZodOptional<zod.ZodObject<{
152
+ fixed: zod.ZodOptional<zod.ZodString>;
153
+ percentage: zod.ZodOptional<zod.ZodNumber>;
154
+ }, zod_v4_core.$strip>>;
155
+ ownershipType: zod.ZodString;
156
+ }, zod_v4_core.$strip>>;
157
+ total: zod.ZodNumber;
158
+ page: zod.ZodNumber;
159
+ totalPages: zod.ZodNumber;
160
+ }, zod_v4_core.$strip>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
161
+ INVALID_WALLET_ADDRESS: {
162
+ message: string;
163
+ status: number;
164
+ };
165
+ }>, never>, Record<never, never>>;
166
+ claimRewards: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
167
+ walletAddress: zod.ZodString;
168
+ }, zod_v4_core.$strip>, zod.ZodObject<{
169
+ transactionData: zod.ZodObject<{
170
+ transactions: zod.ZodArray<zod.ZodObject<{
171
+ serializedTransaction: zod.ZodString;
172
+ metadata: zod.ZodOptional<zod.ZodObject<{
173
+ type: zod.ZodString;
174
+ description: zod.ZodString;
175
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
176
+ }, zod_v4_core.$strip>>;
177
+ parallel: zod.ZodBoolean;
178
+ tag: zod.ZodOptional<zod.ZodString>;
75
179
  }, zod_v4_core.$strip>;
76
- readonly output: zod.ZodObject<{
77
- transactionData: zod.ZodObject<{
78
- transactions: zod.ZodArray<zod.ZodObject<{
79
- serializedTransaction: zod.ZodString;
80
- metadata: zod.ZodOptional<zod.ZodObject<{
81
- type: zod.ZodString;
82
- description: zod.ZodString;
83
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
84
- }, zod_v4_core.$strip>>;
85
- parallel: zod.ZodBoolean;
86
- tag: zod.ZodOptional<zod.ZodString>;
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
+ }>, {
186
+ INSUFFICIENT_FUNDS: {
187
+ readonly status: 400;
188
+ readonly message: "Insufficient SOL balance to complete this transaction.";
189
+ readonly data: zod.ZodObject<{
190
+ required: zod.ZodNumber;
191
+ available: zod.ZodNumber;
87
192
  }, zod_v4_core.$strip>;
193
+ };
194
+ }>, Record<never, never>>;
195
+ getPendingRewards: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
196
+ walletAddress: zod.ZodString;
197
+ }, zod_v4_core.$strip>, zod.ZodObject<{
198
+ pending: zod.ZodString;
199
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
200
+ INVALID_WALLET_ADDRESS: {
201
+ message: string;
202
+ status: number;
203
+ };
204
+ }>, {
205
+ BAD_REQUEST: {
206
+ message: string;
207
+ status: number;
208
+ };
209
+ }>, Record<never, never>>;
210
+ transferHotspot: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
211
+ walletAddress: zod.ZodString;
212
+ hotspotPubkey: zod.ZodString;
213
+ recipient: zod.ZodString;
214
+ }, zod_v4_core.$strip>, zod.ZodObject<{
215
+ transactionData: zod.ZodObject<{
216
+ transactions: zod.ZodArray<zod.ZodObject<{
217
+ serializedTransaction: zod.ZodString;
218
+ metadata: zod.ZodOptional<zod.ZodObject<{
219
+ type: zod.ZodString;
220
+ description: zod.ZodString;
221
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
222
+ }, zod_v4_core.$strip>>;
223
+ parallel: zod.ZodBoolean;
224
+ tag: zod.ZodOptional<zod.ZodString>;
88
225
  }, zod_v4_core.$strip>;
89
- readonly errors: {
90
- readonly BAD_REQUEST: {
91
- readonly message: "Invalid transfer parameters";
92
- };
93
- readonly INSUFFICIENT_FUNDS: {
94
- readonly message: "Insufficient balance for transfer";
95
- };
96
- };
97
- };
98
- readonly createHntAccount: {
99
- readonly route: {
100
- readonly method: "POST";
101
- readonly path: "/tokens/hnt-account";
102
- };
103
- readonly input: zod.ZodObject<{
104
- walletAddress: zod.ZodString;
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
+ }>, {
232
+ UNAUTHORIZED: {
233
+ readonly status: 403;
234
+ readonly message: "You do not have permission to access this resource.";
235
+ };
236
+ NOT_FOUND: {
237
+ readonly status: 404;
238
+ readonly message: "The requested resource was not found.";
239
+ };
240
+ BAD_REQUEST: {
241
+ message: string;
242
+ status: number;
243
+ };
244
+ }>, Record<never, never>>;
245
+ updateRewardsDestination: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
246
+ walletAddress: zod.ZodString;
247
+ hotspotPubkey: zod.ZodString;
248
+ destination: zod.ZodString;
249
+ lazyDistributors: zod.ZodArray<zod.ZodString>;
250
+ }, zod_v4_core.$strip>, zod.ZodObject<{
251
+ transactionData: zod.ZodObject<{
252
+ transactions: zod.ZodArray<zod.ZodObject<{
253
+ serializedTransaction: zod.ZodString;
254
+ metadata: zod.ZodOptional<zod.ZodObject<{
255
+ type: zod.ZodString;
256
+ description: zod.ZodString;
257
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
258
+ }, zod_v4_core.$strip>>;
259
+ parallel: zod.ZodBoolean;
260
+ tag: zod.ZodOptional<zod.ZodString>;
105
261
  }, zod_v4_core.$strip>;
106
- readonly output: zod.ZodObject<{
107
- transactionData: zod.ZodObject<{
108
- transactions: zod.ZodArray<zod.ZodObject<{
109
- serializedTransaction: zod.ZodString;
110
- metadata: zod.ZodOptional<zod.ZodObject<{
111
- type: zod.ZodString;
112
- description: zod.ZodString;
113
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
114
- }, zod_v4_core.$strip>>;
115
- parallel: zod.ZodBoolean;
116
- tag: zod.ZodOptional<zod.ZodString>;
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
+ }>, {
268
+ BAD_REQUEST: {
269
+ message: string;
270
+ status: number;
271
+ };
272
+ NOT_FOUND: {
273
+ readonly status: 404;
274
+ readonly message: "The requested resource was not found.";
275
+ };
276
+ }>, Record<never, never>>;
277
+ getSplit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
278
+ walletAddress: zod.ZodString;
279
+ hotspotPubkey: zod.ZodString;
280
+ }, zod_v4_core.$strip>, zod.ZodObject<{
281
+ walletAddress: zod.ZodString;
282
+ hotspotPubkey: zod.ZodString;
283
+ splitAddress: zod.ZodString;
284
+ shares: zod.ZodArray<zod.ZodObject<{
285
+ wallet: zod.ZodString;
286
+ delegate: zod.ZodString;
287
+ fixed: zod.ZodNumber;
288
+ shares: zod.ZodNumber;
289
+ }, zod_v4_core.$strip>>;
290
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
291
+ INVALID_WALLET_ADDRESS: {
292
+ message: string;
293
+ status: number;
294
+ };
295
+ }>, {
296
+ NOT_FOUND: {
297
+ message: string;
298
+ status: number;
299
+ };
300
+ }>, Record<never, never>>;
301
+ createSplit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
302
+ walletAddress: zod.ZodString;
303
+ hotspotPubkey: zod.ZodString;
304
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
305
+ address: zod.ZodString;
306
+ type: zod.ZodEnum<{
307
+ fixed: "fixed";
308
+ percentage: "percentage";
309
+ }>;
310
+ amount: zod.ZodNumber;
311
+ }, zod_v4_core.$strip>>;
312
+ schedule: zod.ZodObject<{
313
+ frequency: zod.ZodEnum<{
314
+ daily: "daily";
315
+ weekly: "weekly";
316
+ monthly: "monthly";
317
+ }>;
318
+ time: zod.ZodString;
319
+ timezone: zod.ZodString;
320
+ dayOfWeek: zod.ZodOptional<zod.ZodString>;
321
+ dayOfMonth: zod.ZodOptional<zod.ZodString>;
322
+ }, zod_v4_core.$strip>;
323
+ lazyDistributor: zod.ZodString;
324
+ }, zod_v4_core.$strip>, zod.ZodObject<{
325
+ transactionData: zod.ZodObject<{
326
+ transactions: zod.ZodArray<zod.ZodObject<{
327
+ serializedTransaction: zod.ZodString;
328
+ metadata: zod.ZodOptional<zod.ZodObject<{
329
+ type: zod.ZodString;
330
+ description: zod.ZodString;
331
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
332
+ }, zod_v4_core.$strip>>;
333
+ parallel: zod.ZodBoolean;
334
+ tag: zod.ZodOptional<zod.ZodString>;
335
+ }, 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
+ }>, {
342
+ NOT_FOUND: {
343
+ readonly status: 404;
344
+ readonly message: "The requested resource was not found.";
345
+ };
346
+ BAD_REQUEST: {
347
+ message: string;
348
+ status: number;
349
+ };
350
+ INSUFFICIENT_FUNDS: {
351
+ readonly status: 400;
352
+ readonly message: "Insufficient SOL balance to complete this transaction.";
353
+ readonly data: zod.ZodObject<{
354
+ required: zod.ZodNumber;
355
+ available: zod.ZodNumber;
117
356
  }, zod_v4_core.$strip>;
357
+ };
358
+ }>, Record<never, never>>;
359
+ deleteSplit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
360
+ walletAddress: zod.ZodString;
361
+ hotspotPubkey: zod.ZodString;
362
+ }, zod_v4_core.$strip>, zod.ZodObject<{
363
+ transactionData: zod.ZodObject<{
364
+ transactions: zod.ZodArray<zod.ZodObject<{
365
+ serializedTransaction: zod.ZodString;
366
+ metadata: zod.ZodOptional<zod.ZodObject<{
367
+ type: zod.ZodString;
368
+ description: zod.ZodString;
369
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
370
+ }, zod_v4_core.$strip>>;
371
+ parallel: zod.ZodBoolean;
372
+ tag: zod.ZodOptional<zod.ZodString>;
118
373
  }, zod_v4_core.$strip>;
119
- readonly errors: {
120
- readonly BAD_REQUEST: {
121
- readonly message: "Invalid wallet address";
122
- };
374
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
375
+ INVALID_WALLET_ADDRESS: {
376
+ message: string;
377
+ status: number;
378
+ };
379
+ }>, {
380
+ NOT_FOUND: {
381
+ readonly status: 404;
382
+ readonly message: "The requested resource was not found.";
383
+ };
384
+ }>, Record<never, never>>;
385
+ };
386
+ swap: {
387
+ getTokens: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
388
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
389
+ }, zod_v4_core.$strip>, zod.ZodObject<{
390
+ tokens: zod.ZodArray<zod.ZodObject<{
391
+ address: zod.ZodString;
392
+ symbol: zod.ZodString;
393
+ name: zod.ZodString;
394
+ decimals: zod.ZodNumber;
395
+ logoURI: zod.ZodOptional<zod.ZodString>;
396
+ tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
397
+ }, 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
+ }>, {
404
+ JUPITER_ERROR: {
405
+ message: string;
406
+ };
407
+ }>, Record<never, never>>;
408
+ getQuote: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
409
+ inputMint: zod.ZodString;
410
+ outputMint: zod.ZodString;
411
+ amount: zod.ZodString;
412
+ swapMode: zod.ZodDefault<zod.ZodEnum<{
413
+ ExactIn: "ExactIn";
414
+ ExactOut: "ExactOut";
415
+ }>>;
416
+ slippageBps: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
417
+ }, zod_v4_core.$strip>, zod.ZodObject<{
418
+ inputMint: zod.ZodString;
419
+ inAmount: zod.ZodString;
420
+ outputMint: zod.ZodString;
421
+ outAmount: zod.ZodString;
422
+ otherAmountThreshold: zod.ZodString;
423
+ swapMode: zod.ZodString;
424
+ slippageBps: zod.ZodNumber;
425
+ platformFee: zod.ZodOptional<zod.ZodUnknown>;
426
+ priceImpactPct: zod.ZodString;
427
+ routePlan: zod.ZodArray<zod.ZodUnknown>;
428
+ contextSlot: zod.ZodOptional<zod.ZodNumber>;
429
+ 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
+ }>, {
436
+ BAD_REQUEST: {
437
+ message: string;
438
+ status: number;
123
439
  };
124
- };
440
+ JUPITER_ERROR: {
441
+ message: string;
442
+ };
443
+ }>, Record<never, never>>;
444
+ getInstructions: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
445
+ quoteResponse: zod.ZodObject<{
446
+ inputMint: zod.ZodString;
447
+ inAmount: zod.ZodString;
448
+ outputMint: zod.ZodString;
449
+ outAmount: zod.ZodString;
450
+ otherAmountThreshold: zod.ZodString;
451
+ swapMode: zod.ZodString;
452
+ slippageBps: zod.ZodNumber;
453
+ platformFee: zod.ZodOptional<zod.ZodUnknown>;
454
+ priceImpactPct: zod.ZodString;
455
+ routePlan: zod.ZodArray<zod.ZodUnknown>;
456
+ contextSlot: zod.ZodOptional<zod.ZodNumber>;
457
+ timeTaken: zod.ZodOptional<zod.ZodNumber>;
458
+ }, zod_v4_core.$loose>;
459
+ userPublicKey: zod.ZodString;
460
+ destinationTokenAccount: zod.ZodOptional<zod.ZodString>;
461
+ dynamicComputeUnitLimit: zod.ZodDefault<zod.ZodBoolean>;
462
+ prioritizationFeeLamports: zod.ZodOptional<zod.ZodObject<{
463
+ priorityLevelWithMaxLamports: zod.ZodObject<{
464
+ maxLamports: zod.ZodDefault<zod.ZodNumber>;
465
+ priorityLevel: zod.ZodDefault<zod.ZodEnum<{
466
+ low: "low";
467
+ medium: "medium";
468
+ high: "high";
469
+ }>>;
470
+ }, zod_v4_core.$strip>;
471
+ }, zod_v4_core.$strip>>;
472
+ }, zod_v4_core.$strip>, zod.ZodObject<{
473
+ transactions: zod.ZodArray<zod.ZodObject<{
474
+ serializedTransaction: zod.ZodString;
475
+ metadata: zod.ZodOptional<zod.ZodObject<{
476
+ type: zod.ZodString;
477
+ description: zod.ZodString;
478
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
479
+ }, zod_v4_core.$strip>>;
480
+ parallel: zod.ZodBoolean;
481
+ 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
+ }>, {
488
+ BAD_REQUEST: {
489
+ message: string;
490
+ status: number;
491
+ };
492
+ JUPITER_ERROR: {
493
+ message: string;
494
+ };
495
+ }>, Record<never, never>>;
125
496
  };
126
- readonly hotspots: {
127
- readonly getHotspots: {
128
- readonly route: {
129
- readonly method: "GET";
130
- readonly path: "/hotspots/wallet/{walletAddress}";
131
- };
132
- readonly input: zod.ZodObject<{
133
- walletAddress: zod.ZodString;
134
- type: zod.ZodOptional<zod.ZodEnum<{
497
+ transactions: {
498
+ submit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
499
+ transactions: zod.ZodArray<zod.ZodObject<{
500
+ serializedTransaction: zod.ZodString;
501
+ metadata: zod.ZodOptional<zod.ZodObject<{
502
+ type: zod.ZodString;
503
+ description: zod.ZodString;
504
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
505
+ }, zod_v4_core.$strip>>;
506
+ parallel: zod.ZodBoolean;
507
+ tag: zod.ZodOptional<zod.ZodString>;
508
+ }, zod_v4_core.$strip>, zod.ZodObject<{
509
+ batchId: zod.ZodString;
510
+ 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
+ }>, {
517
+ BAD_REQUEST: {
518
+ readonly status: 400;
519
+ readonly message: "Invalid input data provided.";
520
+ readonly data: zod.ZodOptional<zod.ZodObject<{
521
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
522
+ }, zod_v4_core.$strip>>;
523
+ };
524
+ CONFLICT: {
525
+ readonly status: 409;
526
+ readonly message: "A resource with this identifier already exists.";
527
+ };
528
+ SIMULATION_FAILED: {
529
+ readonly status: 400;
530
+ readonly message: "Transaction simulation failed.";
531
+ readonly data: zod.ZodObject<{
532
+ logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
533
+ link: zod.ZodOptional<zod.ZodString>;
534
+ }, zod_v4_core.$strip>;
535
+ };
536
+ }>, Record<never, never>>;
537
+ get: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
538
+ id: zod.ZodString;
539
+ commitment: zod.ZodEnum<{
540
+ confirmed: "confirmed";
541
+ finalized: "finalized";
542
+ }>;
543
+ }, zod_v4_core.$strip>, zod.ZodObject<{
544
+ batchId: zod.ZodString;
545
+ status: zod.ZodUnion<readonly [zod.ZodLiteral<"pending">, zod.ZodLiteral<"confirmed">, zod.ZodLiteral<"failed">, zod.ZodLiteral<"expired">, zod.ZodLiteral<"partial">]>;
546
+ submissionType: zod.ZodUnion<readonly [zod.ZodLiteral<"single">, zod.ZodLiteral<"parallel">, zod.ZodLiteral<"sequential">, zod.ZodLiteral<"jito_bundle">]>;
547
+ parallel: zod.ZodBoolean;
548
+ transactions: zod.ZodArray<zod.ZodObject<{
549
+ signature: zod.ZodString;
550
+ status: zod.ZodUnion<readonly [zod.ZodLiteral<"pending">, zod.ZodLiteral<"confirmed">, zod.ZodLiteral<"failed">, zod.ZodLiteral<"expired">, zod.ZodLiteral<"partial">]>;
551
+ transaction: zod.ZodOptional<zod.ZodUnknown>;
552
+ }, zod_v4_core.$strip>>;
553
+ jitoBundleId: zod.ZodNullable<zod.ZodOptional<zod.ZodString>>;
554
+ 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
+ }>, {
561
+ NOT_FOUND: {
562
+ readonly status: 404;
563
+ readonly message: "The requested resource was not found.";
564
+ };
565
+ }>, Record<never, never>>;
566
+ resubmit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
567
+ id: zod.ZodString;
568
+ }, zod_v4_core.$strip>, zod.ZodObject<{
569
+ success: zod.ZodBoolean;
570
+ message: zod.ZodString;
571
+ error: zod.ZodOptional<zod.ZodString>;
572
+ 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
+ }>, {
579
+ NOT_FOUND: {
580
+ readonly status: 404;
581
+ readonly message: "The requested resource was not found.";
582
+ };
583
+ BAD_REQUEST: {
584
+ readonly status: 400;
585
+ readonly message: "Invalid input data provided.";
586
+ readonly data: zod.ZodOptional<zod.ZodObject<{
587
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
588
+ }, zod_v4_core.$strip>>;
589
+ };
590
+ }>, Record<never, never>>;
591
+ getByPayer: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
592
+ payer: zod.ZodString;
593
+ page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
594
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
595
+ status: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
596
+ }, zod_v4_core.$strip>, zod.ZodObject<{
597
+ payer: zod.ZodString;
598
+ batches: zod.ZodArray<zod.ZodObject<{
599
+ batchId: zod.ZodString;
600
+ tag: zod.ZodOptional<zod.ZodString>;
601
+ status: zod.ZodString;
602
+ submissionType: zod.ZodString;
603
+ parallel: zod.ZodBoolean;
604
+ createdAt: zod.ZodString;
605
+ updatedAt: zod.ZodString;
606
+ transactions: zod.ZodArray<zod.ZodObject<{
607
+ metadata: zod.ZodOptional<zod.ZodObject<{
608
+ type: zod.ZodString;
609
+ description: zod.ZodString;
610
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
611
+ }, zod_v4_core.$strip>>;
612
+ }, zod_v4_core.$strip>>;
613
+ pagination: zod.ZodObject<{
614
+ page: zod.ZodNumber;
615
+ limit: zod.ZodNumber;
616
+ total: zod.ZodNumber;
617
+ totalPages: zod.ZodNumber;
618
+ }, 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
+ }>, {
625
+ BAD_REQUEST: {
626
+ readonly status: 400;
627
+ readonly message: "Invalid input data provided.";
628
+ readonly data: zod.ZodOptional<zod.ZodObject<{
629
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
630
+ }, zod_v4_core.$strip>>;
631
+ };
632
+ }>, Record<never, never>>;
633
+ getByPayerAndTag: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
634
+ payer: zod.ZodString;
635
+ tag: zod.ZodString;
636
+ page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
637
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
638
+ status: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
639
+ }, zod_v4_core.$strip>, zod.ZodObject<{
640
+ payer: zod.ZodString;
641
+ batches: zod.ZodArray<zod.ZodObject<{
642
+ batchId: zod.ZodString;
643
+ tag: zod.ZodOptional<zod.ZodString>;
644
+ status: zod.ZodString;
645
+ submissionType: zod.ZodString;
646
+ parallel: zod.ZodBoolean;
647
+ createdAt: zod.ZodString;
648
+ updatedAt: zod.ZodString;
649
+ transactions: zod.ZodArray<zod.ZodObject<{
650
+ metadata: zod.ZodOptional<zod.ZodObject<{
651
+ type: zod.ZodString;
652
+ description: zod.ZodString;
653
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
654
+ }, zod_v4_core.$strip>>;
655
+ }, zod_v4_core.$strip>>;
656
+ pagination: zod.ZodObject<{
657
+ page: zod.ZodNumber;
658
+ limit: zod.ZodNumber;
659
+ total: zod.ZodNumber;
660
+ totalPages: zod.ZodNumber;
661
+ }, 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
+ }>, {
668
+ BAD_REQUEST: {
669
+ readonly status: 400;
670
+ readonly message: "Invalid input data provided.";
671
+ readonly data: zod.ZodOptional<zod.ZodObject<{
672
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
673
+ }, zod_v4_core.$strip>>;
674
+ };
675
+ }>, Record<never, never>>;
676
+ };
677
+ welcomePacks: {
678
+ list: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
679
+ walletAddress: zod.ZodString;
680
+ }, zod_v4_core.$strip>, zod.ZodArray<zod.ZodObject<{
681
+ address: zod.ZodString;
682
+ id: zod.ZodNumber;
683
+ owner: zod.ZodString;
684
+ asset: zod.ZodString;
685
+ lazyDistributor: zod.ZodString;
686
+ rewardsMint: zod.ZodString;
687
+ rentRefund: zod.ZodString;
688
+ solAmount: zod.ZodString;
689
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
690
+ address: zod.ZodString;
691
+ type: zod.ZodEnum<{
692
+ fixed: "fixed";
693
+ percentage: "percentage";
694
+ }>;
695
+ amount: zod.ZodNumber;
696
+ }, zod_v4_core.$strip>>;
697
+ rewardsSchedule: zod.ZodString;
698
+ assetReturnAddress: zod.ZodString;
699
+ bumpSeed: zod.ZodNumber;
700
+ uniqueId: zod.ZodString;
701
+ loading: zod.ZodOptional<zod.ZodBoolean>;
702
+ hotspot: zod.ZodNullable<zod.ZodObject<{
703
+ address: zod.ZodString;
704
+ entityKey: zod.ZodString;
705
+ name: zod.ZodString;
706
+ type: zod.ZodEnum<{
135
707
  iot: "iot";
136
708
  mobile: "mobile";
137
709
  all: "all";
138
- }>>;
139
- page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
140
- limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
710
+ }>;
711
+ deviceType: zod.ZodEnum<{
712
+ "iot-gateway": "iot-gateway";
713
+ wifiIndoor: "wifiIndoor";
714
+ wifiOutdoor: "wifiOutdoor";
715
+ wifiDataOnly: "wifiDataOnly";
716
+ cbrs: "cbrs";
717
+ }>;
718
+ city: zod.ZodOptional<zod.ZodString>;
719
+ state: zod.ZodOptional<zod.ZodString>;
720
+ country: zod.ZodOptional<zod.ZodString>;
721
+ asset: zod.ZodString;
722
+ isOnline: zod.ZodOptional<zod.ZodBoolean>;
723
+ owner: zod.ZodOptional<zod.ZodString>;
724
+ shares: zod.ZodOptional<zod.ZodObject<{
725
+ fixed: zod.ZodOptional<zod.ZodString>;
726
+ percentage: zod.ZodOptional<zod.ZodNumber>;
727
+ }, zod_v4_core.$strip>>;
728
+ ownershipType: zod.ZodString;
729
+ }, zod_v4_core.$strip>>;
730
+ }, zod_v4_core.$strip>>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
731
+ INVALID_WALLET_ADDRESS: {
732
+ message: string;
733
+ status: number;
734
+ };
735
+ }>, never>, Record<never, never>>;
736
+ create: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
737
+ walletAddress: zod.ZodString;
738
+ assetId: zod.ZodString;
739
+ solAmount: zod.ZodNumber;
740
+ rentRefund: zod.ZodString;
741
+ assetReturnAddress: zod.ZodString;
742
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
743
+ address: zod.ZodString;
744
+ type: zod.ZodEnum<{
745
+ fixed: "fixed";
746
+ percentage: "percentage";
747
+ }>;
748
+ amount: zod.ZodNumber;
749
+ }, zod_v4_core.$strip>>;
750
+ schedule: zod.ZodObject<{
751
+ frequency: zod.ZodEnum<{
752
+ daily: "daily";
753
+ weekly: "weekly";
754
+ monthly: "monthly";
755
+ }>;
756
+ time: zod.ZodString;
757
+ timezone: zod.ZodString;
758
+ dayOfWeek: zod.ZodOptional<zod.ZodString>;
759
+ dayOfMonth: zod.ZodOptional<zod.ZodString>;
141
760
  }, zod_v4_core.$strip>;
142
- readonly output: zod.ZodObject<{
143
- hotspots: zod.ZodArray<zod.ZodObject<{
761
+ lazyDistributor: zod.ZodString;
762
+ }, zod_v4_core.$strip>, zod.ZodObject<{
763
+ welcomePack: zod.ZodObject<{
764
+ address: zod.ZodString;
765
+ id: zod.ZodNumber;
766
+ owner: zod.ZodString;
767
+ asset: zod.ZodString;
768
+ lazyDistributor: zod.ZodString;
769
+ rewardsMint: zod.ZodString;
770
+ rentRefund: zod.ZodString;
771
+ solAmount: zod.ZodString;
772
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
773
+ address: zod.ZodString;
774
+ type: zod.ZodEnum<{
775
+ fixed: "fixed";
776
+ percentage: "percentage";
777
+ }>;
778
+ amount: zod.ZodNumber;
779
+ }, zod_v4_core.$strip>>;
780
+ rewardsSchedule: zod.ZodString;
781
+ assetReturnAddress: zod.ZodString;
782
+ bumpSeed: zod.ZodNumber;
783
+ uniqueId: zod.ZodString;
784
+ loading: zod.ZodOptional<zod.ZodBoolean>;
785
+ hotspot: zod.ZodNullable<zod.ZodObject<{
144
786
  address: zod.ZodString;
145
787
  entityKey: zod.ZodString;
146
788
  name: zod.ZodString;
@@ -168,323 +810,467 @@ declare const apiContract: {
168
810
  }, zod_v4_core.$strip>>;
169
811
  ownershipType: zod.ZodString;
170
812
  }, zod_v4_core.$strip>>;
171
- total: zod.ZodNumber;
172
- page: zod.ZodNumber;
173
- totalPages: zod.ZodNumber;
174
- }, zod_v4_core.$strip>;
175
- readonly errors: {
176
- readonly BAD_REQUEST: {
177
- readonly message: "Invalid wallet address";
178
- };
179
- };
180
- };
181
- readonly claimRewards: {
182
- readonly route: {
183
- readonly method: "POST";
184
- readonly path: "/hotspots/claim-rewards";
185
- };
186
- readonly input: zod.ZodObject<{
187
- walletAddress: zod.ZodString;
188
- }, zod_v4_core.$strip>;
189
- readonly output: zod.ZodObject<{
190
- transactionData: zod.ZodObject<{
191
- transactions: zod.ZodArray<zod.ZodObject<{
192
- serializedTransaction: zod.ZodString;
193
- metadata: zod.ZodOptional<zod.ZodObject<{
194
- type: zod.ZodString;
195
- description: zod.ZodString;
196
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
197
- }, zod_v4_core.$strip>>;
198
- parallel: zod.ZodBoolean;
199
- tag: zod.ZodOptional<zod.ZodString>;
200
- }, zod_v4_core.$strip>;
201
- }, zod_v4_core.$strip>;
202
- readonly errors: {
203
- readonly BAD_REQUEST: {
204
- readonly message: "Invalid wallet address";
205
- };
206
- readonly NO_REWARDS: {
207
- readonly message: "No rewards to claim";
208
- };
209
- };
210
- };
211
- readonly getPendingRewards: {
212
- readonly route: {
213
- readonly method: "GET";
214
- readonly path: "/hotspots/pending-rewards/{walletAddress}";
215
- };
216
- readonly input: zod.ZodObject<{
217
- walletAddress: zod.ZodString;
218
- }, zod_v4_core.$strip>;
219
- readonly output: zod.ZodObject<{
220
- pending: zod.ZodString;
221
- }, zod_v4_core.$strip>;
222
- readonly errors: {
223
- readonly BAD_REQUEST: {
224
- readonly message: "Invalid wallet address";
225
- };
226
- };
227
- };
228
- readonly transferHotspot: {
229
- readonly route: {
230
- readonly method: "POST";
231
- readonly path: "/hotspots/transfer";
232
- };
233
- readonly input: zod.ZodObject<{
234
- walletAddress: zod.ZodString;
235
- hotspotPubkey: zod.ZodString;
236
- recipient: zod.ZodString;
237
- }, zod_v4_core.$strip>;
238
- readonly output: zod.ZodObject<{
239
- transactionData: zod.ZodObject<{
240
- transactions: zod.ZodArray<zod.ZodObject<{
241
- serializedTransaction: zod.ZodString;
242
- metadata: zod.ZodOptional<zod.ZodObject<{
243
- type: zod.ZodString;
244
- description: zod.ZodString;
245
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
246
- }, zod_v4_core.$strip>>;
247
- parallel: zod.ZodBoolean;
248
- tag: zod.ZodOptional<zod.ZodString>;
249
- }, zod_v4_core.$strip>;
250
- }, zod_v4_core.$strip>;
251
- readonly errors: {
252
- readonly BAD_REQUEST: {
253
- readonly message: "Invalid transfer parameters";
254
- };
255
- readonly NOT_OWNER: {
256
- readonly status: 403;
257
- readonly message: "You do not own this asset.";
258
- readonly data: zod.ZodObject<{
259
- owner: zod.ZodString;
260
- wallet: zod.ZodString;
261
- }, zod_v4_core.$strip>;
262
- };
263
- readonly INVALID_HOTSPOT: {
264
- readonly status: 400;
265
- readonly message: "The specified asset is not a valid Helium hotspot.";
266
- };
267
- readonly NOT_FOUND: {
268
- readonly status: 404;
269
- readonly message: "The requested resource was not found.";
270
- };
271
- };
272
- };
273
- readonly updateRewardsDestination: {
274
- readonly route: {
275
- readonly method: "POST";
276
- readonly path: "/hotspots/update-rewards-destination";
277
- };
278
- readonly input: zod.ZodObject<{
279
- walletAddress: zod.ZodString;
280
- hotspotPubkey: zod.ZodString;
281
- destination: zod.ZodString;
282
- lazyDistributors: zod.ZodArray<zod.ZodString>;
283
- }, zod_v4_core.$strip>;
284
- readonly output: zod.ZodObject<{
285
- transactionData: zod.ZodObject<{
286
- transactions: zod.ZodArray<zod.ZodObject<{
287
- serializedTransaction: zod.ZodString;
288
- metadata: zod.ZodOptional<zod.ZodObject<{
289
- type: zod.ZodString;
290
- description: zod.ZodString;
291
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
292
- }, zod_v4_core.$strip>>;
293
- parallel: zod.ZodBoolean;
294
- tag: zod.ZodOptional<zod.ZodString>;
295
- }, zod_v4_core.$strip>;
296
- }, zod_v4_core.$strip>;
297
- readonly errors: {
298
- readonly BAD_REQUEST: {
299
- readonly message: "Invalid parameters";
300
- };
301
- readonly NOT_OWNER: {
302
- readonly status: 403;
303
- readonly message: "You do not own this asset.";
304
- readonly data: zod.ZodObject<{
305
- owner: zod.ZodString;
306
- wallet: zod.ZodString;
307
- }, zod_v4_core.$strip>;
308
- };
309
- readonly INVALID_HOTSPOT: {
310
- readonly status: 400;
311
- readonly message: "The specified asset is not a valid Helium hotspot.";
312
- };
313
- readonly NOT_FOUND: {
314
- readonly status: 404;
315
- readonly message: "The requested resource was not found.";
316
- };
317
- };
318
- };
319
- readonly getSplit: {
320
- readonly route: {
321
- readonly method: "GET";
322
- readonly path: "/hotspots/split/{walletAddress}/{hotspotPubkey}";
323
- };
324
- readonly input: zod.ZodObject<{
325
- walletAddress: zod.ZodString;
326
- hotspotPubkey: zod.ZodString;
327
813
  }, zod_v4_core.$strip>;
328
- readonly output: zod.ZodObject<{
329
- walletAddress: zod.ZodString;
330
- hotspotPubkey: zod.ZodString;
331
- splitAddress: zod.ZodString;
332
- shares: zod.ZodArray<zod.ZodObject<{
333
- wallet: zod.ZodString;
334
- delegate: zod.ZodString;
335
- fixed: zod.ZodNumber;
336
- shares: zod.ZodNumber;
814
+ transactionData: zod.ZodObject<{
815
+ transactions: zod.ZodArray<zod.ZodObject<{
816
+ serializedTransaction: zod.ZodString;
817
+ metadata: zod.ZodOptional<zod.ZodObject<{
818
+ type: zod.ZodString;
819
+ description: zod.ZodString;
820
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
337
821
  }, zod_v4_core.$strip>>;
822
+ parallel: zod.ZodBoolean;
823
+ tag: zod.ZodOptional<zod.ZodString>;
338
824
  }, zod_v4_core.$strip>;
339
- readonly errors: {
340
- readonly NOT_FOUND: {
341
- readonly message: "Split not found";
342
- };
343
- };
344
- };
345
- readonly createSplit: {
346
- readonly route: {
347
- readonly method: "POST";
348
- readonly path: "/hotspots/split";
349
- };
350
- readonly input: zod.ZodObject<{
351
- walletAddress: zod.ZodString;
352
- hotspotPubkey: zod.ZodString;
353
- rewardsSplit: zod.ZodArray<zod.ZodObject<{
354
- address: zod.ZodString;
355
- type: zod.ZodEnum<{
356
- fixed: "fixed";
357
- percentage: "percentage";
358
- }>;
359
- amount: zod.ZodNumber;
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
+ }>, {
831
+ BAD_REQUEST: {
832
+ readonly status: 400;
833
+ readonly message: "Invalid input data provided.";
834
+ readonly data: zod.ZodOptional<zod.ZodObject<{
835
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
360
836
  }, zod_v4_core.$strip>>;
361
- schedule: zod.ZodObject<{
362
- frequency: zod.ZodEnum<{
363
- daily: "daily";
364
- weekly: "weekly";
365
- monthly: "monthly";
366
- }>;
367
- time: zod.ZodString;
368
- timezone: zod.ZodString;
369
- dayOfWeek: zod.ZodOptional<zod.ZodString>;
370
- dayOfMonth: zod.ZodOptional<zod.ZodString>;
371
- }, zod_v4_core.$strip>;
372
- lazyDistributor: zod.ZodString;
373
- }, zod_v4_core.$strip>;
374
- readonly output: zod.ZodObject<{
375
- transactionData: zod.ZodObject<{
376
- transactions: zod.ZodArray<zod.ZodObject<{
377
- serializedTransaction: zod.ZodString;
378
- metadata: zod.ZodOptional<zod.ZodObject<{
379
- type: zod.ZodString;
380
- description: zod.ZodString;
381
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
382
- }, zod_v4_core.$strip>>;
383
- parallel: zod.ZodBoolean;
384
- tag: zod.ZodOptional<zod.ZodString>;
385
- }, zod_v4_core.$strip>;
386
- }, zod_v4_core.$strip>;
387
- readonly errors: {
388
- readonly BAD_REQUEST: {
389
- readonly message: "Invalid split configuration";
390
- };
391
- readonly NOT_OWNER: {
392
- readonly status: 403;
393
- readonly message: "You do not own this asset.";
394
- readonly data: zod.ZodObject<{
395
- owner: zod.ZodString;
396
- wallet: zod.ZodString;
397
- }, zod_v4_core.$strip>;
398
- };
399
- readonly INVALID_HOTSPOT: {
400
- readonly status: 400;
401
- readonly message: "The specified asset is not a valid Helium hotspot.";
402
- };
403
- readonly NOT_FOUND: {
404
- readonly status: 404;
405
- readonly message: "The requested resource was not found.";
406
- };
407
- };
408
- };
409
- readonly deleteSplit: {
410
- readonly route: {
411
- readonly method: "DELETE";
412
- readonly path: "/hotspots/split";
413
- };
414
- readonly input: zod.ZodObject<{
415
- walletAddress: zod.ZodString;
416
- hotspotPubkey: zod.ZodString;
417
- }, zod_v4_core.$strip>;
418
- readonly output: zod.ZodObject<{
419
- transactionData: zod.ZodObject<{
420
- transactions: zod.ZodArray<zod.ZodObject<{
421
- serializedTransaction: zod.ZodString;
422
- metadata: zod.ZodOptional<zod.ZodObject<{
423
- type: zod.ZodString;
424
- description: zod.ZodString;
425
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
426
- }, zod_v4_core.$strip>>;
427
- parallel: zod.ZodBoolean;
428
- tag: zod.ZodOptional<zod.ZodString>;
429
- }, zod_v4_core.$strip>;
837
+ };
838
+ }>, Record<never, never>>;
839
+ get: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
840
+ walletAddress: zod.ZodString;
841
+ packId: zod.ZodNumber;
842
+ }, zod_v4_core.$strip>, zod.ZodObject<{
843
+ address: zod.ZodString;
844
+ id: zod.ZodNumber;
845
+ owner: zod.ZodString;
846
+ asset: zod.ZodString;
847
+ lazyDistributor: zod.ZodString;
848
+ rewardsMint: zod.ZodString;
849
+ rentRefund: zod.ZodString;
850
+ solAmount: zod.ZodString;
851
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
852
+ address: zod.ZodString;
853
+ type: zod.ZodEnum<{
854
+ fixed: "fixed";
855
+ percentage: "percentage";
856
+ }>;
857
+ amount: zod.ZodNumber;
858
+ }, zod_v4_core.$strip>>;
859
+ rewardsSchedule: zod.ZodString;
860
+ assetReturnAddress: zod.ZodString;
861
+ bumpSeed: zod.ZodNumber;
862
+ uniqueId: zod.ZodString;
863
+ loading: zod.ZodOptional<zod.ZodBoolean>;
864
+ hotspot: zod.ZodNullable<zod.ZodObject<{
865
+ address: zod.ZodString;
866
+ entityKey: zod.ZodString;
867
+ name: zod.ZodString;
868
+ type: zod.ZodEnum<{
869
+ iot: "iot";
870
+ mobile: "mobile";
871
+ all: "all";
872
+ }>;
873
+ deviceType: zod.ZodEnum<{
874
+ "iot-gateway": "iot-gateway";
875
+ wifiIndoor: "wifiIndoor";
876
+ wifiOutdoor: "wifiOutdoor";
877
+ wifiDataOnly: "wifiDataOnly";
878
+ cbrs: "cbrs";
879
+ }>;
880
+ city: zod.ZodOptional<zod.ZodString>;
881
+ state: zod.ZodOptional<zod.ZodString>;
882
+ country: zod.ZodOptional<zod.ZodString>;
883
+ asset: zod.ZodString;
884
+ isOnline: zod.ZodOptional<zod.ZodBoolean>;
885
+ owner: zod.ZodOptional<zod.ZodString>;
886
+ shares: zod.ZodOptional<zod.ZodObject<{
887
+ fixed: zod.ZodOptional<zod.ZodString>;
888
+ percentage: zod.ZodOptional<zod.ZodNumber>;
889
+ }, zod_v4_core.$strip>>;
890
+ ownershipType: zod.ZodString;
891
+ }, 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
+ }>, {
898
+ NOT_FOUND: {
899
+ readonly status: 404;
900
+ readonly message: "The requested resource was not found.";
901
+ };
902
+ }>, Record<never, never>>;
903
+ delete: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
904
+ walletAddress: zod.ZodString;
905
+ packId: zod.ZodNumber;
906
+ }, zod_v4_core.$strip>, zod.ZodObject<{
907
+ transactionData: zod.ZodObject<{
908
+ transactions: zod.ZodArray<zod.ZodObject<{
909
+ serializedTransaction: zod.ZodString;
910
+ metadata: zod.ZodOptional<zod.ZodObject<{
911
+ type: zod.ZodString;
912
+ description: zod.ZodString;
913
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
914
+ }, zod_v4_core.$strip>>;
915
+ parallel: zod.ZodBoolean;
916
+ tag: zod.ZodOptional<zod.ZodString>;
430
917
  }, zod_v4_core.$strip>;
431
- readonly errors: {
432
- readonly NOT_OWNER: {
433
- readonly status: 403;
434
- readonly message: "You do not own this asset.";
435
- readonly data: zod.ZodObject<{
436
- owner: zod.ZodString;
437
- wallet: zod.ZodString;
438
- }, zod_v4_core.$strip>;
439
- };
440
- readonly INVALID_HOTSPOT: {
441
- readonly status: 400;
442
- readonly message: "The specified asset is not a valid Helium hotspot.";
443
- };
444
- readonly NOT_FOUND: {
445
- readonly status: 404;
446
- readonly message: "The requested resource was not found.";
447
- };
448
- };
449
- };
450
- };
451
- readonly swap: {
452
- readonly getTokens: {
453
- readonly route: {
454
- readonly method: "GET";
455
- readonly path: "/swap/tokens";
456
- };
457
- readonly input: zod.ZodObject<{
458
- limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
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
+ }>, {
924
+ BAD_REQUEST: {
925
+ readonly status: 400;
926
+ readonly message: "Invalid input data provided.";
927
+ readonly data: zod.ZodOptional<zod.ZodObject<{
928
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
929
+ }, zod_v4_core.$strip>>;
930
+ };
931
+ }>, Record<never, never>>;
932
+ getByAddress: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
933
+ packAddress: zod.ZodString;
934
+ }, zod_v4_core.$strip>, zod.ZodObject<{
935
+ address: zod.ZodString;
936
+ id: zod.ZodNumber;
937
+ owner: zod.ZodString;
938
+ asset: zod.ZodString;
939
+ lazyDistributor: zod.ZodString;
940
+ rewardsMint: zod.ZodString;
941
+ rentRefund: zod.ZodString;
942
+ solAmount: zod.ZodString;
943
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
944
+ address: zod.ZodString;
945
+ type: zod.ZodEnum<{
946
+ fixed: "fixed";
947
+ percentage: "percentage";
948
+ }>;
949
+ amount: zod.ZodNumber;
950
+ }, zod_v4_core.$strip>>;
951
+ rewardsSchedule: zod.ZodString;
952
+ assetReturnAddress: zod.ZodString;
953
+ bumpSeed: zod.ZodNumber;
954
+ uniqueId: zod.ZodString;
955
+ loading: zod.ZodOptional<zod.ZodBoolean>;
956
+ hotspot: zod.ZodNullable<zod.ZodObject<{
957
+ address: zod.ZodString;
958
+ entityKey: zod.ZodString;
959
+ name: zod.ZodString;
960
+ type: zod.ZodEnum<{
961
+ iot: "iot";
962
+ mobile: "mobile";
963
+ all: "all";
964
+ }>;
965
+ deviceType: zod.ZodEnum<{
966
+ "iot-gateway": "iot-gateway";
967
+ wifiIndoor: "wifiIndoor";
968
+ wifiOutdoor: "wifiOutdoor";
969
+ wifiDataOnly: "wifiDataOnly";
970
+ cbrs: "cbrs";
971
+ }>;
972
+ city: zod.ZodOptional<zod.ZodString>;
973
+ state: zod.ZodOptional<zod.ZodString>;
974
+ country: zod.ZodOptional<zod.ZodString>;
975
+ asset: zod.ZodString;
976
+ isOnline: zod.ZodOptional<zod.ZodBoolean>;
977
+ owner: zod.ZodOptional<zod.ZodString>;
978
+ shares: zod.ZodOptional<zod.ZodObject<{
979
+ fixed: zod.ZodOptional<zod.ZodString>;
980
+ percentage: zod.ZodOptional<zod.ZodNumber>;
981
+ }, zod_v4_core.$strip>>;
982
+ ownershipType: zod.ZodString;
983
+ }, 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
+ }>, {
990
+ NOT_FOUND: {
991
+ readonly status: 404;
992
+ readonly message: "The requested resource was not found.";
993
+ };
994
+ }>, Record<never, never>>;
995
+ claim: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
996
+ packAddress: zod.ZodString;
997
+ walletAddress: zod.ZodString;
998
+ signature: zod.ZodString;
999
+ expirationTs: zod.ZodString;
1000
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1001
+ transactionData: zod.ZodObject<{
1002
+ transactions: zod.ZodArray<zod.ZodObject<{
1003
+ serializedTransaction: zod.ZodString;
1004
+ metadata: zod.ZodOptional<zod.ZodObject<{
1005
+ type: zod.ZodString;
1006
+ description: zod.ZodString;
1007
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1008
+ }, zod_v4_core.$strip>>;
1009
+ parallel: zod.ZodBoolean;
1010
+ tag: zod.ZodOptional<zod.ZodString>;
459
1011
  }, zod_v4_core.$strip>;
460
- readonly output: zod.ZodObject<{
461
- tokens: zod.ZodArray<zod.ZodObject<{
462
- address: zod.ZodString;
463
- symbol: zod.ZodString;
464
- name: zod.ZodString;
465
- decimals: zod.ZodNumber;
466
- logoURI: zod.ZodOptional<zod.ZodString>;
467
- tags: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
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
+ }>, {
1018
+ BAD_REQUEST: {
1019
+ readonly status: 400;
1020
+ readonly message: "Invalid input data provided.";
1021
+ readonly data: zod.ZodOptional<zod.ZodObject<{
1022
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1023
+ }, zod_v4_core.$strip>>;
1024
+ };
1025
+ EXPIRED: {
1026
+ message: string;
1027
+ status: number;
1028
+ };
1029
+ }>, Record<never, never>>;
1030
+ invite: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1031
+ packAddress: zod.ZodString;
1032
+ walletAddress: zod.ZodString;
1033
+ expirationDays: zod.ZodDefault<zod.ZodNumber>;
1034
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1035
+ message: zod.ZodString;
1036
+ 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
+ }>, {
1043
+ BAD_REQUEST: {
1044
+ readonly status: 400;
1045
+ readonly message: "Invalid input data provided.";
1046
+ readonly data: zod.ZodOptional<zod.ZodObject<{
1047
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
468
1048
  }, zod_v4_core.$strip>>;
1049
+ };
1050
+ NOT_FOUND: {
1051
+ readonly status: 404;
1052
+ readonly message: "The requested resource was not found.";
1053
+ };
1054
+ }>, Record<never, never>>;
1055
+ };
1056
+ };
1057
+ /**
1058
+ * Full API contract including internal-only routers.
1059
+ * Used for the full RPC handler (internal app access).
1060
+ */
1061
+ declare const fullApiContract: {
1062
+ fiat: {
1063
+ getKycStatus: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, zod.ZodObject<{
1064
+ kycStatus: zod.ZodString;
1065
+ tosStatus: zod.ZodString;
1066
+ tosLink: zod.ZodNullable<zod.ZodString>;
1067
+ kycLink: zod.ZodNullable<zod.ZodString>;
1068
+ kycLinkId: zod.ZodNullable<zod.ZodString>;
1069
+ accountType: zod.ZodOptional<zod.ZodString>;
1070
+ rejectionReasons: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1071
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1072
+ UNAUTHENTICATED: {
1073
+ readonly status: 401;
1074
+ readonly message: "Authentication required. Please sign in to continue.";
1075
+ };
1076
+ UNAUTHORIZED: {
1077
+ readonly status: 403;
1078
+ readonly message: "You do not have permission to access this resource.";
1079
+ };
1080
+ }>, {
1081
+ EMAIL_NOT_LINKED: {
1082
+ status: number;
1083
+ message: string;
1084
+ };
1085
+ }>, Record<never, never>>;
1086
+ initKyc: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1087
+ type: zod.ZodOptional<zod.ZodEnum<{
1088
+ individual: "individual";
1089
+ business: "business";
1090
+ }>>;
1091
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1092
+ kycStatus: zod.ZodString;
1093
+ tosStatus: zod.ZodString;
1094
+ tosLink: zod.ZodNullable<zod.ZodString>;
1095
+ kycLink: zod.ZodNullable<zod.ZodString>;
1096
+ kycLinkId: zod.ZodNullable<zod.ZodString>;
1097
+ accountType: zod.ZodOptional<zod.ZodString>;
1098
+ rejectionReasons: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1099
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1100
+ UNAUTHENTICATED: {
1101
+ readonly status: 401;
1102
+ readonly message: "Authentication required. Please sign in to continue.";
1103
+ };
1104
+ UNAUTHORIZED: {
1105
+ readonly status: 403;
1106
+ readonly message: "You do not have permission to access this resource.";
1107
+ };
1108
+ }>, {
1109
+ EMAIL_NOT_LINKED: {
1110
+ status: number;
1111
+ message: string;
1112
+ };
1113
+ BRIDGE_ERROR: {
1114
+ message: string;
1115
+ status: number;
1116
+ };
1117
+ }>, Record<never, never>>;
1118
+ getFees: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, zod.ZodObject<{
1119
+ developer_fee: zod.ZodString;
1120
+ developer_fee_percent: zod.ZodNumber;
1121
+ }, zod_v4_core.$strip>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
1122
+ UNAUTHENTICATED: {
1123
+ readonly status: 401;
1124
+ readonly message: "Authentication required. Please sign in to continue.";
1125
+ };
1126
+ UNAUTHORIZED: {
1127
+ readonly status: 403;
1128
+ readonly message: "You do not have permission to access this resource.";
1129
+ };
1130
+ }>, never>, Record<never, never>>;
1131
+ listBankAccounts: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, zod.ZodArray<zod.ZodObject<{
1132
+ id: zod.ZodOptional<zod.ZodNumber>;
1133
+ bridgeUserId: zod.ZodOptional<zod.ZodNumber>;
1134
+ bridgeExternalAccountId: zod.ZodOptional<zod.ZodString>;
1135
+ accountName: zod.ZodOptional<zod.ZodString>;
1136
+ bankName: zod.ZodOptional<zod.ZodString>;
1137
+ lastFourDigits: zod.ZodOptional<zod.ZodString>;
1138
+ routingNumber: zod.ZodOptional<zod.ZodString>;
1139
+ accountType: zod.ZodOptional<zod.ZodString>;
1140
+ createdAt: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodDate]>>;
1141
+ updatedAt: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodDate]>>;
1142
+ }, zod_v4_core.$loose>>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1143
+ UNAUTHENTICATED: {
1144
+ readonly status: 401;
1145
+ readonly message: "Authentication required. Please sign in to continue.";
1146
+ };
1147
+ UNAUTHORIZED: {
1148
+ readonly status: 403;
1149
+ readonly message: "You do not have permission to access this resource.";
1150
+ };
1151
+ }>, {
1152
+ NOT_FOUND: {
1153
+ message: string;
1154
+ status: number;
1155
+ };
1156
+ }>, Record<never, never>>;
1157
+ createBankAccount: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1158
+ currency: zod.ZodString;
1159
+ account_type: zod.ZodString;
1160
+ bank_name: zod.ZodString;
1161
+ account_name: zod.ZodString;
1162
+ first_name: zod.ZodOptional<zod.ZodString>;
1163
+ last_name: zod.ZodOptional<zod.ZodString>;
1164
+ account_owner_name: zod.ZodOptional<zod.ZodString>;
1165
+ business_name: zod.ZodOptional<zod.ZodString>;
1166
+ account: zod.ZodObject<{
1167
+ account_number: zod.ZodString;
1168
+ routing_number: zod.ZodString;
1169
+ checking_or_savings: zod.ZodString;
469
1170
  }, zod_v4_core.$strip>;
470
- readonly errors: {};
471
- };
472
- readonly getQuote: {
473
- readonly route: {
474
- readonly method: "GET";
475
- readonly path: "/swap/quote";
476
- };
477
- readonly input: zod.ZodObject<{
478
- inputMint: zod.ZodString;
479
- outputMint: zod.ZodString;
480
- amount: zod.ZodString;
481
- swapMode: zod.ZodDefault<zod.ZodEnum<{
482
- ExactIn: "ExactIn";
483
- ExactOut: "ExactOut";
484
- }>>;
485
- slippageBps: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1171
+ address: zod.ZodObject<{
1172
+ street_line_1: zod.ZodString;
1173
+ line2: zod.ZodOptional<zod.ZodString>;
1174
+ city: zod.ZodString;
1175
+ state: zod.ZodString;
1176
+ postal_code: zod.ZodString;
1177
+ country: zod.ZodString;
486
1178
  }, zod_v4_core.$strip>;
487
- readonly output: zod.ZodObject<{
1179
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1180
+ id: zod.ZodOptional<zod.ZodNumber>;
1181
+ bridgeUserId: zod.ZodOptional<zod.ZodNumber>;
1182
+ bridgeExternalAccountId: zod.ZodOptional<zod.ZodString>;
1183
+ accountName: zod.ZodOptional<zod.ZodString>;
1184
+ bankName: zod.ZodOptional<zod.ZodString>;
1185
+ lastFourDigits: zod.ZodOptional<zod.ZodString>;
1186
+ routingNumber: zod.ZodOptional<zod.ZodString>;
1187
+ accountType: zod.ZodOptional<zod.ZodString>;
1188
+ createdAt: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodDate]>>;
1189
+ updatedAt: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodString, zod.ZodDate]>>;
1190
+ }, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1191
+ UNAUTHENTICATED: {
1192
+ readonly status: 401;
1193
+ readonly message: "Authentication required. Please sign in to continue.";
1194
+ };
1195
+ UNAUTHORIZED: {
1196
+ readonly status: 403;
1197
+ readonly message: "You do not have permission to access this resource.";
1198
+ };
1199
+ }>, {
1200
+ NO_CUSTOMER: {
1201
+ message: string;
1202
+ status: number;
1203
+ };
1204
+ BRIDGE_ERROR: {
1205
+ message: string;
1206
+ status: number;
1207
+ };
1208
+ }>, Record<never, never>>;
1209
+ deleteBankAccount: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1210
+ id: zod.ZodNumber;
1211
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1212
+ success: zod.ZodBoolean;
1213
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1214
+ UNAUTHENTICATED: {
1215
+ readonly status: 401;
1216
+ readonly message: "Authentication required. Please sign in to continue.";
1217
+ };
1218
+ UNAUTHORIZED: {
1219
+ readonly status: 403;
1220
+ readonly message: "You do not have permission to access this resource.";
1221
+ };
1222
+ }>, {
1223
+ NO_CUSTOMER: {
1224
+ message: string;
1225
+ status: number;
1226
+ };
1227
+ BRIDGE_ERROR: {
1228
+ message: string;
1229
+ status: number;
1230
+ };
1231
+ }>, Record<never, never>>;
1232
+ getSendQuote: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1233
+ id: zod.ZodString;
1234
+ usdAmount: zod.ZodString;
1235
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1236
+ inputMint: zod.ZodString;
1237
+ inAmount: zod.ZodString;
1238
+ outputMint: zod.ZodString;
1239
+ outAmount: zod.ZodString;
1240
+ otherAmountThreshold: zod.ZodString;
1241
+ swapMode: zod.ZodString;
1242
+ slippageBps: zod.ZodNumber;
1243
+ platformFee: zod.ZodOptional<zod.ZodUnknown>;
1244
+ priceImpactPct: zod.ZodString;
1245
+ routePlan: zod.ZodArray<zod.ZodUnknown>;
1246
+ contextSlot: zod.ZodOptional<zod.ZodNumber>;
1247
+ timeTaken: zod.ZodOptional<zod.ZodNumber>;
1248
+ }, zod_v4_core.$loose>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1249
+ UNAUTHENTICATED: {
1250
+ readonly status: 401;
1251
+ readonly message: "Authentication required. Please sign in to continue.";
1252
+ };
1253
+ UNAUTHORIZED: {
1254
+ readonly status: 403;
1255
+ readonly message: "You do not have permission to access this resource.";
1256
+ };
1257
+ }>, {
1258
+ BAD_REQUEST: {
1259
+ readonly status: 400;
1260
+ readonly message: "Invalid input data provided.";
1261
+ readonly data: zod.ZodOptional<zod.ZodObject<{
1262
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1263
+ }, zod_v4_core.$strip>>;
1264
+ };
1265
+ JUPITER_ERROR: {
1266
+ message: string;
1267
+ status: number;
1268
+ };
1269
+ }>, Record<never, never>>;
1270
+ sendFunds: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1271
+ id: zod.ZodString;
1272
+ userAddress: zod.ZodString;
1273
+ quoteResponse: zod.ZodObject<{
488
1274
  inputMint: zod.ZodString;
489
1275
  inAmount: zod.ZodString;
490
1276
  outputMint: zod.ZodString;
@@ -498,50 +1284,15 @@ declare const apiContract: {
498
1284
  contextSlot: zod.ZodOptional<zod.ZodNumber>;
499
1285
  timeTaken: zod.ZodOptional<zod.ZodNumber>;
500
1286
  }, zod_v4_core.$loose>;
501
- readonly errors: {
502
- readonly BAD_REQUEST: {
503
- readonly message: "Invalid quote parameters";
504
- };
505
- readonly EXTERNAL_API_ERROR: {
506
- readonly message: "Jupiter API request failed";
507
- };
508
- };
509
- };
510
- readonly getInstructions: {
511
- readonly route: {
512
- readonly method: "POST";
513
- readonly path: "/swap/instructions";
514
- };
515
- readonly input: zod.ZodObject<{
516
- quoteResponse: zod.ZodObject<{
517
- inputMint: zod.ZodString;
518
- inAmount: zod.ZodString;
519
- outputMint: zod.ZodString;
520
- outAmount: zod.ZodString;
521
- otherAmountThreshold: zod.ZodString;
522
- swapMode: zod.ZodString;
523
- slippageBps: zod.ZodNumber;
524
- platformFee: zod.ZodOptional<zod.ZodUnknown>;
525
- priceImpactPct: zod.ZodString;
526
- routePlan: zod.ZodArray<zod.ZodUnknown>;
527
- contextSlot: zod.ZodOptional<zod.ZodNumber>;
528
- timeTaken: zod.ZodOptional<zod.ZodNumber>;
529
- }, zod_v4_core.$loose>;
530
- userPublicKey: zod.ZodString;
531
- destinationTokenAccount: zod.ZodOptional<zod.ZodString>;
532
- dynamicComputeUnitLimit: zod.ZodDefault<zod.ZodBoolean>;
533
- prioritizationFeeLamports: zod.ZodOptional<zod.ZodObject<{
534
- priorityLevelWithMaxLamports: zod.ZodObject<{
535
- maxLamports: zod.ZodDefault<zod.ZodNumber>;
536
- priorityLevel: zod.ZodDefault<zod.ZodEnum<{
537
- low: "low";
538
- medium: "medium";
539
- high: "high";
540
- }>>;
541
- }, zod_v4_core.$strip>;
542
- }, zod_v4_core.$strip>>;
543
- }, zod_v4_core.$strip>;
544
- readonly output: zod.ZodObject<{
1287
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1288
+ bridgeTransfer: zod.ZodObject<{
1289
+ id: zod.ZodString;
1290
+ state: zod.ZodString;
1291
+ source_deposit_instructions: zod.ZodObject<{
1292
+ to_address: zod.ZodString;
1293
+ }, zod_v4_core.$strip>;
1294
+ }, zod_v4_core.$loose>;
1295
+ transactionData: zod.ZodObject<{
545
1296
  transactions: zod.ZodArray<zod.ZodObject<{
546
1297
  serializedTransaction: zod.ZodString;
547
1298
  metadata: zod.ZodOptional<zod.ZodObject<{
@@ -552,23 +1303,120 @@ declare const apiContract: {
552
1303
  parallel: zod.ZodBoolean;
553
1304
  tag: zod.ZodOptional<zod.ZodString>;
554
1305
  }, zod_v4_core.$strip>;
555
- readonly errors: {
556
- readonly BAD_REQUEST: {
557
- readonly message: "Invalid instruction parameters";
558
- };
559
- readonly EXTERNAL_API_ERROR: {
560
- readonly message: "Jupiter API request failed";
561
- };
562
- };
563
- };
1306
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1307
+ UNAUTHENTICATED: {
1308
+ readonly status: 401;
1309
+ readonly message: "Authentication required. Please sign in to continue.";
1310
+ };
1311
+ UNAUTHORIZED: {
1312
+ readonly status: 403;
1313
+ readonly message: "You do not have permission to access this resource.";
1314
+ };
1315
+ }>, {
1316
+ NOT_FOUND: {
1317
+ readonly status: 404;
1318
+ readonly message: "The requested resource was not found.";
1319
+ };
1320
+ BRIDGE_ERROR: {
1321
+ message: string;
1322
+ status: number;
1323
+ };
1324
+ JUPITER_ERROR: {
1325
+ message: string;
1326
+ status: number;
1327
+ };
1328
+ }>, Record<never, never>>;
1329
+ updateTransfer: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1330
+ id: zod.ZodString;
1331
+ solanaSignature: zod.ZodString;
1332
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1333
+ success: zod.ZodBoolean;
1334
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1335
+ UNAUTHENTICATED: {
1336
+ readonly status: 401;
1337
+ readonly message: "Authentication required. Please sign in to continue.";
1338
+ };
1339
+ UNAUTHORIZED: {
1340
+ readonly status: 403;
1341
+ readonly message: "You do not have permission to access this resource.";
1342
+ };
1343
+ }>, {
1344
+ NOT_FOUND: {
1345
+ message: string;
1346
+ status: number;
1347
+ };
1348
+ }>, Record<never, never>>;
1349
+ };
1350
+ webhooks: {
1351
+ bridge: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1352
+ type: zod.ZodString;
1353
+ kyc_link_id: zod.ZodOptional<zod.ZodString>;
1354
+ kyc_status: zod.ZodOptional<zod.ZodString>;
1355
+ tos_status: zod.ZodOptional<zod.ZodString>;
1356
+ customer_id: zod.ZodOptional<zod.ZodString>;
1357
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1358
+ success: zod.ZodBoolean;
1359
+ 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
+ }>, {
1366
+ NOT_FOUND: {
1367
+ readonly status: 404;
1368
+ readonly message: "The requested resource was not found.";
1369
+ };
1370
+ INVALID_PAYLOAD: {
1371
+ message: string;
1372
+ status: number;
1373
+ };
1374
+ }>, Record<never, never>>;
1375
+ };
1376
+ health: {
1377
+ check: _orpc_contract.ContractProcedureBuilderWithOutput<_orpc_contract.Schema<unknown, unknown>, zod.ZodObject<{
1378
+ ok: zod.ZodBoolean;
1379
+ 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>>;
564
1386
  };
565
- readonly transactions: {
566
- readonly submit: {
567
- readonly route: {
568
- readonly method: "POST";
569
- readonly path: "/transactions";
1387
+ tokens: {
1388
+ getBalances: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1389
+ walletAddress: zod.ZodString;
1390
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1391
+ totalBalanceUsd: zod.ZodNumber;
1392
+ solBalance: zod.ZodNumber;
1393
+ solBalanceUsd: zod.ZodNumber;
1394
+ tokens: zod.ZodArray<zod.ZodObject<{
1395
+ mint: zod.ZodString;
1396
+ address: zod.ZodString;
1397
+ balance: zod.ZodString;
1398
+ decimals: zod.ZodNumber;
1399
+ uiAmount: zod.ZodNumber;
1400
+ symbol: zod.ZodOptional<zod.ZodString>;
1401
+ name: zod.ZodOptional<zod.ZodString>;
1402
+ logoURI: zod.ZodOptional<zod.ZodString>;
1403
+ priceUsd: zod.ZodOptional<zod.ZodNumber>;
1404
+ balanceUsd: zod.ZodOptional<zod.ZodNumber>;
1405
+ }, zod_v4_core.$strip>>;
1406
+ }, zod_v4_core.$strip>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
1407
+ INVALID_WALLET_ADDRESS: {
1408
+ message: string;
1409
+ status: number;
570
1410
  };
571
- readonly input: zod.ZodObject<{
1411
+ }>, never>, Record<never, never>>;
1412
+ transfer: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1413
+ walletAddress: zod.ZodString;
1414
+ mint: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
1415
+ destination: zod.ZodString;
1416
+ amount: zod.ZodString;
1417
+ decimals: zod.ZodOptional<zod.ZodNumber>;
1418
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1419
+ transactionData: zod.ZodObject<{
572
1420
  transactions: zod.ZodArray<zod.ZodObject<{
573
1421
  serializedTransaction: zod.ZodString;
574
1422
  metadata: zod.ZodOptional<zod.ZodObject<{
@@ -579,188 +1427,695 @@ declare const apiContract: {
579
1427
  parallel: zod.ZodBoolean;
580
1428
  tag: zod.ZodOptional<zod.ZodString>;
581
1429
  }, zod_v4_core.$strip>;
582
- readonly output: zod.ZodObject<{
583
- batchId: zod.ZodString;
584
- message: zod.ZodOptional<zod.ZodString>;
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
+ }>, {
1436
+ BAD_REQUEST: {
1437
+ readonly status: 400;
1438
+ readonly message: "Invalid input data provided.";
1439
+ readonly data: zod.ZodOptional<zod.ZodObject<{
1440
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1441
+ }, zod_v4_core.$strip>>;
1442
+ };
1443
+ INSUFFICIENT_FUNDS: {
1444
+ readonly status: 400;
1445
+ readonly message: "Insufficient SOL balance to complete this transaction.";
1446
+ readonly data: zod.ZodObject<{
1447
+ required: zod.ZodNumber;
1448
+ available: zod.ZodNumber;
1449
+ }, zod_v4_core.$strip>;
1450
+ };
1451
+ }>, Record<never, never>>;
1452
+ createHntAccount: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1453
+ walletAddress: zod.ZodString;
1454
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1455
+ transactionData: zod.ZodObject<{
1456
+ transactions: zod.ZodArray<zod.ZodObject<{
1457
+ serializedTransaction: zod.ZodString;
1458
+ metadata: zod.ZodOptional<zod.ZodObject<{
1459
+ type: zod.ZodString;
1460
+ description: zod.ZodString;
1461
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1462
+ }, zod_v4_core.$strip>>;
1463
+ parallel: zod.ZodBoolean;
1464
+ tag: zod.ZodOptional<zod.ZodString>;
585
1465
  }, zod_v4_core.$strip>;
586
- readonly errors: {
587
- readonly INSUFFICIENT_FUNDS: {
588
- readonly status: 400;
589
- readonly message: "Insufficient SOL balance to complete this transaction.";
590
- readonly data: zod.ZodObject<{
591
- required: zod.ZodNumber;
592
- available: zod.ZodNumber;
593
- }, zod_v4_core.$strip>;
594
- };
595
- readonly TRANSACTION_FAILED: {
596
- readonly status: 500;
597
- readonly message: "Transaction failed to execute.";
598
- readonly data: zod.ZodObject<{
599
- logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
600
- signature: zod.ZodOptional<zod.ZodString>;
601
- }, zod_v4_core.$strip>;
602
- };
603
- readonly SIMULATION_FAILED: {
604
- readonly status: 400;
605
- readonly message: "Transaction simulation failed.";
606
- readonly data: zod.ZodObject<{
607
- logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
608
- link: zod.ZodOptional<zod.ZodString>;
609
- }, zod_v4_core.$strip>;
610
- };
611
- readonly BAD_REQUEST: {
612
- readonly message: "Invalid transaction data";
613
- };
614
- };
615
- };
616
- readonly get: {
617
- readonly route: {
618
- readonly method: "GET";
619
- readonly path: "/transactions/{id}";
620
- };
621
- readonly input: zod.ZodObject<{
622
- id: zod.ZodString;
623
- commitment: zod.ZodEnum<{
624
- confirmed: "confirmed";
625
- finalized: "finalized";
1466
+ }, zod_v4_core.$strip>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
1467
+ INVALID_WALLET_ADDRESS: {
1468
+ message: string;
1469
+ status: number;
1470
+ };
1471
+ }>, never>, Record<never, never>>;
1472
+ };
1473
+ hotspots: {
1474
+ getHotspots: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1475
+ walletAddress: zod.ZodString;
1476
+ type: zod.ZodOptional<zod.ZodEnum<{
1477
+ iot: "iot";
1478
+ mobile: "mobile";
1479
+ all: "all";
1480
+ }>>;
1481
+ page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1482
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1483
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1484
+ hotspots: zod.ZodArray<zod.ZodObject<{
1485
+ address: zod.ZodString;
1486
+ entityKey: zod.ZodString;
1487
+ name: zod.ZodString;
1488
+ type: zod.ZodEnum<{
1489
+ iot: "iot";
1490
+ mobile: "mobile";
1491
+ all: "all";
1492
+ }>;
1493
+ deviceType: zod.ZodEnum<{
1494
+ "iot-gateway": "iot-gateway";
1495
+ wifiIndoor: "wifiIndoor";
1496
+ wifiOutdoor: "wifiOutdoor";
1497
+ wifiDataOnly: "wifiDataOnly";
1498
+ cbrs: "cbrs";
626
1499
  }>;
1500
+ city: zod.ZodOptional<zod.ZodString>;
1501
+ state: zod.ZodOptional<zod.ZodString>;
1502
+ country: zod.ZodOptional<zod.ZodString>;
1503
+ asset: zod.ZodString;
1504
+ isOnline: zod.ZodOptional<zod.ZodBoolean>;
1505
+ owner: zod.ZodOptional<zod.ZodString>;
1506
+ shares: zod.ZodOptional<zod.ZodObject<{
1507
+ fixed: zod.ZodOptional<zod.ZodString>;
1508
+ percentage: zod.ZodOptional<zod.ZodNumber>;
1509
+ }, zod_v4_core.$strip>>;
1510
+ ownershipType: zod.ZodString;
1511
+ }, zod_v4_core.$strip>>;
1512
+ total: zod.ZodNumber;
1513
+ page: zod.ZodNumber;
1514
+ totalPages: zod.ZodNumber;
1515
+ }, zod_v4_core.$strip>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
1516
+ INVALID_WALLET_ADDRESS: {
1517
+ message: string;
1518
+ status: number;
1519
+ };
1520
+ }>, never>, Record<never, never>>;
1521
+ claimRewards: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1522
+ walletAddress: zod.ZodString;
1523
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1524
+ transactionData: zod.ZodObject<{
1525
+ transactions: zod.ZodArray<zod.ZodObject<{
1526
+ serializedTransaction: zod.ZodString;
1527
+ metadata: zod.ZodOptional<zod.ZodObject<{
1528
+ type: zod.ZodString;
1529
+ description: zod.ZodString;
1530
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1531
+ }, zod_v4_core.$strip>>;
1532
+ parallel: zod.ZodBoolean;
1533
+ tag: zod.ZodOptional<zod.ZodString>;
627
1534
  }, zod_v4_core.$strip>;
628
- readonly output: zod.ZodObject<{
629
- batchId: zod.ZodString;
630
- status: zod.ZodString;
631
- submissionType: zod.ZodString;
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
+ }>, {
1541
+ INSUFFICIENT_FUNDS: {
1542
+ readonly status: 400;
1543
+ readonly message: "Insufficient SOL balance to complete this transaction.";
1544
+ readonly data: zod.ZodObject<{
1545
+ required: zod.ZodNumber;
1546
+ available: zod.ZodNumber;
1547
+ }, zod_v4_core.$strip>;
1548
+ };
1549
+ }>, Record<never, never>>;
1550
+ getPendingRewards: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1551
+ walletAddress: zod.ZodString;
1552
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1553
+ pending: zod.ZodString;
1554
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1555
+ INVALID_WALLET_ADDRESS: {
1556
+ message: string;
1557
+ status: number;
1558
+ };
1559
+ }>, {
1560
+ BAD_REQUEST: {
1561
+ message: string;
1562
+ status: number;
1563
+ };
1564
+ }>, Record<never, never>>;
1565
+ transferHotspot: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1566
+ walletAddress: zod.ZodString;
1567
+ hotspotPubkey: zod.ZodString;
1568
+ recipient: zod.ZodString;
1569
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1570
+ transactionData: zod.ZodObject<{
1571
+ transactions: zod.ZodArray<zod.ZodObject<{
1572
+ serializedTransaction: zod.ZodString;
1573
+ metadata: zod.ZodOptional<zod.ZodObject<{
1574
+ type: zod.ZodString;
1575
+ description: zod.ZodString;
1576
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1577
+ }, zod_v4_core.$strip>>;
632
1578
  parallel: zod.ZodBoolean;
1579
+ tag: zod.ZodOptional<zod.ZodString>;
1580
+ }, 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
+ }>, {
1587
+ UNAUTHORIZED: {
1588
+ readonly status: 403;
1589
+ readonly message: "You do not have permission to access this resource.";
1590
+ };
1591
+ NOT_FOUND: {
1592
+ readonly status: 404;
1593
+ readonly message: "The requested resource was not found.";
1594
+ };
1595
+ BAD_REQUEST: {
1596
+ message: string;
1597
+ status: number;
1598
+ };
1599
+ }>, Record<never, never>>;
1600
+ updateRewardsDestination: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1601
+ walletAddress: zod.ZodString;
1602
+ hotspotPubkey: zod.ZodString;
1603
+ destination: zod.ZodString;
1604
+ lazyDistributors: zod.ZodArray<zod.ZodString>;
1605
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1606
+ transactionData: zod.ZodObject<{
633
1607
  transactions: zod.ZodArray<zod.ZodObject<{
634
- signature: zod.ZodString;
635
- status: zod.ZodString;
636
- transaction: zod.ZodOptional<zod.ZodUnknown>;
1608
+ serializedTransaction: zod.ZodString;
1609
+ metadata: zod.ZodOptional<zod.ZodObject<{
1610
+ type: zod.ZodString;
1611
+ description: zod.ZodString;
1612
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
637
1613
  }, zod_v4_core.$strip>>;
638
- jitoBundleId: zod.ZodOptional<zod.ZodString>;
639
- jitoBundleStatus: zod.ZodOptional<zod.ZodUnknown>;
1614
+ parallel: zod.ZodBoolean;
1615
+ tag: zod.ZodOptional<zod.ZodString>;
640
1616
  }, zod_v4_core.$strip>;
641
- readonly errors: {
642
- readonly NOT_FOUND: {
643
- readonly message: "Transaction batch not found";
644
- };
645
- };
646
- };
647
- readonly resubmit: {
648
- readonly route: {
649
- readonly method: "POST";
650
- readonly path: "/transactions/{id}/resubmit";
651
- };
652
- readonly input: zod.ZodObject<{
653
- id: zod.ZodString;
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
+ }>, {
1623
+ BAD_REQUEST: {
1624
+ message: string;
1625
+ status: number;
1626
+ };
1627
+ NOT_FOUND: {
1628
+ readonly status: 404;
1629
+ readonly message: "The requested resource was not found.";
1630
+ };
1631
+ }>, Record<never, never>>;
1632
+ getSplit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1633
+ walletAddress: zod.ZodString;
1634
+ hotspotPubkey: zod.ZodString;
1635
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1636
+ walletAddress: zod.ZodString;
1637
+ hotspotPubkey: zod.ZodString;
1638
+ splitAddress: zod.ZodString;
1639
+ shares: zod.ZodArray<zod.ZodObject<{
1640
+ wallet: zod.ZodString;
1641
+ delegate: zod.ZodString;
1642
+ fixed: zod.ZodNumber;
1643
+ shares: zod.ZodNumber;
1644
+ }, zod_v4_core.$strip>>;
1645
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1646
+ INVALID_WALLET_ADDRESS: {
1647
+ message: string;
1648
+ status: number;
1649
+ };
1650
+ }>, {
1651
+ NOT_FOUND: {
1652
+ message: string;
1653
+ status: number;
1654
+ };
1655
+ }>, Record<never, never>>;
1656
+ createSplit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1657
+ walletAddress: zod.ZodString;
1658
+ hotspotPubkey: zod.ZodString;
1659
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
1660
+ address: zod.ZodString;
1661
+ type: zod.ZodEnum<{
1662
+ fixed: "fixed";
1663
+ percentage: "percentage";
1664
+ }>;
1665
+ amount: zod.ZodNumber;
1666
+ }, zod_v4_core.$strip>>;
1667
+ schedule: zod.ZodObject<{
1668
+ frequency: zod.ZodEnum<{
1669
+ daily: "daily";
1670
+ weekly: "weekly";
1671
+ monthly: "monthly";
1672
+ }>;
1673
+ time: zod.ZodString;
1674
+ timezone: zod.ZodString;
1675
+ dayOfWeek: zod.ZodOptional<zod.ZodString>;
1676
+ dayOfMonth: zod.ZodOptional<zod.ZodString>;
654
1677
  }, zod_v4_core.$strip>;
655
- readonly output: zod.ZodObject<{
656
- success: zod.ZodBoolean;
657
- message: zod.ZodString;
658
- error: zod.ZodOptional<zod.ZodString>;
659
- newSignatures: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1678
+ lazyDistributor: zod.ZodString;
1679
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1680
+ transactionData: zod.ZodObject<{
1681
+ transactions: zod.ZodArray<zod.ZodObject<{
1682
+ serializedTransaction: zod.ZodString;
1683
+ metadata: zod.ZodOptional<zod.ZodObject<{
1684
+ type: zod.ZodString;
1685
+ description: zod.ZodString;
1686
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1687
+ }, zod_v4_core.$strip>>;
1688
+ parallel: zod.ZodBoolean;
1689
+ tag: zod.ZodOptional<zod.ZodString>;
660
1690
  }, zod_v4_core.$strip>;
661
- readonly errors: {
662
- readonly NOT_FOUND: {
663
- readonly message: "Transaction batch not found";
664
- };
665
- readonly BAD_REQUEST: {
666
- readonly message: "Cannot resubmit this transaction";
667
- };
668
- };
669
- };
670
- readonly getByPayer: {
671
- readonly route: {
672
- readonly method: "GET";
673
- readonly path: "/transactions/payer/{payer}";
674
- };
675
- readonly input: zod.ZodObject<{
676
- payer: zod.ZodString;
677
- page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
678
- limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
679
- status: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
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
+ }>, {
1697
+ NOT_FOUND: {
1698
+ readonly status: 404;
1699
+ readonly message: "The requested resource was not found.";
1700
+ };
1701
+ BAD_REQUEST: {
1702
+ message: string;
1703
+ status: number;
1704
+ };
1705
+ INSUFFICIENT_FUNDS: {
1706
+ readonly status: 400;
1707
+ readonly message: "Insufficient SOL balance to complete this transaction.";
1708
+ readonly data: zod.ZodObject<{
1709
+ required: zod.ZodNumber;
1710
+ available: zod.ZodNumber;
1711
+ }, zod_v4_core.$strip>;
1712
+ };
1713
+ }>, Record<never, never>>;
1714
+ deleteSplit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1715
+ walletAddress: zod.ZodString;
1716
+ hotspotPubkey: zod.ZodString;
1717
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1718
+ transactionData: zod.ZodObject<{
1719
+ transactions: zod.ZodArray<zod.ZodObject<{
1720
+ serializedTransaction: zod.ZodString;
1721
+ metadata: zod.ZodOptional<zod.ZodObject<{
1722
+ type: zod.ZodString;
1723
+ description: zod.ZodString;
1724
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1725
+ }, zod_v4_core.$strip>>;
1726
+ parallel: zod.ZodBoolean;
1727
+ tag: zod.ZodOptional<zod.ZodString>;
680
1728
  }, zod_v4_core.$strip>;
681
- readonly output: zod.ZodObject<{
682
- payer: zod.ZodString;
683
- batches: zod.ZodArray<zod.ZodObject<{
684
- batchId: zod.ZodString;
685
- tag: zod.ZodOptional<zod.ZodString>;
686
- status: zod.ZodString;
687
- submissionType: zod.ZodString;
688
- parallel: zod.ZodBoolean;
689
- createdAt: zod.ZodString;
690
- updatedAt: zod.ZodString;
691
- transactions: zod.ZodArray<zod.ZodObject<{
692
- metadata: zod.ZodOptional<zod.ZodObject<{
693
- type: zod.ZodString;
694
- description: zod.ZodString;
695
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
696
- }, zod_v4_core.$strip>>;
1729
+ }, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<_orpc_contract.MergedErrorMap<Record<never, never>, {
1730
+ INVALID_WALLET_ADDRESS: {
1731
+ message: string;
1732
+ status: number;
1733
+ };
1734
+ }>, {
1735
+ NOT_FOUND: {
1736
+ readonly status: 404;
1737
+ readonly message: "The requested resource was not found.";
1738
+ };
1739
+ }>, Record<never, never>>;
1740
+ };
1741
+ swap: {
1742
+ getTokens: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1743
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1744
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1745
+ tokens: zod.ZodArray<zod.ZodObject<{
1746
+ address: zod.ZodString;
1747
+ symbol: zod.ZodString;
1748
+ name: zod.ZodString;
1749
+ decimals: zod.ZodNumber;
1750
+ logoURI: zod.ZodOptional<zod.ZodString>;
1751
+ 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
+ }>, {
1759
+ JUPITER_ERROR: {
1760
+ message: string;
1761
+ };
1762
+ }>, Record<never, never>>;
1763
+ getQuote: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1764
+ inputMint: zod.ZodString;
1765
+ outputMint: zod.ZodString;
1766
+ amount: zod.ZodString;
1767
+ swapMode: zod.ZodDefault<zod.ZodEnum<{
1768
+ ExactIn: "ExactIn";
1769
+ ExactOut: "ExactOut";
1770
+ }>>;
1771
+ slippageBps: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1772
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1773
+ inputMint: zod.ZodString;
1774
+ inAmount: zod.ZodString;
1775
+ outputMint: zod.ZodString;
1776
+ outAmount: zod.ZodString;
1777
+ otherAmountThreshold: zod.ZodString;
1778
+ swapMode: zod.ZodString;
1779
+ slippageBps: zod.ZodNumber;
1780
+ platformFee: zod.ZodOptional<zod.ZodUnknown>;
1781
+ priceImpactPct: zod.ZodString;
1782
+ routePlan: zod.ZodArray<zod.ZodUnknown>;
1783
+ contextSlot: zod.ZodOptional<zod.ZodNumber>;
1784
+ 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
+ }>, {
1791
+ BAD_REQUEST: {
1792
+ message: string;
1793
+ status: number;
1794
+ };
1795
+ JUPITER_ERROR: {
1796
+ message: string;
1797
+ };
1798
+ }>, Record<never, never>>;
1799
+ getInstructions: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1800
+ quoteResponse: zod.ZodObject<{
1801
+ inputMint: zod.ZodString;
1802
+ inAmount: zod.ZodString;
1803
+ outputMint: zod.ZodString;
1804
+ outAmount: zod.ZodString;
1805
+ otherAmountThreshold: zod.ZodString;
1806
+ swapMode: zod.ZodString;
1807
+ slippageBps: zod.ZodNumber;
1808
+ platformFee: zod.ZodOptional<zod.ZodUnknown>;
1809
+ priceImpactPct: zod.ZodString;
1810
+ routePlan: zod.ZodArray<zod.ZodUnknown>;
1811
+ contextSlot: zod.ZodOptional<zod.ZodNumber>;
1812
+ timeTaken: zod.ZodOptional<zod.ZodNumber>;
1813
+ }, zod_v4_core.$loose>;
1814
+ userPublicKey: zod.ZodString;
1815
+ destinationTokenAccount: zod.ZodOptional<zod.ZodString>;
1816
+ dynamicComputeUnitLimit: zod.ZodDefault<zod.ZodBoolean>;
1817
+ prioritizationFeeLamports: zod.ZodOptional<zod.ZodObject<{
1818
+ priorityLevelWithMaxLamports: zod.ZodObject<{
1819
+ maxLamports: zod.ZodDefault<zod.ZodNumber>;
1820
+ priorityLevel: zod.ZodDefault<zod.ZodEnum<{
1821
+ low: "low";
1822
+ medium: "medium";
1823
+ high: "high";
1824
+ }>>;
1825
+ }, zod_v4_core.$strip>;
1826
+ }, zod_v4_core.$strip>>;
1827
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1828
+ transactions: zod.ZodArray<zod.ZodObject<{
1829
+ serializedTransaction: zod.ZodString;
1830
+ metadata: zod.ZodOptional<zod.ZodObject<{
1831
+ type: zod.ZodString;
1832
+ description: zod.ZodString;
1833
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1834
+ }, zod_v4_core.$strip>>;
1835
+ parallel: zod.ZodBoolean;
1836
+ 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
+ }>, {
1843
+ BAD_REQUEST: {
1844
+ message: string;
1845
+ status: number;
1846
+ };
1847
+ JUPITER_ERROR: {
1848
+ message: string;
1849
+ };
1850
+ }>, Record<never, never>>;
1851
+ };
1852
+ transactions: {
1853
+ submit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1854
+ transactions: zod.ZodArray<zod.ZodObject<{
1855
+ serializedTransaction: zod.ZodString;
1856
+ metadata: zod.ZodOptional<zod.ZodObject<{
1857
+ type: zod.ZodString;
1858
+ description: zod.ZodString;
1859
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1860
+ }, zod_v4_core.$strip>>;
1861
+ parallel: zod.ZodBoolean;
1862
+ tag: zod.ZodOptional<zod.ZodString>;
1863
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1864
+ batchId: zod.ZodString;
1865
+ 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
+ }>, {
1872
+ BAD_REQUEST: {
1873
+ readonly status: 400;
1874
+ readonly message: "Invalid input data provided.";
1875
+ readonly data: zod.ZodOptional<zod.ZodObject<{
1876
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
697
1877
  }, zod_v4_core.$strip>>;
698
- pagination: zod.ZodObject<{
699
- page: zod.ZodNumber;
700
- limit: zod.ZodNumber;
701
- total: zod.ZodNumber;
702
- totalPages: zod.ZodNumber;
1878
+ };
1879
+ CONFLICT: {
1880
+ readonly status: 409;
1881
+ readonly message: "A resource with this identifier already exists.";
1882
+ };
1883
+ SIMULATION_FAILED: {
1884
+ readonly status: 400;
1885
+ readonly message: "Transaction simulation failed.";
1886
+ readonly data: zod.ZodObject<{
1887
+ logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1888
+ link: zod.ZodOptional<zod.ZodString>;
703
1889
  }, zod_v4_core.$strip>;
1890
+ };
1891
+ }>, Record<never, never>>;
1892
+ get: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1893
+ id: zod.ZodString;
1894
+ commitment: zod.ZodEnum<{
1895
+ confirmed: "confirmed";
1896
+ finalized: "finalized";
1897
+ }>;
1898
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1899
+ batchId: zod.ZodString;
1900
+ status: zod.ZodUnion<readonly [zod.ZodLiteral<"pending">, zod.ZodLiteral<"confirmed">, zod.ZodLiteral<"failed">, zod.ZodLiteral<"expired">, zod.ZodLiteral<"partial">]>;
1901
+ submissionType: zod.ZodUnion<readonly [zod.ZodLiteral<"single">, zod.ZodLiteral<"parallel">, zod.ZodLiteral<"sequential">, zod.ZodLiteral<"jito_bundle">]>;
1902
+ parallel: zod.ZodBoolean;
1903
+ transactions: zod.ZodArray<zod.ZodObject<{
1904
+ signature: zod.ZodString;
1905
+ status: zod.ZodUnion<readonly [zod.ZodLiteral<"pending">, zod.ZodLiteral<"confirmed">, zod.ZodLiteral<"failed">, zod.ZodLiteral<"expired">, zod.ZodLiteral<"partial">]>;
1906
+ transaction: zod.ZodOptional<zod.ZodUnknown>;
1907
+ }, zod_v4_core.$strip>>;
1908
+ jitoBundleId: zod.ZodNullable<zod.ZodOptional<zod.ZodString>>;
1909
+ 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
+ }>, {
1916
+ NOT_FOUND: {
1917
+ readonly status: 404;
1918
+ readonly message: "The requested resource was not found.";
1919
+ };
1920
+ }>, Record<never, never>>;
1921
+ resubmit: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1922
+ id: zod.ZodString;
1923
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1924
+ success: zod.ZodBoolean;
1925
+ message: zod.ZodString;
1926
+ error: zod.ZodOptional<zod.ZodString>;
1927
+ 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
+ }>, {
1934
+ NOT_FOUND: {
1935
+ readonly status: 404;
1936
+ readonly message: "The requested resource was not found.";
1937
+ };
1938
+ BAD_REQUEST: {
1939
+ readonly status: 400;
1940
+ readonly message: "Invalid input data provided.";
1941
+ readonly data: zod.ZodOptional<zod.ZodObject<{
1942
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1943
+ }, zod_v4_core.$strip>>;
1944
+ };
1945
+ }>, Record<never, never>>;
1946
+ getByPayer: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1947
+ payer: zod.ZodString;
1948
+ page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1949
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1950
+ status: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
1951
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1952
+ payer: zod.ZodString;
1953
+ batches: zod.ZodArray<zod.ZodObject<{
1954
+ batchId: zod.ZodString;
1955
+ tag: zod.ZodOptional<zod.ZodString>;
1956
+ status: zod.ZodString;
1957
+ submissionType: zod.ZodString;
1958
+ parallel: zod.ZodBoolean;
1959
+ createdAt: zod.ZodString;
1960
+ updatedAt: zod.ZodString;
1961
+ transactions: zod.ZodArray<zod.ZodObject<{
1962
+ metadata: zod.ZodOptional<zod.ZodObject<{
1963
+ type: zod.ZodString;
1964
+ description: zod.ZodString;
1965
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1966
+ }, zod_v4_core.$strip>>;
1967
+ }, zod_v4_core.$strip>>;
1968
+ pagination: zod.ZodObject<{
1969
+ page: zod.ZodNumber;
1970
+ limit: zod.ZodNumber;
1971
+ total: zod.ZodNumber;
1972
+ totalPages: zod.ZodNumber;
704
1973
  }, zod_v4_core.$strip>;
705
- readonly errors: {
706
- readonly BAD_REQUEST: {
707
- readonly message: "Invalid payer address";
708
- };
709
- };
710
- };
711
- readonly getByPayerAndTag: {
712
- readonly route: {
713
- readonly method: "GET";
714
- readonly path: "/transactions/payer/{payer}/tag/{tag}";
715
- };
716
- readonly input: zod.ZodObject<{
717
- payer: zod.ZodString;
718
- tag: zod.ZodString;
719
- page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
720
- limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
721
- status: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
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
+ }>, {
1980
+ BAD_REQUEST: {
1981
+ readonly status: 400;
1982
+ readonly message: "Invalid input data provided.";
1983
+ readonly data: zod.ZodOptional<zod.ZodObject<{
1984
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1985
+ }, zod_v4_core.$strip>>;
1986
+ };
1987
+ }>, Record<never, never>>;
1988
+ getByPayerAndTag: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
1989
+ payer: zod.ZodString;
1990
+ tag: zod.ZodString;
1991
+ page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1992
+ limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
1993
+ status: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
1994
+ }, zod_v4_core.$strip>, zod.ZodObject<{
1995
+ payer: zod.ZodString;
1996
+ batches: zod.ZodArray<zod.ZodObject<{
1997
+ batchId: zod.ZodString;
1998
+ tag: zod.ZodOptional<zod.ZodString>;
1999
+ status: zod.ZodString;
2000
+ submissionType: zod.ZodString;
2001
+ parallel: zod.ZodBoolean;
2002
+ createdAt: zod.ZodString;
2003
+ updatedAt: zod.ZodString;
2004
+ transactions: zod.ZodArray<zod.ZodObject<{
2005
+ metadata: zod.ZodOptional<zod.ZodObject<{
2006
+ type: zod.ZodString;
2007
+ description: zod.ZodString;
2008
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
2009
+ }, zod_v4_core.$strip>>;
2010
+ }, zod_v4_core.$strip>>;
2011
+ pagination: zod.ZodObject<{
2012
+ page: zod.ZodNumber;
2013
+ limit: zod.ZodNumber;
2014
+ total: zod.ZodNumber;
2015
+ totalPages: zod.ZodNumber;
722
2016
  }, zod_v4_core.$strip>;
723
- readonly output: zod.ZodObject<{
724
- payer: zod.ZodString;
725
- batches: zod.ZodArray<zod.ZodObject<{
726
- batchId: zod.ZodString;
727
- tag: zod.ZodOptional<zod.ZodString>;
728
- status: zod.ZodString;
729
- submissionType: zod.ZodString;
730
- parallel: zod.ZodBoolean;
731
- createdAt: zod.ZodString;
732
- updatedAt: zod.ZodString;
733
- transactions: zod.ZodArray<zod.ZodObject<{
734
- metadata: zod.ZodOptional<zod.ZodObject<{
735
- type: zod.ZodString;
736
- description: zod.ZodString;
737
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
738
- }, 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
+ }>, {
2023
+ BAD_REQUEST: {
2024
+ readonly status: 400;
2025
+ readonly message: "Invalid input data provided.";
2026
+ readonly data: zod.ZodOptional<zod.ZodObject<{
2027
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2028
+ }, zod_v4_core.$strip>>;
2029
+ };
2030
+ }>, Record<never, never>>;
2031
+ };
2032
+ welcomePacks: {
2033
+ list: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
2034
+ walletAddress: zod.ZodString;
2035
+ }, zod_v4_core.$strip>, zod.ZodArray<zod.ZodObject<{
2036
+ address: zod.ZodString;
2037
+ id: zod.ZodNumber;
2038
+ owner: zod.ZodString;
2039
+ asset: zod.ZodString;
2040
+ lazyDistributor: zod.ZodString;
2041
+ rewardsMint: zod.ZodString;
2042
+ rentRefund: zod.ZodString;
2043
+ solAmount: zod.ZodString;
2044
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
2045
+ address: zod.ZodString;
2046
+ type: zod.ZodEnum<{
2047
+ fixed: "fixed";
2048
+ percentage: "percentage";
2049
+ }>;
2050
+ amount: zod.ZodNumber;
2051
+ }, zod_v4_core.$strip>>;
2052
+ rewardsSchedule: zod.ZodString;
2053
+ assetReturnAddress: zod.ZodString;
2054
+ bumpSeed: zod.ZodNumber;
2055
+ uniqueId: zod.ZodString;
2056
+ loading: zod.ZodOptional<zod.ZodBoolean>;
2057
+ hotspot: zod.ZodNullable<zod.ZodObject<{
2058
+ address: zod.ZodString;
2059
+ entityKey: zod.ZodString;
2060
+ name: zod.ZodString;
2061
+ type: zod.ZodEnum<{
2062
+ iot: "iot";
2063
+ mobile: "mobile";
2064
+ all: "all";
2065
+ }>;
2066
+ deviceType: zod.ZodEnum<{
2067
+ "iot-gateway": "iot-gateway";
2068
+ wifiIndoor: "wifiIndoor";
2069
+ wifiOutdoor: "wifiOutdoor";
2070
+ wifiDataOnly: "wifiDataOnly";
2071
+ cbrs: "cbrs";
2072
+ }>;
2073
+ city: zod.ZodOptional<zod.ZodString>;
2074
+ state: zod.ZodOptional<zod.ZodString>;
2075
+ country: zod.ZodOptional<zod.ZodString>;
2076
+ asset: zod.ZodString;
2077
+ isOnline: zod.ZodOptional<zod.ZodBoolean>;
2078
+ owner: zod.ZodOptional<zod.ZodString>;
2079
+ shares: zod.ZodOptional<zod.ZodObject<{
2080
+ fixed: zod.ZodOptional<zod.ZodString>;
2081
+ percentage: zod.ZodOptional<zod.ZodNumber>;
739
2082
  }, zod_v4_core.$strip>>;
740
- pagination: zod.ZodObject<{
741
- page: zod.ZodNumber;
742
- limit: zod.ZodNumber;
743
- total: zod.ZodNumber;
744
- totalPages: zod.ZodNumber;
745
- }, zod_v4_core.$strip>;
746
- }, zod_v4_core.$strip>;
747
- readonly errors: {
748
- readonly BAD_REQUEST: {
749
- readonly message: "Invalid parameters";
750
- };
2083
+ ownershipType: zod.ZodString;
2084
+ }, zod_v4_core.$strip>>;
2085
+ }, zod_v4_core.$strip>>, Omit<_orpc_contract.MergedErrorMap<Record<never, never>, {
2086
+ INVALID_WALLET_ADDRESS: {
2087
+ message: string;
2088
+ status: number;
751
2089
  };
752
- };
753
- };
754
- readonly welcomePacks: {
755
- readonly list: {
756
- readonly route: {
757
- readonly method: "GET";
758
- readonly path: "/welcome-packs/{walletAddress}";
759
- };
760
- readonly input: zod.ZodObject<{
761
- walletAddress: zod.ZodString;
2090
+ }>, never>, Record<never, never>>;
2091
+ create: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
2092
+ walletAddress: zod.ZodString;
2093
+ assetId: zod.ZodString;
2094
+ solAmount: zod.ZodNumber;
2095
+ rentRefund: zod.ZodString;
2096
+ assetReturnAddress: zod.ZodString;
2097
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
2098
+ address: zod.ZodString;
2099
+ type: zod.ZodEnum<{
2100
+ fixed: "fixed";
2101
+ percentage: "percentage";
2102
+ }>;
2103
+ amount: zod.ZodNumber;
2104
+ }, zod_v4_core.$strip>>;
2105
+ schedule: zod.ZodObject<{
2106
+ frequency: zod.ZodEnum<{
2107
+ daily: "daily";
2108
+ weekly: "weekly";
2109
+ monthly: "monthly";
2110
+ }>;
2111
+ time: zod.ZodString;
2112
+ timezone: zod.ZodString;
2113
+ dayOfWeek: zod.ZodOptional<zod.ZodString>;
2114
+ dayOfMonth: zod.ZodOptional<zod.ZodString>;
762
2115
  }, zod_v4_core.$strip>;
763
- readonly output: zod.ZodArray<zod.ZodObject<{
2116
+ lazyDistributor: zod.ZodString;
2117
+ }, zod_v4_core.$strip>, zod.ZodObject<{
2118
+ welcomePack: zod.ZodObject<{
764
2119
  address: zod.ZodString;
765
2120
  id: zod.ZodNumber;
766
2121
  owner: zod.ZodString;
@@ -810,398 +2165,252 @@ declare const apiContract: {
810
2165
  }, zod_v4_core.$strip>>;
811
2166
  ownershipType: zod.ZodString;
812
2167
  }, zod_v4_core.$strip>>;
813
- }, zod_v4_core.$strip>>;
814
- readonly errors: {
815
- readonly BAD_REQUEST: {
816
- readonly message: "Invalid wallet address";
817
- };
818
- };
819
- };
820
- readonly create: {
821
- readonly route: {
822
- readonly method: "POST";
823
- readonly path: "/welcome-packs";
824
- };
825
- readonly input: zod.ZodObject<{
826
- walletAddress: zod.ZodString;
827
- assetId: zod.ZodString;
828
- solAmount: zod.ZodNumber;
829
- rentRefund: zod.ZodString;
830
- assetReturnAddress: zod.ZodString;
831
- rewardsSplit: zod.ZodArray<zod.ZodObject<{
832
- address: zod.ZodString;
833
- type: zod.ZodEnum<{
834
- fixed: "fixed";
835
- percentage: "percentage";
836
- }>;
837
- amount: zod.ZodNumber;
838
- }, zod_v4_core.$strip>>;
839
- schedule: zod.ZodObject<{
840
- frequency: zod.ZodEnum<{
841
- daily: "daily";
842
- weekly: "weekly";
843
- monthly: "monthly";
844
- }>;
845
- time: zod.ZodString;
846
- timezone: zod.ZodString;
847
- dayOfWeek: zod.ZodOptional<zod.ZodString>;
848
- dayOfMonth: zod.ZodOptional<zod.ZodString>;
849
- }, zod_v4_core.$strip>;
850
- lazyDistributor: zod.ZodString;
851
- }, zod_v4_core.$strip>;
852
- readonly output: zod.ZodObject<{
853
- welcomePack: zod.ZodObject<{
854
- address: zod.ZodString;
855
- id: zod.ZodNumber;
856
- owner: zod.ZodString;
857
- asset: zod.ZodString;
858
- lazyDistributor: zod.ZodString;
859
- rewardsMint: zod.ZodString;
860
- rentRefund: zod.ZodString;
861
- solAmount: zod.ZodString;
862
- rewardsSplit: zod.ZodArray<zod.ZodObject<{
863
- address: zod.ZodString;
864
- type: zod.ZodEnum<{
865
- fixed: "fixed";
866
- percentage: "percentage";
867
- }>;
868
- amount: zod.ZodNumber;
869
- }, zod_v4_core.$strip>>;
870
- rewardsSchedule: zod.ZodString;
871
- assetReturnAddress: zod.ZodString;
872
- bumpSeed: zod.ZodNumber;
873
- uniqueId: zod.ZodString;
874
- loading: zod.ZodOptional<zod.ZodBoolean>;
875
- hotspot: zod.ZodNullable<zod.ZodObject<{
876
- address: zod.ZodString;
877
- entityKey: zod.ZodString;
878
- name: zod.ZodString;
879
- type: zod.ZodEnum<{
880
- iot: "iot";
881
- mobile: "mobile";
882
- all: "all";
883
- }>;
884
- deviceType: zod.ZodEnum<{
885
- "iot-gateway": "iot-gateway";
886
- wifiIndoor: "wifiIndoor";
887
- wifiOutdoor: "wifiOutdoor";
888
- wifiDataOnly: "wifiDataOnly";
889
- cbrs: "cbrs";
890
- }>;
891
- city: zod.ZodOptional<zod.ZodString>;
892
- state: zod.ZodOptional<zod.ZodString>;
893
- country: zod.ZodOptional<zod.ZodString>;
894
- asset: zod.ZodString;
895
- isOnline: zod.ZodOptional<zod.ZodBoolean>;
896
- owner: zod.ZodOptional<zod.ZodString>;
897
- shares: zod.ZodOptional<zod.ZodObject<{
898
- fixed: zod.ZodOptional<zod.ZodString>;
899
- percentage: zod.ZodOptional<zod.ZodNumber>;
900
- }, zod_v4_core.$strip>>;
901
- ownershipType: zod.ZodString;
902
- }, zod_v4_core.$strip>>;
903
- }, zod_v4_core.$strip>;
904
- transactionData: zod.ZodObject<{
905
- transactions: zod.ZodArray<zod.ZodObject<{
906
- serializedTransaction: zod.ZodString;
907
- metadata: zod.ZodOptional<zod.ZodObject<{
908
- type: zod.ZodString;
909
- description: zod.ZodString;
910
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
911
- }, zod_v4_core.$strip>>;
912
- parallel: zod.ZodBoolean;
913
- tag: zod.ZodOptional<zod.ZodString>;
914
- }, zod_v4_core.$strip>;
915
2168
  }, zod_v4_core.$strip>;
916
- readonly errors: {
917
- readonly BAD_REQUEST: {
918
- readonly message: "Invalid welcome pack configuration";
919
- };
920
- readonly UNAUTHORIZED: {
921
- readonly status: 401;
922
- readonly message: "Authentication required. Please sign in to continue.";
923
- };
924
- readonly FORBIDDEN: {
925
- readonly status: 403;
926
- readonly message: "You do not have permission to access this resource.";
927
- };
928
- readonly NOT_FOUND: {
929
- readonly status: 404;
930
- readonly message: "The requested resource was not found.";
931
- };
932
- readonly VALIDATION_ERROR: {
933
- readonly status: 400;
934
- readonly message: "Invalid input data provided.";
935
- readonly data: zod.ZodObject<{
936
- fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
937
- }, zod_v4_core.$strip>;
938
- };
939
- };
940
- };
941
- readonly get: {
942
- readonly route: {
943
- readonly method: "GET";
944
- readonly path: "/welcome-packs/{walletAddress}/{packId}";
945
- };
946
- readonly input: zod.ZodObject<{
947
- walletAddress: zod.ZodString;
948
- packId: zod.ZodNumber;
2169
+ transactionData: zod.ZodObject<{
2170
+ transactions: zod.ZodArray<zod.ZodObject<{
2171
+ serializedTransaction: zod.ZodString;
2172
+ metadata: zod.ZodOptional<zod.ZodObject<{
2173
+ type: zod.ZodString;
2174
+ description: zod.ZodString;
2175
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
2176
+ }, zod_v4_core.$strip>>;
2177
+ parallel: zod.ZodBoolean;
2178
+ tag: zod.ZodOptional<zod.ZodString>;
949
2179
  }, zod_v4_core.$strip>;
950
- readonly output: zod.ZodObject<{
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
+ }>, {
2186
+ BAD_REQUEST: {
2187
+ readonly status: 400;
2188
+ readonly message: "Invalid input data provided.";
2189
+ readonly data: zod.ZodOptional<zod.ZodObject<{
2190
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2191
+ }, zod_v4_core.$strip>>;
2192
+ };
2193
+ }>, Record<never, never>>;
2194
+ get: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
2195
+ walletAddress: zod.ZodString;
2196
+ packId: zod.ZodNumber;
2197
+ }, zod_v4_core.$strip>, zod.ZodObject<{
2198
+ address: zod.ZodString;
2199
+ id: zod.ZodNumber;
2200
+ owner: zod.ZodString;
2201
+ asset: zod.ZodString;
2202
+ lazyDistributor: zod.ZodString;
2203
+ rewardsMint: zod.ZodString;
2204
+ rentRefund: zod.ZodString;
2205
+ solAmount: zod.ZodString;
2206
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
951
2207
  address: zod.ZodString;
952
- id: zod.ZodNumber;
953
- owner: zod.ZodString;
2208
+ type: zod.ZodEnum<{
2209
+ fixed: "fixed";
2210
+ percentage: "percentage";
2211
+ }>;
2212
+ amount: zod.ZodNumber;
2213
+ }, zod_v4_core.$strip>>;
2214
+ rewardsSchedule: zod.ZodString;
2215
+ assetReturnAddress: zod.ZodString;
2216
+ bumpSeed: zod.ZodNumber;
2217
+ uniqueId: zod.ZodString;
2218
+ loading: zod.ZodOptional<zod.ZodBoolean>;
2219
+ hotspot: zod.ZodNullable<zod.ZodObject<{
2220
+ address: zod.ZodString;
2221
+ entityKey: zod.ZodString;
2222
+ name: zod.ZodString;
2223
+ type: zod.ZodEnum<{
2224
+ iot: "iot";
2225
+ mobile: "mobile";
2226
+ all: "all";
2227
+ }>;
2228
+ deviceType: zod.ZodEnum<{
2229
+ "iot-gateway": "iot-gateway";
2230
+ wifiIndoor: "wifiIndoor";
2231
+ wifiOutdoor: "wifiOutdoor";
2232
+ wifiDataOnly: "wifiDataOnly";
2233
+ cbrs: "cbrs";
2234
+ }>;
2235
+ city: zod.ZodOptional<zod.ZodString>;
2236
+ state: zod.ZodOptional<zod.ZodString>;
2237
+ country: zod.ZodOptional<zod.ZodString>;
954
2238
  asset: zod.ZodString;
955
- lazyDistributor: zod.ZodString;
956
- rewardsMint: zod.ZodString;
957
- rentRefund: zod.ZodString;
958
- solAmount: zod.ZodString;
959
- rewardsSplit: zod.ZodArray<zod.ZodObject<{
960
- address: zod.ZodString;
961
- type: zod.ZodEnum<{
962
- fixed: "fixed";
963
- percentage: "percentage";
964
- }>;
965
- amount: zod.ZodNumber;
2239
+ isOnline: zod.ZodOptional<zod.ZodBoolean>;
2240
+ owner: zod.ZodOptional<zod.ZodString>;
2241
+ shares: zod.ZodOptional<zod.ZodObject<{
2242
+ fixed: zod.ZodOptional<zod.ZodString>;
2243
+ percentage: zod.ZodOptional<zod.ZodNumber>;
966
2244
  }, zod_v4_core.$strip>>;
967
- rewardsSchedule: zod.ZodString;
968
- assetReturnAddress: zod.ZodString;
969
- bumpSeed: zod.ZodNumber;
970
- uniqueId: zod.ZodString;
971
- loading: zod.ZodOptional<zod.ZodBoolean>;
972
- hotspot: zod.ZodNullable<zod.ZodObject<{
973
- address: zod.ZodString;
974
- entityKey: zod.ZodString;
975
- name: zod.ZodString;
976
- type: zod.ZodEnum<{
977
- iot: "iot";
978
- mobile: "mobile";
979
- all: "all";
980
- }>;
981
- deviceType: zod.ZodEnum<{
982
- "iot-gateway": "iot-gateway";
983
- wifiIndoor: "wifiIndoor";
984
- wifiOutdoor: "wifiOutdoor";
985
- wifiDataOnly: "wifiDataOnly";
986
- cbrs: "cbrs";
987
- }>;
988
- city: zod.ZodOptional<zod.ZodString>;
989
- state: zod.ZodOptional<zod.ZodString>;
990
- country: zod.ZodOptional<zod.ZodString>;
991
- asset: zod.ZodString;
992
- isOnline: zod.ZodOptional<zod.ZodBoolean>;
993
- owner: zod.ZodOptional<zod.ZodString>;
994
- shares: zod.ZodOptional<zod.ZodObject<{
995
- fixed: zod.ZodOptional<zod.ZodString>;
996
- percentage: zod.ZodOptional<zod.ZodNumber>;
997
- }, zod_v4_core.$strip>>;
998
- ownershipType: zod.ZodString;
2245
+ ownershipType: zod.ZodString;
2246
+ }, 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
+ }>, {
2253
+ NOT_FOUND: {
2254
+ readonly status: 404;
2255
+ readonly message: "The requested resource was not found.";
2256
+ };
2257
+ }>, Record<never, never>>;
2258
+ delete: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
2259
+ walletAddress: zod.ZodString;
2260
+ packId: zod.ZodNumber;
2261
+ }, zod_v4_core.$strip>, zod.ZodObject<{
2262
+ transactionData: zod.ZodObject<{
2263
+ transactions: zod.ZodArray<zod.ZodObject<{
2264
+ serializedTransaction: zod.ZodString;
2265
+ metadata: zod.ZodOptional<zod.ZodObject<{
2266
+ type: zod.ZodString;
2267
+ description: zod.ZodString;
2268
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
999
2269
  }, zod_v4_core.$strip>>;
2270
+ parallel: zod.ZodBoolean;
2271
+ tag: zod.ZodOptional<zod.ZodString>;
1000
2272
  }, zod_v4_core.$strip>;
1001
- readonly errors: {
1002
- readonly NOT_FOUND: {
1003
- readonly message: "Welcome pack not found";
1004
- };
1005
- };
1006
- };
1007
- readonly delete: {
1008
- readonly route: {
1009
- readonly method: "DELETE";
1010
- readonly path: "/welcome-packs/{walletAddress}/{packId}";
1011
- };
1012
- readonly input: zod.ZodObject<{
1013
- walletAddress: zod.ZodString;
1014
- packId: zod.ZodNumber;
1015
- }, zod_v4_core.$strip>;
1016
- readonly output: zod.ZodObject<{
1017
- transactionData: zod.ZodObject<{
1018
- transactions: zod.ZodArray<zod.ZodObject<{
1019
- serializedTransaction: zod.ZodString;
1020
- metadata: zod.ZodOptional<zod.ZodObject<{
1021
- type: zod.ZodString;
1022
- description: zod.ZodString;
1023
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1024
- }, zod_v4_core.$strip>>;
1025
- parallel: zod.ZodBoolean;
1026
- tag: zod.ZodOptional<zod.ZodString>;
1027
- }, zod_v4_core.$strip>;
1028
- }, zod_v4_core.$strip>;
1029
- readonly errors: {
1030
- readonly NOT_FOUND: {
1031
- readonly message: "Welcome pack not found";
1032
- };
1033
- readonly UNAUTHORIZED: {
1034
- readonly status: 401;
1035
- readonly message: "Authentication required. Please sign in to continue.";
1036
- };
1037
- readonly FORBIDDEN: {
1038
- readonly status: 403;
1039
- readonly message: "You do not have permission to access this resource.";
1040
- };
1041
- readonly VALIDATION_ERROR: {
1042
- readonly status: 400;
1043
- readonly message: "Invalid input data provided.";
1044
- readonly data: zod.ZodObject<{
1045
- fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1046
- }, zod_v4_core.$strip>;
1047
- };
1048
- };
1049
- };
1050
- readonly getByAddress: {
1051
- readonly route: {
1052
- readonly method: "GET";
1053
- readonly path: "/welcome-packs/address/{packAddress}";
1054
- };
1055
- readonly input: zod.ZodObject<{
1056
- packAddress: zod.ZodString;
1057
- }, zod_v4_core.$strip>;
1058
- readonly output: zod.ZodObject<{
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
+ }>, {
2279
+ BAD_REQUEST: {
2280
+ readonly status: 400;
2281
+ readonly message: "Invalid input data provided.";
2282
+ readonly data: zod.ZodOptional<zod.ZodObject<{
2283
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2284
+ }, zod_v4_core.$strip>>;
2285
+ };
2286
+ }>, Record<never, never>>;
2287
+ getByAddress: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
2288
+ packAddress: zod.ZodString;
2289
+ }, zod_v4_core.$strip>, zod.ZodObject<{
2290
+ address: zod.ZodString;
2291
+ id: zod.ZodNumber;
2292
+ owner: zod.ZodString;
2293
+ asset: zod.ZodString;
2294
+ lazyDistributor: zod.ZodString;
2295
+ rewardsMint: zod.ZodString;
2296
+ rentRefund: zod.ZodString;
2297
+ solAmount: zod.ZodString;
2298
+ rewardsSplit: zod.ZodArray<zod.ZodObject<{
1059
2299
  address: zod.ZodString;
1060
- id: zod.ZodNumber;
1061
- owner: zod.ZodString;
2300
+ type: zod.ZodEnum<{
2301
+ fixed: "fixed";
2302
+ percentage: "percentage";
2303
+ }>;
2304
+ amount: zod.ZodNumber;
2305
+ }, zod_v4_core.$strip>>;
2306
+ rewardsSchedule: zod.ZodString;
2307
+ assetReturnAddress: zod.ZodString;
2308
+ bumpSeed: zod.ZodNumber;
2309
+ uniqueId: zod.ZodString;
2310
+ loading: zod.ZodOptional<zod.ZodBoolean>;
2311
+ hotspot: zod.ZodNullable<zod.ZodObject<{
2312
+ address: zod.ZodString;
2313
+ entityKey: zod.ZodString;
2314
+ name: zod.ZodString;
2315
+ type: zod.ZodEnum<{
2316
+ iot: "iot";
2317
+ mobile: "mobile";
2318
+ all: "all";
2319
+ }>;
2320
+ deviceType: zod.ZodEnum<{
2321
+ "iot-gateway": "iot-gateway";
2322
+ wifiIndoor: "wifiIndoor";
2323
+ wifiOutdoor: "wifiOutdoor";
2324
+ wifiDataOnly: "wifiDataOnly";
2325
+ cbrs: "cbrs";
2326
+ }>;
2327
+ city: zod.ZodOptional<zod.ZodString>;
2328
+ state: zod.ZodOptional<zod.ZodString>;
2329
+ country: zod.ZodOptional<zod.ZodString>;
1062
2330
  asset: zod.ZodString;
1063
- lazyDistributor: zod.ZodString;
1064
- rewardsMint: zod.ZodString;
1065
- rentRefund: zod.ZodString;
1066
- solAmount: zod.ZodString;
1067
- rewardsSplit: zod.ZodArray<zod.ZodObject<{
1068
- address: zod.ZodString;
1069
- type: zod.ZodEnum<{
1070
- fixed: "fixed";
1071
- percentage: "percentage";
1072
- }>;
1073
- amount: zod.ZodNumber;
2331
+ isOnline: zod.ZodOptional<zod.ZodBoolean>;
2332
+ owner: zod.ZodOptional<zod.ZodString>;
2333
+ shares: zod.ZodOptional<zod.ZodObject<{
2334
+ fixed: zod.ZodOptional<zod.ZodString>;
2335
+ percentage: zod.ZodOptional<zod.ZodNumber>;
1074
2336
  }, zod_v4_core.$strip>>;
1075
- rewardsSchedule: zod.ZodString;
1076
- assetReturnAddress: zod.ZodString;
1077
- bumpSeed: zod.ZodNumber;
1078
- uniqueId: zod.ZodString;
1079
- loading: zod.ZodOptional<zod.ZodBoolean>;
1080
- hotspot: zod.ZodNullable<zod.ZodObject<{
1081
- address: zod.ZodString;
1082
- entityKey: zod.ZodString;
1083
- name: zod.ZodString;
1084
- type: zod.ZodEnum<{
1085
- iot: "iot";
1086
- mobile: "mobile";
1087
- all: "all";
1088
- }>;
1089
- deviceType: zod.ZodEnum<{
1090
- "iot-gateway": "iot-gateway";
1091
- wifiIndoor: "wifiIndoor";
1092
- wifiOutdoor: "wifiOutdoor";
1093
- wifiDataOnly: "wifiDataOnly";
1094
- cbrs: "cbrs";
1095
- }>;
1096
- city: zod.ZodOptional<zod.ZodString>;
1097
- state: zod.ZodOptional<zod.ZodString>;
1098
- country: zod.ZodOptional<zod.ZodString>;
1099
- asset: zod.ZodString;
1100
- isOnline: zod.ZodOptional<zod.ZodBoolean>;
1101
- owner: zod.ZodOptional<zod.ZodString>;
1102
- shares: zod.ZodOptional<zod.ZodObject<{
1103
- fixed: zod.ZodOptional<zod.ZodString>;
1104
- percentage: zod.ZodOptional<zod.ZodNumber>;
1105
- }, zod_v4_core.$strip>>;
1106
- ownershipType: zod.ZodString;
2337
+ ownershipType: zod.ZodString;
2338
+ }, 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
+ }>, {
2345
+ NOT_FOUND: {
2346
+ readonly status: 404;
2347
+ readonly message: "The requested resource was not found.";
2348
+ };
2349
+ }>, Record<never, never>>;
2350
+ claim: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
2351
+ packAddress: zod.ZodString;
2352
+ walletAddress: zod.ZodString;
2353
+ signature: zod.ZodString;
2354
+ expirationTs: zod.ZodString;
2355
+ }, zod_v4_core.$strip>, zod.ZodObject<{
2356
+ transactionData: zod.ZodObject<{
2357
+ transactions: zod.ZodArray<zod.ZodObject<{
2358
+ serializedTransaction: zod.ZodString;
2359
+ metadata: zod.ZodOptional<zod.ZodObject<{
2360
+ type: zod.ZodString;
2361
+ description: zod.ZodString;
2362
+ }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1107
2363
  }, zod_v4_core.$strip>>;
2364
+ parallel: zod.ZodBoolean;
2365
+ tag: zod.ZodOptional<zod.ZodString>;
1108
2366
  }, zod_v4_core.$strip>;
1109
- readonly errors: {
1110
- readonly NOT_FOUND: {
1111
- readonly message: "Welcome pack not found";
1112
- };
1113
- };
1114
- };
1115
- readonly claim: {
1116
- readonly route: {
1117
- readonly method: "POST";
1118
- readonly path: "/welcome-packs/claim";
1119
- };
1120
- readonly input: zod.ZodObject<{
1121
- packAddress: zod.ZodString;
1122
- walletAddress: zod.ZodString;
1123
- signature: zod.ZodString;
1124
- expirationTs: zod.ZodString;
1125
- }, zod_v4_core.$strip>;
1126
- readonly output: zod.ZodObject<{
1127
- transactionData: zod.ZodObject<{
1128
- transactions: zod.ZodArray<zod.ZodObject<{
1129
- serializedTransaction: zod.ZodString;
1130
- metadata: zod.ZodOptional<zod.ZodObject<{
1131
- type: zod.ZodString;
1132
- description: zod.ZodString;
1133
- }, zod_v4_core.$catchall<zod.ZodUnknown>>>;
1134
- }, zod_v4_core.$strip>>;
1135
- parallel: zod.ZodBoolean;
1136
- tag: zod.ZodOptional<zod.ZodString>;
1137
- }, zod_v4_core.$strip>;
1138
- }, zod_v4_core.$strip>;
1139
- readonly errors: {
1140
- readonly BAD_REQUEST: {
1141
- readonly message: "Invalid claim parameters";
1142
- };
1143
- readonly EXPIRED: {
1144
- readonly message: "Claim link has expired";
1145
- };
1146
- readonly UNAUTHORIZED: {
1147
- readonly status: 401;
1148
- readonly message: "Authentication required. Please sign in to continue.";
1149
- };
1150
- readonly FORBIDDEN: {
1151
- readonly status: 403;
1152
- readonly message: "You do not have permission to access this resource.";
1153
- };
1154
- readonly NOT_FOUND: {
1155
- readonly status: 404;
1156
- readonly message: "The requested resource was not found.";
1157
- };
1158
- readonly VALIDATION_ERROR: {
1159
- readonly status: 400;
1160
- readonly message: "Invalid input data provided.";
1161
- readonly data: zod.ZodObject<{
1162
- fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1163
- }, zod_v4_core.$strip>;
1164
- };
1165
- };
1166
- };
1167
- readonly invite: {
1168
- readonly route: {
1169
- readonly method: "POST";
1170
- readonly path: "/welcome-packs/invite";
1171
- };
1172
- readonly input: zod.ZodObject<{
1173
- packAddress: zod.ZodString;
1174
- walletAddress: zod.ZodString;
1175
- expirationDays: zod.ZodDefault<zod.ZodNumber>;
1176
- }, zod_v4_core.$strip>;
1177
- readonly output: zod.ZodObject<{
1178
- message: zod.ZodString;
1179
- expirationTs: zod.ZodNumber;
1180
- }, zod_v4_core.$strip>;
1181
- readonly errors: {
1182
- readonly NOT_FOUND: {
1183
- readonly message: "Welcome pack not found";
1184
- };
1185
- readonly UNAUTHORIZED: {
1186
- readonly status: 401;
1187
- readonly message: "Authentication required. Please sign in to continue.";
1188
- };
1189
- readonly FORBIDDEN: {
1190
- readonly status: 403;
1191
- readonly message: "You do not have permission to access this resource.";
1192
- };
1193
- readonly VALIDATION_ERROR: {
1194
- readonly status: 400;
1195
- readonly message: "Invalid input data provided.";
1196
- readonly data: zod.ZodObject<{
1197
- fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
1198
- }, zod_v4_core.$strip>;
1199
- };
1200
- };
1201
- };
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
+ }>, {
2373
+ BAD_REQUEST: {
2374
+ readonly status: 400;
2375
+ readonly message: "Invalid input data provided.";
2376
+ readonly data: zod.ZodOptional<zod.ZodObject<{
2377
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2378
+ }, zod_v4_core.$strip>>;
2379
+ };
2380
+ EXPIRED: {
2381
+ message: string;
2382
+ status: number;
2383
+ };
2384
+ }>, Record<never, never>>;
2385
+ invite: _orpc_contract.ContractProcedureBuilderWithInputOutput<zod.ZodObject<{
2386
+ packAddress: zod.ZodString;
2387
+ walletAddress: zod.ZodString;
2388
+ expirationDays: zod.ZodDefault<zod.ZodNumber>;
2389
+ }, zod_v4_core.$strip>, zod.ZodObject<{
2390
+ message: zod.ZodString;
2391
+ 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
+ }>, {
2398
+ BAD_REQUEST: {
2399
+ readonly status: 400;
2400
+ readonly message: "Invalid input data provided.";
2401
+ readonly data: zod.ZodOptional<zod.ZodObject<{
2402
+ fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
2403
+ }, zod_v4_core.$strip>>;
2404
+ };
2405
+ NOT_FOUND: {
2406
+ readonly status: 404;
2407
+ readonly message: "The requested resource was not found.";
2408
+ };
2409
+ }>, Record<never, never>>;
1202
2410
  };
1203
2411
  };
1204
2412
  type APIContract = typeof apiContract;
2413
+ type FullAPIContract = typeof fullApiContract;
1205
2414
 
1206
2415
  /**
1207
2416
  * Utility types to infer client interface from contract definitions.
@@ -1277,50 +2486,6 @@ type MockImplementation = DeepPartial<APIRouter>;
1277
2486
  */
1278
2487
  declare function createMockClient(mocks?: MockImplementation): APIRouter;
1279
2488
 
1280
- interface OpenAPIInfo {
1281
- title: string;
1282
- version: string;
1283
- description?: string;
1284
- }
1285
- interface OpenAPISpec {
1286
- openapi: string;
1287
- info: OpenAPIInfo;
1288
- servers?: Array<{
1289
- url: string;
1290
- description?: string;
1291
- }>;
1292
- paths: Record<string, unknown>;
1293
- components: {
1294
- schemas: Record<string, unknown>;
1295
- };
1296
- }
1297
- /**
1298
- * Generate an OpenAPI 3.0 specification from the API contract.
1299
- *
1300
- * @example
1301
- * ```typescript
1302
- * const spec = generateOpenAPISpec({
1303
- * title: 'Helium Blockchain API',
1304
- * version: '1.0.0',
1305
- * servers: [{ url: 'https://api.helium.com' }]
1306
- * });
1307
- *
1308
- * // Write to file
1309
- * fs.writeFileSync('openapi.json', JSON.stringify(spec, null, 2));
1310
- * ```
1311
- */
1312
- declare function generateOpenAPISpec(options: {
1313
- info?: Partial<OpenAPIInfo>;
1314
- servers?: Array<{
1315
- url: string;
1316
- description?: string;
1317
- }>;
1318
- }): OpenAPISpec;
1319
- /**
1320
- * Get the API contract for inspection or custom processing.
1321
- */
1322
- declare function getAPIContract(): APIContract;
1323
-
1324
2489
  /**
1325
2490
  * Metadata associated with a transaction for tracking and display purposes.
1326
2491
  */
@@ -1890,21 +3055,21 @@ declare const SubmitOutputSchema: z.ZodObject<{
1890
3055
  }, z.core.$strip>;
1891
3056
  declare const TransactionStatusSchema: z.ZodObject<{
1892
3057
  signature: z.ZodString;
1893
- status: z.ZodString;
3058
+ status: z.ZodUnion<readonly [z.ZodLiteral<"pending">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"failed">, z.ZodLiteral<"expired">, z.ZodLiteral<"partial">]>;
1894
3059
  transaction: z.ZodOptional<z.ZodUnknown>;
1895
3060
  }, z.core.$strip>;
1896
3061
  declare const BatchStatusOutputSchema: z.ZodObject<{
1897
3062
  batchId: z.ZodString;
1898
- status: z.ZodString;
1899
- submissionType: z.ZodString;
3063
+ status: z.ZodUnion<readonly [z.ZodLiteral<"pending">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"failed">, z.ZodLiteral<"expired">, z.ZodLiteral<"partial">]>;
3064
+ submissionType: z.ZodUnion<readonly [z.ZodLiteral<"single">, z.ZodLiteral<"parallel">, z.ZodLiteral<"sequential">, z.ZodLiteral<"jito_bundle">]>;
1900
3065
  parallel: z.ZodBoolean;
1901
3066
  transactions: z.ZodArray<z.ZodObject<{
1902
3067
  signature: z.ZodString;
1903
- status: z.ZodString;
3068
+ status: z.ZodUnion<readonly [z.ZodLiteral<"pending">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"failed">, z.ZodLiteral<"expired">, z.ZodLiteral<"partial">]>;
1904
3069
  transaction: z.ZodOptional<z.ZodUnknown>;
1905
3070
  }, z.core.$strip>>;
1906
- jitoBundleId: z.ZodOptional<z.ZodString>;
1907
- jitoBundleStatus: z.ZodOptional<z.ZodUnknown>;
3071
+ jitoBundleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3072
+ jitoBundleStatus: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
1908
3073
  }, z.core.$strip>;
1909
3074
  declare const ResubmitOutputSchema: z.ZodObject<{
1910
3075
  success: z.ZodBoolean;
@@ -2226,12 +3391,12 @@ type WelcomePackClaimOutput = z.infer<typeof WelcomePackClaimOutputSchema>;
2226
3391
  type WelcomePackInviteOutput = z.infer<typeof WelcomePackInviteOutputSchema>;
2227
3392
 
2228
3393
  /** Authentication required error */
2229
- declare const UNAUTHORIZED: {
3394
+ declare const UNAUTHENTICATED: {
2230
3395
  readonly status: 401;
2231
3396
  readonly message: "Authentication required. Please sign in to continue.";
2232
3397
  };
2233
3398
  /** Insufficient permissions error */
2234
- declare const FORBIDDEN: {
3399
+ declare const UNAUTHORIZED: {
2235
3400
  readonly status: 403;
2236
3401
  readonly message: "You do not have permission to access this resource.";
2237
3402
  };
@@ -2241,12 +3406,12 @@ declare const NOT_FOUND: {
2241
3406
  readonly message: "The requested resource was not found.";
2242
3407
  };
2243
3408
  /** Input validation failed error */
2244
- declare const VALIDATION_ERROR: {
3409
+ declare const BAD_REQUEST: {
2245
3410
  readonly status: 400;
2246
3411
  readonly message: "Invalid input data provided.";
2247
- readonly data: z.ZodObject<{
3412
+ readonly data: z.ZodOptional<z.ZodObject<{
2248
3413
  fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2249
- }, z.core.$strip>;
3414
+ }, z.core.$strip>>;
2250
3415
  };
2251
3416
  /** Rate limit exceeded error */
2252
3417
  declare const RATE_LIMITED: {
@@ -2257,33 +3422,6 @@ declare const RATE_LIMITED: {
2257
3422
  declare const CONFLICT: {
2258
3423
  readonly status: 409;
2259
3424
  readonly message: "A resource with this identifier already exists.";
2260
- readonly data: z.ZodObject<{
2261
- existingId: z.ZodOptional<z.ZodString>;
2262
- }, z.core.$strip>;
2263
- };
2264
- /**
2265
- * Common error definitions that can be spread into procedure error configs.
2266
- */
2267
- declare const commonErrors: {
2268
- readonly UNAUTHORIZED: {
2269
- readonly status: 401;
2270
- readonly message: "Authentication required. Please sign in to continue.";
2271
- };
2272
- readonly FORBIDDEN: {
2273
- readonly status: 403;
2274
- readonly message: "You do not have permission to access this resource.";
2275
- };
2276
- readonly NOT_FOUND: {
2277
- readonly status: 404;
2278
- readonly message: "The requested resource was not found.";
2279
- };
2280
- readonly VALIDATION_ERROR: {
2281
- readonly status: 400;
2282
- readonly message: "Invalid input data provided.";
2283
- readonly data: z.ZodObject<{
2284
- fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2285
- }, z.core.$strip>;
2286
- };
2287
3425
  };
2288
3426
 
2289
3427
  /** Insufficient Solana balance error */
@@ -2313,70 +3451,5 @@ declare const SIMULATION_FAILED: {
2313
3451
  link: z.ZodOptional<z.ZodString>;
2314
3452
  }, z.core.$strip>;
2315
3453
  };
2316
- /**
2317
- * Solana-specific error definitions for transaction-related procedures.
2318
- */
2319
- declare const solanaErrors: {
2320
- readonly INSUFFICIENT_FUNDS: {
2321
- readonly status: 400;
2322
- readonly message: "Insufficient SOL balance to complete this transaction.";
2323
- readonly data: z.ZodObject<{
2324
- required: z.ZodNumber;
2325
- available: z.ZodNumber;
2326
- }, z.core.$strip>;
2327
- };
2328
- readonly TRANSACTION_FAILED: {
2329
- readonly status: 500;
2330
- readonly message: "Transaction failed to execute.";
2331
- readonly data: z.ZodObject<{
2332
- logs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2333
- signature: z.ZodOptional<z.ZodString>;
2334
- }, z.core.$strip>;
2335
- };
2336
- readonly SIMULATION_FAILED: {
2337
- readonly status: 400;
2338
- readonly message: "Transaction simulation failed.";
2339
- readonly data: z.ZodObject<{
2340
- logs: z.ZodOptional<z.ZodArray<z.ZodString>>;
2341
- link: z.ZodOptional<z.ZodString>;
2342
- }, z.core.$strip>;
2343
- };
2344
- };
2345
-
2346
- /** Asset not owned by wallet error */
2347
- declare const NOT_OWNER: {
2348
- readonly status: 403;
2349
- readonly message: "You do not own this asset.";
2350
- readonly data: z.ZodObject<{
2351
- owner: z.ZodString;
2352
- wallet: z.ZodString;
2353
- }, z.core.$strip>;
2354
- };
2355
- /** Invalid Helium hotspot error */
2356
- declare const INVALID_HOTSPOT: {
2357
- readonly status: 400;
2358
- readonly message: "The specified asset is not a valid Helium hotspot.";
2359
- };
2360
- /**
2361
- * Hotspot-specific error definitions.
2362
- */
2363
- declare const hotspotErrors: {
2364
- readonly NOT_OWNER: {
2365
- readonly status: 403;
2366
- readonly message: "You do not own this asset.";
2367
- readonly data: z.ZodObject<{
2368
- owner: z.ZodString;
2369
- wallet: z.ZodString;
2370
- }, z.core.$strip>;
2371
- };
2372
- readonly INVALID_HOTSPOT: {
2373
- readonly status: 400;
2374
- readonly message: "The specified asset is not a valid Helium hotspot.";
2375
- };
2376
- readonly NOT_FOUND: {
2377
- readonly status: 404;
2378
- readonly message: "The requested resource was not found.";
2379
- };
2380
- };
2381
3454
 
2382
- export { type APIContract, type APIRouter, 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, FORBIDDEN, 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, INVALID_HOTSPOT, type MockImplementation, NOT_FOUND, NOT_OWNER, 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, UNAUTHORIZED, type UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, VALIDATION_ERROR, 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, commonErrors, createClient, createMockClient, generateOpenAPISpec, getAPIContract, hotspotErrors, solanaErrors };
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 };