@helium/blockchain-api 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +435 -64
- package/dist/index.js +140 -41
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -277,8 +277,8 @@ declare const apiContract: {
|
|
|
277
277
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
278
278
|
address: zod.ZodString;
|
|
279
279
|
type: zod.ZodEnum<{
|
|
280
|
-
fixed: "fixed";
|
|
281
280
|
percentage: "percentage";
|
|
281
|
+
fixed: "fixed";
|
|
282
282
|
}>;
|
|
283
283
|
amount: zod.ZodNumber;
|
|
284
284
|
}, zod_v4_core.$strip>>;
|
|
@@ -345,6 +345,135 @@ declare const apiContract: {
|
|
|
345
345
|
readonly message: "The requested resource was not found.";
|
|
346
346
|
};
|
|
347
347
|
}>>>, Record<never, never>>;
|
|
348
|
+
closeAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
349
|
+
walletAddress: zod.ZodString;
|
|
350
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
351
|
+
transactionData: zod.ZodObject<{
|
|
352
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
353
|
+
serializedTransaction: zod.ZodString;
|
|
354
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
355
|
+
type: zod.ZodString;
|
|
356
|
+
description: zod.ZodString;
|
|
357
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
358
|
+
}, zod_v4_core.$strip>>;
|
|
359
|
+
parallel: zod.ZodBoolean;
|
|
360
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
361
|
+
}, zod_v4_core.$strip>;
|
|
362
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
363
|
+
NOT_FOUND: {
|
|
364
|
+
readonly status: 404;
|
|
365
|
+
readonly message: "The requested resource was not found.";
|
|
366
|
+
};
|
|
367
|
+
}>>>, Record<never, never>>;
|
|
368
|
+
getAutomationStatus: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
369
|
+
walletAddress: zod.ZodString;
|
|
370
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
371
|
+
hasExistingAutomation: zod.ZodBoolean;
|
|
372
|
+
isOutOfSol: zod.ZodBoolean;
|
|
373
|
+
currentSchedule: zod.ZodOptional<zod.ZodObject<{
|
|
374
|
+
schedule: zod.ZodEnum<{
|
|
375
|
+
daily: "daily";
|
|
376
|
+
weekly: "weekly";
|
|
377
|
+
monthly: "monthly";
|
|
378
|
+
}>;
|
|
379
|
+
time: zod.ZodString;
|
|
380
|
+
nextRun: zod.ZodString;
|
|
381
|
+
}, zod_v4_core.$strip>>;
|
|
382
|
+
rentFee: zod.ZodNumber;
|
|
383
|
+
recipientFee: zod.ZodNumber;
|
|
384
|
+
solFee: zod.ZodNumber;
|
|
385
|
+
remainingClaims: zod.ZodOptional<zod.ZodNumber>;
|
|
386
|
+
fundingPeriodInfo: zod.ZodOptional<zod.ZodObject<{
|
|
387
|
+
periodLength: zod.ZodEnum<{
|
|
388
|
+
daily: "daily";
|
|
389
|
+
weekly: "weekly";
|
|
390
|
+
monthly: "monthly";
|
|
391
|
+
}>;
|
|
392
|
+
periodsRemaining: zod.ZodNumber;
|
|
393
|
+
cronJobPeriodsRemaining: zod.ZodNumber;
|
|
394
|
+
pdaWalletPeriodsRemaining: zod.ZodNumber;
|
|
395
|
+
}, zod_v4_core.$strip>>;
|
|
396
|
+
cronJobBalance: zod.ZodString;
|
|
397
|
+
pdaWalletBalance: zod.ZodString;
|
|
398
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
399
|
+
NOT_FOUND: {
|
|
400
|
+
readonly status: 404;
|
|
401
|
+
readonly message: "The requested resource was not found.";
|
|
402
|
+
};
|
|
403
|
+
}>>>, Record<never, never>>;
|
|
404
|
+
createAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
405
|
+
walletAddress: zod.ZodString;
|
|
406
|
+
schedule: zod.ZodEnum<{
|
|
407
|
+
daily: "daily";
|
|
408
|
+
weekly: "weekly";
|
|
409
|
+
monthly: "monthly";
|
|
410
|
+
}>;
|
|
411
|
+
duration: zod.ZodNumber;
|
|
412
|
+
totalHotspots: zod.ZodNumber;
|
|
413
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
414
|
+
transactionData: zod.ZodObject<{
|
|
415
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
416
|
+
serializedTransaction: zod.ZodString;
|
|
417
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
418
|
+
type: zod.ZodString;
|
|
419
|
+
description: zod.ZodString;
|
|
420
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
421
|
+
}, zod_v4_core.$strip>>;
|
|
422
|
+
parallel: zod.ZodBoolean;
|
|
423
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
424
|
+
}, zod_v4_core.$strip>;
|
|
425
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
426
|
+
NOT_FOUND: {
|
|
427
|
+
readonly status: 404;
|
|
428
|
+
readonly message: "The requested resource was not found.";
|
|
429
|
+
};
|
|
430
|
+
}>>>, Record<never, never>>;
|
|
431
|
+
fundAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
432
|
+
walletAddress: zod.ZodString;
|
|
433
|
+
additionalDuration: zod.ZodNumber;
|
|
434
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
435
|
+
transactionData: zod.ZodObject<{
|
|
436
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
437
|
+
serializedTransaction: zod.ZodString;
|
|
438
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
439
|
+
type: zod.ZodString;
|
|
440
|
+
description: zod.ZodString;
|
|
441
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
442
|
+
}, zod_v4_core.$strip>>;
|
|
443
|
+
parallel: zod.ZodBoolean;
|
|
444
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
445
|
+
}, zod_v4_core.$strip>;
|
|
446
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
447
|
+
NOT_FOUND: {
|
|
448
|
+
readonly status: 404;
|
|
449
|
+
readonly message: "The requested resource was not found.";
|
|
450
|
+
};
|
|
451
|
+
INSUFFICIENT_FUNDS: {
|
|
452
|
+
readonly status: 400;
|
|
453
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
454
|
+
readonly data: zod.ZodObject<{
|
|
455
|
+
required: zod.ZodNumber;
|
|
456
|
+
available: zod.ZodNumber;
|
|
457
|
+
}, zod_v4_core.$strip>;
|
|
458
|
+
};
|
|
459
|
+
}>>>, Record<never, never>>;
|
|
460
|
+
getFundingEstimate: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
461
|
+
walletAddress: zod.ZodString;
|
|
462
|
+
duration: zod.ZodCoercedNumber<unknown>;
|
|
463
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
464
|
+
cronJobFunding: zod.ZodNumber;
|
|
465
|
+
pdaWalletFunding: zod.ZodNumber;
|
|
466
|
+
recipientFee: zod.ZodNumber;
|
|
467
|
+
totalFunding: zod.ZodNumber;
|
|
468
|
+
currentCronJobBalance: zod.ZodString;
|
|
469
|
+
currentPdaWalletBalance: zod.ZodString;
|
|
470
|
+
additionalFundingNeeded: zod.ZodNumber;
|
|
471
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
472
|
+
NOT_FOUND: {
|
|
473
|
+
readonly status: 404;
|
|
474
|
+
readonly message: "The requested resource was not found.";
|
|
475
|
+
};
|
|
476
|
+
}>>>, Record<never, never>>;
|
|
348
477
|
};
|
|
349
478
|
swap: {
|
|
350
479
|
getTokens: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
@@ -612,8 +741,8 @@ declare const apiContract: {
|
|
|
612
741
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
613
742
|
address: zod.ZodString;
|
|
614
743
|
type: zod.ZodEnum<{
|
|
615
|
-
fixed: "fixed";
|
|
616
744
|
percentage: "percentage";
|
|
745
|
+
fixed: "fixed";
|
|
617
746
|
}>;
|
|
618
747
|
amount: zod.ZodNumber;
|
|
619
748
|
}, zod_v4_core.$strip>>;
|
|
@@ -665,8 +794,8 @@ declare const apiContract: {
|
|
|
665
794
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
666
795
|
address: zod.ZodString;
|
|
667
796
|
type: zod.ZodEnum<{
|
|
668
|
-
fixed: "fixed";
|
|
669
797
|
percentage: "percentage";
|
|
798
|
+
fixed: "fixed";
|
|
670
799
|
}>;
|
|
671
800
|
amount: zod.ZodNumber;
|
|
672
801
|
}, zod_v4_core.$strip>>;
|
|
@@ -695,8 +824,8 @@ declare const apiContract: {
|
|
|
695
824
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
696
825
|
address: zod.ZodString;
|
|
697
826
|
type: zod.ZodEnum<{
|
|
698
|
-
fixed: "fixed";
|
|
699
827
|
percentage: "percentage";
|
|
828
|
+
fixed: "fixed";
|
|
700
829
|
}>;
|
|
701
830
|
amount: zod.ZodNumber;
|
|
702
831
|
}, zod_v4_core.$strip>>;
|
|
@@ -769,8 +898,8 @@ declare const apiContract: {
|
|
|
769
898
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
770
899
|
address: zod.ZodString;
|
|
771
900
|
type: zod.ZodEnum<{
|
|
772
|
-
fixed: "fixed";
|
|
773
901
|
percentage: "percentage";
|
|
902
|
+
fixed: "fixed";
|
|
774
903
|
}>;
|
|
775
904
|
amount: zod.ZodNumber;
|
|
776
905
|
}, zod_v4_core.$strip>>;
|
|
@@ -859,8 +988,8 @@ declare const apiContract: {
|
|
|
859
988
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
860
989
|
address: zod.ZodString;
|
|
861
990
|
type: zod.ZodEnum<{
|
|
862
|
-
fixed: "fixed";
|
|
863
991
|
percentage: "percentage";
|
|
992
|
+
fixed: "fixed";
|
|
864
993
|
}>;
|
|
865
994
|
amount: zod.ZodNumber;
|
|
866
995
|
}, zod_v4_core.$strip>>;
|
|
@@ -1528,8 +1657,8 @@ declare const fullApiContract: {
|
|
|
1528
1657
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
1529
1658
|
address: zod.ZodString;
|
|
1530
1659
|
type: zod.ZodEnum<{
|
|
1531
|
-
fixed: "fixed";
|
|
1532
1660
|
percentage: "percentage";
|
|
1661
|
+
fixed: "fixed";
|
|
1533
1662
|
}>;
|
|
1534
1663
|
amount: zod.ZodNumber;
|
|
1535
1664
|
}, zod_v4_core.$strip>>;
|
|
@@ -1596,6 +1725,135 @@ declare const fullApiContract: {
|
|
|
1596
1725
|
readonly message: "The requested resource was not found.";
|
|
1597
1726
|
};
|
|
1598
1727
|
}>>>>, Record<never, never>>;
|
|
1728
|
+
closeAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1729
|
+
walletAddress: zod.ZodString;
|
|
1730
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1731
|
+
transactionData: zod.ZodObject<{
|
|
1732
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
1733
|
+
serializedTransaction: zod.ZodString;
|
|
1734
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
1735
|
+
type: zod.ZodString;
|
|
1736
|
+
description: zod.ZodString;
|
|
1737
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
1738
|
+
}, zod_v4_core.$strip>>;
|
|
1739
|
+
parallel: zod.ZodBoolean;
|
|
1740
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
1741
|
+
}, zod_v4_core.$strip>;
|
|
1742
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1743
|
+
NOT_FOUND: {
|
|
1744
|
+
readonly status: 404;
|
|
1745
|
+
readonly message: "The requested resource was not found.";
|
|
1746
|
+
};
|
|
1747
|
+
}>>>>, Record<never, never>>;
|
|
1748
|
+
getAutomationStatus: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1749
|
+
walletAddress: zod.ZodString;
|
|
1750
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1751
|
+
hasExistingAutomation: zod.ZodBoolean;
|
|
1752
|
+
isOutOfSol: zod.ZodBoolean;
|
|
1753
|
+
currentSchedule: zod.ZodOptional<zod.ZodObject<{
|
|
1754
|
+
schedule: zod.ZodEnum<{
|
|
1755
|
+
daily: "daily";
|
|
1756
|
+
weekly: "weekly";
|
|
1757
|
+
monthly: "monthly";
|
|
1758
|
+
}>;
|
|
1759
|
+
time: zod.ZodString;
|
|
1760
|
+
nextRun: zod.ZodString;
|
|
1761
|
+
}, zod_v4_core.$strip>>;
|
|
1762
|
+
rentFee: zod.ZodNumber;
|
|
1763
|
+
recipientFee: zod.ZodNumber;
|
|
1764
|
+
solFee: zod.ZodNumber;
|
|
1765
|
+
remainingClaims: zod.ZodOptional<zod.ZodNumber>;
|
|
1766
|
+
fundingPeriodInfo: zod.ZodOptional<zod.ZodObject<{
|
|
1767
|
+
periodLength: zod.ZodEnum<{
|
|
1768
|
+
daily: "daily";
|
|
1769
|
+
weekly: "weekly";
|
|
1770
|
+
monthly: "monthly";
|
|
1771
|
+
}>;
|
|
1772
|
+
periodsRemaining: zod.ZodNumber;
|
|
1773
|
+
cronJobPeriodsRemaining: zod.ZodNumber;
|
|
1774
|
+
pdaWalletPeriodsRemaining: zod.ZodNumber;
|
|
1775
|
+
}, zod_v4_core.$strip>>;
|
|
1776
|
+
cronJobBalance: zod.ZodString;
|
|
1777
|
+
pdaWalletBalance: zod.ZodString;
|
|
1778
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1779
|
+
NOT_FOUND: {
|
|
1780
|
+
readonly status: 404;
|
|
1781
|
+
readonly message: "The requested resource was not found.";
|
|
1782
|
+
};
|
|
1783
|
+
}>>>>, Record<never, never>>;
|
|
1784
|
+
createAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1785
|
+
walletAddress: zod.ZodString;
|
|
1786
|
+
schedule: zod.ZodEnum<{
|
|
1787
|
+
daily: "daily";
|
|
1788
|
+
weekly: "weekly";
|
|
1789
|
+
monthly: "monthly";
|
|
1790
|
+
}>;
|
|
1791
|
+
duration: zod.ZodNumber;
|
|
1792
|
+
totalHotspots: zod.ZodNumber;
|
|
1793
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1794
|
+
transactionData: zod.ZodObject<{
|
|
1795
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
1796
|
+
serializedTransaction: zod.ZodString;
|
|
1797
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
1798
|
+
type: zod.ZodString;
|
|
1799
|
+
description: zod.ZodString;
|
|
1800
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
1801
|
+
}, zod_v4_core.$strip>>;
|
|
1802
|
+
parallel: zod.ZodBoolean;
|
|
1803
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
1804
|
+
}, zod_v4_core.$strip>;
|
|
1805
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1806
|
+
NOT_FOUND: {
|
|
1807
|
+
readonly status: 404;
|
|
1808
|
+
readonly message: "The requested resource was not found.";
|
|
1809
|
+
};
|
|
1810
|
+
}>>>>, Record<never, never>>;
|
|
1811
|
+
fundAutomation: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1812
|
+
walletAddress: zod.ZodString;
|
|
1813
|
+
additionalDuration: zod.ZodNumber;
|
|
1814
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1815
|
+
transactionData: zod.ZodObject<{
|
|
1816
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
1817
|
+
serializedTransaction: zod.ZodString;
|
|
1818
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
1819
|
+
type: zod.ZodString;
|
|
1820
|
+
description: zod.ZodString;
|
|
1821
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
1822
|
+
}, zod_v4_core.$strip>>;
|
|
1823
|
+
parallel: zod.ZodBoolean;
|
|
1824
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
1825
|
+
}, zod_v4_core.$strip>;
|
|
1826
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1827
|
+
NOT_FOUND: {
|
|
1828
|
+
readonly status: 404;
|
|
1829
|
+
readonly message: "The requested resource was not found.";
|
|
1830
|
+
};
|
|
1831
|
+
INSUFFICIENT_FUNDS: {
|
|
1832
|
+
readonly status: 400;
|
|
1833
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
1834
|
+
readonly data: zod.ZodObject<{
|
|
1835
|
+
required: zod.ZodNumber;
|
|
1836
|
+
available: zod.ZodNumber;
|
|
1837
|
+
}, zod_v4_core.$strip>;
|
|
1838
|
+
};
|
|
1839
|
+
}>>>>, Record<never, never>>;
|
|
1840
|
+
getFundingEstimate: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1841
|
+
walletAddress: zod.ZodString;
|
|
1842
|
+
duration: zod.ZodCoercedNumber<unknown>;
|
|
1843
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1844
|
+
cronJobFunding: zod.ZodNumber;
|
|
1845
|
+
pdaWalletFunding: zod.ZodNumber;
|
|
1846
|
+
recipientFee: zod.ZodNumber;
|
|
1847
|
+
totalFunding: zod.ZodNumber;
|
|
1848
|
+
currentCronJobBalance: zod.ZodString;
|
|
1849
|
+
currentPdaWalletBalance: zod.ZodString;
|
|
1850
|
+
additionalFundingNeeded: zod.ZodNumber;
|
|
1851
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1852
|
+
NOT_FOUND: {
|
|
1853
|
+
readonly status: 404;
|
|
1854
|
+
readonly message: "The requested resource was not found.";
|
|
1855
|
+
};
|
|
1856
|
+
}>>>>, Record<never, never>>;
|
|
1599
1857
|
};
|
|
1600
1858
|
swap: {
|
|
1601
1859
|
getTokens: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
@@ -1863,8 +2121,8 @@ declare const fullApiContract: {
|
|
|
1863
2121
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
1864
2122
|
address: zod.ZodString;
|
|
1865
2123
|
type: zod.ZodEnum<{
|
|
1866
|
-
fixed: "fixed";
|
|
1867
2124
|
percentage: "percentage";
|
|
2125
|
+
fixed: "fixed";
|
|
1868
2126
|
}>;
|
|
1869
2127
|
amount: zod.ZodNumber;
|
|
1870
2128
|
}, zod_v4_core.$strip>>;
|
|
@@ -1916,8 +2174,8 @@ declare const fullApiContract: {
|
|
|
1916
2174
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
1917
2175
|
address: zod.ZodString;
|
|
1918
2176
|
type: zod.ZodEnum<{
|
|
1919
|
-
fixed: "fixed";
|
|
1920
2177
|
percentage: "percentage";
|
|
2178
|
+
fixed: "fixed";
|
|
1921
2179
|
}>;
|
|
1922
2180
|
amount: zod.ZodNumber;
|
|
1923
2181
|
}, zod_v4_core.$strip>>;
|
|
@@ -1946,8 +2204,8 @@ declare const fullApiContract: {
|
|
|
1946
2204
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
1947
2205
|
address: zod.ZodString;
|
|
1948
2206
|
type: zod.ZodEnum<{
|
|
1949
|
-
fixed: "fixed";
|
|
1950
2207
|
percentage: "percentage";
|
|
2208
|
+
fixed: "fixed";
|
|
1951
2209
|
}>;
|
|
1952
2210
|
amount: zod.ZodNumber;
|
|
1953
2211
|
}, zod_v4_core.$strip>>;
|
|
@@ -2020,8 +2278,8 @@ declare const fullApiContract: {
|
|
|
2020
2278
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
2021
2279
|
address: zod.ZodString;
|
|
2022
2280
|
type: zod.ZodEnum<{
|
|
2023
|
-
fixed: "fixed";
|
|
2024
2281
|
percentage: "percentage";
|
|
2282
|
+
fixed: "fixed";
|
|
2025
2283
|
}>;
|
|
2026
2284
|
amount: zod.ZodNumber;
|
|
2027
2285
|
}, zod_v4_core.$strip>>;
|
|
@@ -2110,8 +2368,8 @@ declare const fullApiContract: {
|
|
|
2110
2368
|
rewardsSplit: zod.ZodArray<zod.ZodObject<{
|
|
2111
2369
|
address: zod.ZodString;
|
|
2112
2370
|
type: zod.ZodEnum<{
|
|
2113
|
-
fixed: "fixed";
|
|
2114
2371
|
percentage: "percentage";
|
|
2372
|
+
fixed: "fixed";
|
|
2115
2373
|
}>;
|
|
2116
2374
|
amount: zod.ZodNumber;
|
|
2117
2375
|
}, zod_v4_core.$strip>>;
|
|
@@ -2464,51 +2722,6 @@ declare const HotspotTypeSchema: z.ZodEnum<{
|
|
|
2464
2722
|
mobile: "mobile";
|
|
2465
2723
|
all: "all";
|
|
2466
2724
|
}>;
|
|
2467
|
-
declare const DeviceTypeSchema: z.ZodEnum<{
|
|
2468
|
-
"iot-gateway": "iot-gateway";
|
|
2469
|
-
wifiIndoor: "wifiIndoor";
|
|
2470
|
-
wifiOutdoor: "wifiOutdoor";
|
|
2471
|
-
wifiDataOnly: "wifiDataOnly";
|
|
2472
|
-
cbrs: "cbrs";
|
|
2473
|
-
}>;
|
|
2474
|
-
declare const OwnershipTypeSchema: z.ZodEnum<{
|
|
2475
|
-
all: "all";
|
|
2476
|
-
owner: "owner";
|
|
2477
|
-
direct: "direct";
|
|
2478
|
-
fanout: "fanout";
|
|
2479
|
-
}>;
|
|
2480
|
-
declare const HotspotSharesSchema: z.ZodObject<{
|
|
2481
|
-
fixed: z.ZodOptional<z.ZodString>;
|
|
2482
|
-
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2483
|
-
}, z.core.$strip>;
|
|
2484
|
-
declare const HotspotSchema: z.ZodObject<{
|
|
2485
|
-
address: z.ZodString;
|
|
2486
|
-
entityKey: z.ZodString;
|
|
2487
|
-
name: z.ZodString;
|
|
2488
|
-
type: z.ZodEnum<{
|
|
2489
|
-
iot: "iot";
|
|
2490
|
-
mobile: "mobile";
|
|
2491
|
-
all: "all";
|
|
2492
|
-
}>;
|
|
2493
|
-
deviceType: z.ZodEnum<{
|
|
2494
|
-
"iot-gateway": "iot-gateway";
|
|
2495
|
-
wifiIndoor: "wifiIndoor";
|
|
2496
|
-
wifiOutdoor: "wifiOutdoor";
|
|
2497
|
-
wifiDataOnly: "wifiDataOnly";
|
|
2498
|
-
cbrs: "cbrs";
|
|
2499
|
-
}>;
|
|
2500
|
-
city: z.ZodOptional<z.ZodString>;
|
|
2501
|
-
state: z.ZodOptional<z.ZodString>;
|
|
2502
|
-
country: z.ZodOptional<z.ZodString>;
|
|
2503
|
-
asset: z.ZodString;
|
|
2504
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
2505
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
2506
|
-
shares: z.ZodOptional<z.ZodObject<{
|
|
2507
|
-
fixed: z.ZodOptional<z.ZodString>;
|
|
2508
|
-
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2509
|
-
}, z.core.$strip>>;
|
|
2510
|
-
ownershipType: z.ZodString;
|
|
2511
|
-
}, z.core.$strip>;
|
|
2512
2725
|
declare const GetHotspotsInputSchema: z.ZodObject<{
|
|
2513
2726
|
walletAddress: z.ZodString;
|
|
2514
2727
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2543,8 +2756,8 @@ declare const GetSplitInputSchema: z.ZodObject<{
|
|
|
2543
2756
|
declare const RewardSplitInputSchema: z.ZodObject<{
|
|
2544
2757
|
address: z.ZodString;
|
|
2545
2758
|
type: z.ZodEnum<{
|
|
2546
|
-
fixed: "fixed";
|
|
2547
2759
|
percentage: "percentage";
|
|
2760
|
+
fixed: "fixed";
|
|
2548
2761
|
}>;
|
|
2549
2762
|
amount: z.ZodNumber;
|
|
2550
2763
|
}, z.core.$strip>;
|
|
@@ -2565,8 +2778,8 @@ declare const CreateSplitInputSchema: z.ZodObject<{
|
|
|
2565
2778
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
2566
2779
|
address: z.ZodString;
|
|
2567
2780
|
type: z.ZodEnum<{
|
|
2568
|
-
fixed: "fixed";
|
|
2569
2781
|
percentage: "percentage";
|
|
2782
|
+
fixed: "fixed";
|
|
2570
2783
|
}>;
|
|
2571
2784
|
amount: z.ZodNumber;
|
|
2572
2785
|
}, z.core.$strip>>;
|
|
@@ -2587,6 +2800,80 @@ declare const DeleteSplitInputSchema: z.ZodObject<{
|
|
|
2587
2800
|
walletAddress: z.ZodString;
|
|
2588
2801
|
hotspotPubkey: z.ZodString;
|
|
2589
2802
|
}, z.core.$strip>;
|
|
2803
|
+
declare const GetAutomationStatusInputSchema: z.ZodObject<{
|
|
2804
|
+
walletAddress: z.ZodString;
|
|
2805
|
+
}, z.core.$strip>;
|
|
2806
|
+
declare const AutomationScheduleSchema: z.ZodEnum<{
|
|
2807
|
+
daily: "daily";
|
|
2808
|
+
weekly: "weekly";
|
|
2809
|
+
monthly: "monthly";
|
|
2810
|
+
}>;
|
|
2811
|
+
declare const SetupAutomationInputSchema: z.ZodObject<{
|
|
2812
|
+
walletAddress: z.ZodString;
|
|
2813
|
+
schedule: z.ZodEnum<{
|
|
2814
|
+
daily: "daily";
|
|
2815
|
+
weekly: "weekly";
|
|
2816
|
+
monthly: "monthly";
|
|
2817
|
+
}>;
|
|
2818
|
+
duration: z.ZodNumber;
|
|
2819
|
+
totalHotspots: z.ZodNumber;
|
|
2820
|
+
}, z.core.$strip>;
|
|
2821
|
+
declare const FundAutomationInputSchema: z.ZodObject<{
|
|
2822
|
+
walletAddress: z.ZodString;
|
|
2823
|
+
additionalDuration: z.ZodNumber;
|
|
2824
|
+
}, z.core.$strip>;
|
|
2825
|
+
declare const GetFundingEstimateInputSchema: z.ZodObject<{
|
|
2826
|
+
walletAddress: z.ZodString;
|
|
2827
|
+
duration: z.ZodCoercedNumber<unknown>;
|
|
2828
|
+
}, z.core.$strip>;
|
|
2829
|
+
declare const CloseAutomationInputSchema: z.ZodObject<{
|
|
2830
|
+
walletAddress: z.ZodString;
|
|
2831
|
+
}, z.core.$strip>;
|
|
2832
|
+
declare const DeviceTypeSchema: z.ZodEnum<{
|
|
2833
|
+
"iot-gateway": "iot-gateway";
|
|
2834
|
+
wifiIndoor: "wifiIndoor";
|
|
2835
|
+
wifiOutdoor: "wifiOutdoor";
|
|
2836
|
+
wifiDataOnly: "wifiDataOnly";
|
|
2837
|
+
cbrs: "cbrs";
|
|
2838
|
+
}>;
|
|
2839
|
+
declare const OwnershipTypeSchema: z.ZodEnum<{
|
|
2840
|
+
all: "all";
|
|
2841
|
+
owner: "owner";
|
|
2842
|
+
direct: "direct";
|
|
2843
|
+
fanout: "fanout";
|
|
2844
|
+
}>;
|
|
2845
|
+
declare const HotspotSharesSchema: z.ZodObject<{
|
|
2846
|
+
fixed: z.ZodOptional<z.ZodString>;
|
|
2847
|
+
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2848
|
+
}, z.core.$strip>;
|
|
2849
|
+
declare const HotspotSchema: z.ZodObject<{
|
|
2850
|
+
address: z.ZodString;
|
|
2851
|
+
entityKey: z.ZodString;
|
|
2852
|
+
name: z.ZodString;
|
|
2853
|
+
type: z.ZodEnum<{
|
|
2854
|
+
iot: "iot";
|
|
2855
|
+
mobile: "mobile";
|
|
2856
|
+
all: "all";
|
|
2857
|
+
}>;
|
|
2858
|
+
deviceType: z.ZodEnum<{
|
|
2859
|
+
"iot-gateway": "iot-gateway";
|
|
2860
|
+
wifiIndoor: "wifiIndoor";
|
|
2861
|
+
wifiOutdoor: "wifiOutdoor";
|
|
2862
|
+
wifiDataOnly: "wifiDataOnly";
|
|
2863
|
+
cbrs: "cbrs";
|
|
2864
|
+
}>;
|
|
2865
|
+
city: z.ZodOptional<z.ZodString>;
|
|
2866
|
+
state: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
country: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
asset: z.ZodString;
|
|
2869
|
+
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
2870
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
shares: z.ZodOptional<z.ZodObject<{
|
|
2872
|
+
fixed: z.ZodOptional<z.ZodString>;
|
|
2873
|
+
percentage: z.ZodOptional<z.ZodNumber>;
|
|
2874
|
+
}, z.core.$strip>>;
|
|
2875
|
+
ownershipType: z.ZodString;
|
|
2876
|
+
}, z.core.$strip>;
|
|
2590
2877
|
declare const HotspotsDataSchema: z.ZodObject<{
|
|
2591
2878
|
hotspots: z.ZodArray<z.ZodObject<{
|
|
2592
2879
|
address: z.ZodString;
|
|
@@ -2705,6 +2992,83 @@ declare const DeleteSplitOutputSchema: z.ZodObject<{
|
|
|
2705
2992
|
declare const PendingRewardsOutputSchema: z.ZodObject<{
|
|
2706
2993
|
pending: z.ZodString;
|
|
2707
2994
|
}, z.core.$strip>;
|
|
2995
|
+
declare const AutomationStatusOutputSchema: z.ZodObject<{
|
|
2996
|
+
hasExistingAutomation: z.ZodBoolean;
|
|
2997
|
+
isOutOfSol: z.ZodBoolean;
|
|
2998
|
+
currentSchedule: z.ZodOptional<z.ZodObject<{
|
|
2999
|
+
schedule: z.ZodEnum<{
|
|
3000
|
+
daily: "daily";
|
|
3001
|
+
weekly: "weekly";
|
|
3002
|
+
monthly: "monthly";
|
|
3003
|
+
}>;
|
|
3004
|
+
time: z.ZodString;
|
|
3005
|
+
nextRun: z.ZodString;
|
|
3006
|
+
}, z.core.$strip>>;
|
|
3007
|
+
rentFee: z.ZodNumber;
|
|
3008
|
+
recipientFee: z.ZodNumber;
|
|
3009
|
+
solFee: z.ZodNumber;
|
|
3010
|
+
remainingClaims: z.ZodOptional<z.ZodNumber>;
|
|
3011
|
+
fundingPeriodInfo: z.ZodOptional<z.ZodObject<{
|
|
3012
|
+
periodLength: z.ZodEnum<{
|
|
3013
|
+
daily: "daily";
|
|
3014
|
+
weekly: "weekly";
|
|
3015
|
+
monthly: "monthly";
|
|
3016
|
+
}>;
|
|
3017
|
+
periodsRemaining: z.ZodNumber;
|
|
3018
|
+
cronJobPeriodsRemaining: z.ZodNumber;
|
|
3019
|
+
pdaWalletPeriodsRemaining: z.ZodNumber;
|
|
3020
|
+
}, z.core.$strip>>;
|
|
3021
|
+
cronJobBalance: z.ZodString;
|
|
3022
|
+
pdaWalletBalance: z.ZodString;
|
|
3023
|
+
}, z.core.$strip>;
|
|
3024
|
+
declare const SetupAutomationOutputSchema: z.ZodObject<{
|
|
3025
|
+
transactionData: z.ZodObject<{
|
|
3026
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
3027
|
+
serializedTransaction: z.ZodString;
|
|
3028
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
3029
|
+
type: z.ZodString;
|
|
3030
|
+
description: z.ZodString;
|
|
3031
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3032
|
+
}, z.core.$strip>>;
|
|
3033
|
+
parallel: z.ZodBoolean;
|
|
3034
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3035
|
+
}, z.core.$strip>;
|
|
3036
|
+
}, z.core.$strip>;
|
|
3037
|
+
declare const FundAutomationOutputSchema: z.ZodObject<{
|
|
3038
|
+
transactionData: z.ZodObject<{
|
|
3039
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
3040
|
+
serializedTransaction: z.ZodString;
|
|
3041
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
3042
|
+
type: z.ZodString;
|
|
3043
|
+
description: z.ZodString;
|
|
3044
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3045
|
+
}, z.core.$strip>>;
|
|
3046
|
+
parallel: z.ZodBoolean;
|
|
3047
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3048
|
+
}, z.core.$strip>;
|
|
3049
|
+
}, z.core.$strip>;
|
|
3050
|
+
declare const CloseAutomationOutputSchema: z.ZodObject<{
|
|
3051
|
+
transactionData: z.ZodObject<{
|
|
3052
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
3053
|
+
serializedTransaction: z.ZodString;
|
|
3054
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
3055
|
+
type: z.ZodString;
|
|
3056
|
+
description: z.ZodString;
|
|
3057
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3058
|
+
}, z.core.$strip>>;
|
|
3059
|
+
parallel: z.ZodBoolean;
|
|
3060
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3061
|
+
}, z.core.$strip>;
|
|
3062
|
+
}, z.core.$strip>;
|
|
3063
|
+
declare const FundingEstimateOutputSchema: z.ZodObject<{
|
|
3064
|
+
cronJobFunding: z.ZodNumber;
|
|
3065
|
+
pdaWalletFunding: z.ZodNumber;
|
|
3066
|
+
recipientFee: z.ZodNumber;
|
|
3067
|
+
totalFunding: z.ZodNumber;
|
|
3068
|
+
currentCronJobBalance: z.ZodString;
|
|
3069
|
+
currentPdaWalletBalance: z.ZodString;
|
|
3070
|
+
additionalFundingNeeded: z.ZodNumber;
|
|
3071
|
+
}, z.core.$strip>;
|
|
2708
3072
|
declare const ReassertLocationRequestSchema: z.ZodObject<{
|
|
2709
3073
|
entityPubKey: z.ZodString;
|
|
2710
3074
|
walletAddress: z.ZodString;
|
|
@@ -2744,6 +3108,13 @@ type RewardSplitInput = z.infer<typeof RewardSplitInputSchema>;
|
|
|
2744
3108
|
type ScheduleInput = z.infer<typeof ScheduleInputSchema>;
|
|
2745
3109
|
type SplitShare = z.infer<typeof SplitShareSchema>;
|
|
2746
3110
|
type SplitResponse = z.infer<typeof SplitResponseSchema>;
|
|
3111
|
+
type GetAutomationStatusInput = z.infer<typeof GetAutomationStatusInputSchema>;
|
|
3112
|
+
type AutomationStatus = z.infer<typeof AutomationStatusOutputSchema>;
|
|
3113
|
+
type SetupAutomationInput = z.infer<typeof SetupAutomationInputSchema>;
|
|
3114
|
+
type FundAutomationInput = z.infer<typeof FundAutomationInputSchema>;
|
|
3115
|
+
type CloseAutomationInput = z.infer<typeof CloseAutomationInputSchema>;
|
|
3116
|
+
type GetFundingEstimateInput = z.infer<typeof GetFundingEstimateInputSchema>;
|
|
3117
|
+
type FundingEstimate = z.infer<typeof FundingEstimateOutputSchema>;
|
|
2747
3118
|
type PendingRewardsOutput = z.infer<typeof PendingRewardsOutputSchema>;
|
|
2748
3119
|
|
|
2749
3120
|
declare const GetTokensInputSchema: z.ZodObject<{
|
|
@@ -2963,8 +3334,8 @@ declare const WelcomePackCreateInputSchema: z.ZodObject<{
|
|
|
2963
3334
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
2964
3335
|
address: z.ZodString;
|
|
2965
3336
|
type: z.ZodEnum<{
|
|
2966
|
-
fixed: "fixed";
|
|
2967
3337
|
percentage: "percentage";
|
|
3338
|
+
fixed: "fixed";
|
|
2968
3339
|
}>;
|
|
2969
3340
|
amount: z.ZodNumber;
|
|
2970
3341
|
}, z.core.$strip>>;
|
|
@@ -3015,8 +3386,8 @@ declare const WelcomePackSchema: z.ZodObject<{
|
|
|
3015
3386
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
3016
3387
|
address: z.ZodString;
|
|
3017
3388
|
type: z.ZodEnum<{
|
|
3018
|
-
fixed: "fixed";
|
|
3019
3389
|
percentage: "percentage";
|
|
3390
|
+
fixed: "fixed";
|
|
3020
3391
|
}>;
|
|
3021
3392
|
amount: z.ZodNumber;
|
|
3022
3393
|
}, z.core.$strip>>;
|
|
@@ -3066,8 +3437,8 @@ declare const WelcomePackListOutputSchema: z.ZodArray<z.ZodObject<{
|
|
|
3066
3437
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
3067
3438
|
address: z.ZodString;
|
|
3068
3439
|
type: z.ZodEnum<{
|
|
3069
|
-
fixed: "fixed";
|
|
3070
3440
|
percentage: "percentage";
|
|
3441
|
+
fixed: "fixed";
|
|
3071
3442
|
}>;
|
|
3072
3443
|
amount: z.ZodNumber;
|
|
3073
3444
|
}, z.core.$strip>>;
|
|
@@ -3118,8 +3489,8 @@ declare const WelcomePackCreateOutputSchema: z.ZodObject<{
|
|
|
3118
3489
|
rewardsSplit: z.ZodArray<z.ZodObject<{
|
|
3119
3490
|
address: z.ZodString;
|
|
3120
3491
|
type: z.ZodEnum<{
|
|
3121
|
-
fixed: "fixed";
|
|
3122
3492
|
percentage: "percentage";
|
|
3493
|
+
fixed: "fixed";
|
|
3123
3494
|
}>;
|
|
3124
3495
|
amount: z.ZodNumber;
|
|
3125
3496
|
}, z.core.$strip>>;
|
|
@@ -3279,4 +3650,4 @@ declare const SIMULATION_FAILED: {
|
|
|
3279
3650
|
}, z.core.$strip>;
|
|
3280
3651
|
};
|
|
3281
3652
|
|
|
3282
|
-
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, HeliumPublicKeySchema, type Hotspot, HotspotSchema, HotspotSharesSchema, type HotspotType, HotspotTypeSchema, type HotspotsData, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, type MockImplementation, NOT_FOUND, type OwnershipType, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, type PayerBatchSummary, PayerBatchSummarySchema, type PayerBatchesOutput, PayerBatchesOutputSchema, type PendingRewardsOutput, PendingRewardsOutputSchema, PublicKeySchema, type QuoteResponse, QuoteResponseSchema, RATE_LIMITED, ReassertLocationRequestSchema, ReassertLocationResponseSchema, type ResubmitInput, ResubmitInputSchema, type ResubmitOutput, ResubmitOutputSchema, type RewardSplitInput, RewardSplitInputSchema, SIMULATION_FAILED, type ScheduleInput, ScheduleInputSchema, type SplitResponse, SplitResponseSchema, type SplitShare, SplitShareSchema, type SubmitInput, SubmitInputSchema, type SubmitOutput, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, type Token, type TokenAccount, TokenAccountSchema, type TokenBalanceData, TokenBalanceDataSchema, type TokenListOutput, TokenListOutputSchema, TokenSchema, type TransactionBatchRequest, TransactionBatchRequestSchema, type TransactionBatchResponse, TransactionBatchResponseSchema, type TransactionData, TransactionDataSchema, type TransactionItem, TransactionItemSchema, type TransactionMetadata, TransactionMetadataSchema, type TransactionStatus, TransactionStatusSchema, type TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, type TransferInput, TransferInputSchema, type TransferOutput, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, type UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, WalletAddressSchema, type WelcomePack, type WelcomePackClaimInput, WelcomePackClaimInputSchema, type WelcomePackClaimOutput, WelcomePackClaimOutputSchema, type WelcomePackCreateInput, WelcomePackCreateInputSchema, type WelcomePackCreateOutput, WelcomePackCreateOutputSchema, type WelcomePackDeleteInput, WelcomePackDeleteInputSchema, type WelcomePackDeleteOutput, WelcomePackDeleteOutputSchema, type WelcomePackGetByAddressInput, WelcomePackGetByAddressInputSchema, type WelcomePackGetInput, WelcomePackGetInputSchema, type WelcomePackInviteInput, WelcomePackInviteInputSchema, type WelcomePackInviteOutput, WelcomePackInviteOutputSchema, type WelcomePackListInput, WelcomePackListInputSchema, type WelcomePackListOutput, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, createClient, createMockClient, fullApiContract };
|
|
3653
|
+
export { type APIContract, type APIRouter, AutomationScheduleSchema, type AutomationStatus, AutomationStatusOutputSchema, BAD_REQUEST, type BatchStatusOutput, BatchStatusOutputSchema, CONFLICT, type ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, type ClientOptions, type CloseAutomationInput, CloseAutomationInputSchema, CloseAutomationOutputSchema, type CreateHntAccountInput, CreateHntAccountInputSchema, type CreateHntAccountOutput, CreateHntAccountOutputSchema, type CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, type DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, type DeviceType, DeviceTypeSchema, type ErrorResponse, ErrorResponseSchema, type FullAPIContract, type FundAutomationInput, FundAutomationInputSchema, FundAutomationOutputSchema, type FundingEstimate, FundingEstimateOutputSchema, type GetAutomationStatusInput, GetAutomationStatusInputSchema, type GetBalancesInput, GetBalancesInputSchema, type GetByPayerAndTagInput, GetByPayerAndTagInputSchema, type GetByPayerInput, GetByPayerInputSchema, type GetFundingEstimateInput, GetFundingEstimateInputSchema, type GetHotspotsInput, GetHotspotsInputSchema, type GetInput, GetInputSchema, type GetInstructionsInput, GetInstructionsInputSchema, type GetPendingRewardsInput, GetPendingRewardsInputSchema, type GetQuoteInput, GetQuoteInputSchema, type GetSplitInput, GetSplitInputSchema, type GetTokensInput, GetTokensInputSchema, type HealthResponse, HealthResponseSchema, HeliumPublicKeySchema, type Hotspot, HotspotSchema, HotspotSharesSchema, type HotspotType, HotspotTypeSchema, type HotspotsData, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, type MockImplementation, NOT_FOUND, type OwnershipType, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, type PayerBatchSummary, PayerBatchSummarySchema, type PayerBatchesOutput, PayerBatchesOutputSchema, type PendingRewardsOutput, PendingRewardsOutputSchema, PublicKeySchema, type QuoteResponse, QuoteResponseSchema, RATE_LIMITED, ReassertLocationRequestSchema, ReassertLocationResponseSchema, type ResubmitInput, ResubmitInputSchema, type ResubmitOutput, ResubmitOutputSchema, type RewardSplitInput, RewardSplitInputSchema, SIMULATION_FAILED, type ScheduleInput, ScheduleInputSchema, type SetupAutomationInput, SetupAutomationInputSchema, SetupAutomationOutputSchema, type SplitResponse, SplitResponseSchema, type SplitShare, SplitShareSchema, type SubmitInput, SubmitInputSchema, type SubmitOutput, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, type Token, type TokenAccount, TokenAccountSchema, type TokenBalanceData, TokenBalanceDataSchema, type TokenListOutput, TokenListOutputSchema, TokenSchema, type TransactionBatchRequest, TransactionBatchRequestSchema, type TransactionBatchResponse, TransactionBatchResponseSchema, type TransactionData, TransactionDataSchema, type TransactionItem, TransactionItemSchema, type TransactionMetadata, TransactionMetadataSchema, type TransactionStatus, TransactionStatusSchema, type TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, type TransferInput, TransferInputSchema, type TransferOutput, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, type UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, WalletAddressSchema, type WelcomePack, type WelcomePackClaimInput, WelcomePackClaimInputSchema, type WelcomePackClaimOutput, WelcomePackClaimOutputSchema, type WelcomePackCreateInput, WelcomePackCreateInputSchema, type WelcomePackCreateOutput, WelcomePackCreateOutputSchema, type WelcomePackDeleteInput, WelcomePackDeleteInputSchema, type WelcomePackDeleteOutput, WelcomePackDeleteOutputSchema, type WelcomePackGetByAddressInput, WelcomePackGetByAddressInputSchema, type WelcomePackGetInput, WelcomePackGetInputSchema, type WelcomePackInviteInput, WelcomePackInviteInputSchema, type WelcomePackInviteOutput, WelcomePackInviteOutputSchema, type WelcomePackListInput, WelcomePackListInputSchema, type WelcomePackListOutput, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, createClient, createMockClient, fullApiContract };
|
package/dist/index.js
CHANGED
|
@@ -144,59 +144,32 @@ var CreateHntAccountOutputSchema = z.object({
|
|
|
144
144
|
transactionData: TransactionDataSchema
|
|
145
145
|
});
|
|
146
146
|
var HotspotTypeSchema = z.enum(["iot", "mobile", "all"]);
|
|
147
|
-
var DeviceTypeSchema = z.enum([
|
|
148
|
-
"iot-gateway",
|
|
149
|
-
"wifiIndoor",
|
|
150
|
-
"wifiOutdoor",
|
|
151
|
-
"wifiDataOnly",
|
|
152
|
-
"cbrs"
|
|
153
|
-
]);
|
|
154
|
-
var OwnershipTypeSchema = z.enum(["owner", "direct", "fanout", "all"]);
|
|
155
|
-
var HotspotSharesSchema = z.object({
|
|
156
|
-
fixed: z.string().optional(),
|
|
157
|
-
percentage: z.number().optional()
|
|
158
|
-
});
|
|
159
|
-
var HotspotSchema = z.object({
|
|
160
|
-
address: z.string(),
|
|
161
|
-
entityKey: z.string(),
|
|
162
|
-
name: z.string(),
|
|
163
|
-
type: HotspotTypeSchema,
|
|
164
|
-
deviceType: DeviceTypeSchema,
|
|
165
|
-
city: z.string().optional(),
|
|
166
|
-
state: z.string().optional(),
|
|
167
|
-
country: z.string().optional(),
|
|
168
|
-
asset: z.string(),
|
|
169
|
-
isOnline: z.boolean().optional(),
|
|
170
|
-
owner: z.string().optional(),
|
|
171
|
-
shares: HotspotSharesSchema.optional(),
|
|
172
|
-
ownershipType: z.string()
|
|
173
|
-
});
|
|
174
147
|
var GetHotspotsInputSchema = z.object({
|
|
175
|
-
walletAddress:
|
|
148
|
+
walletAddress: z.string().min(32),
|
|
176
149
|
type: HotspotTypeSchema.optional(),
|
|
177
150
|
page: z.coerce.number().int().min(1).default(1),
|
|
178
151
|
limit: z.coerce.number().int().min(1).max(100).default(10)
|
|
179
152
|
});
|
|
180
153
|
var ClaimRewardsInputSchema = z.object({
|
|
181
|
-
walletAddress:
|
|
154
|
+
walletAddress: z.string().min(32)
|
|
182
155
|
});
|
|
183
156
|
var GetPendingRewardsInputSchema = z.object({
|
|
184
|
-
walletAddress:
|
|
157
|
+
walletAddress: z.string().min(32)
|
|
185
158
|
});
|
|
186
159
|
var TransferHotspotInputSchema = z.object({
|
|
187
|
-
walletAddress:
|
|
188
|
-
hotspotPubkey:
|
|
160
|
+
walletAddress: z.string().min(32),
|
|
161
|
+
hotspotPubkey: z.string().min(1),
|
|
189
162
|
recipient: z.string().min(32)
|
|
190
163
|
});
|
|
191
164
|
var UpdateRewardsDestinationInputSchema = z.object({
|
|
192
|
-
walletAddress:
|
|
193
|
-
hotspotPubkey:
|
|
165
|
+
walletAddress: z.string().min(32),
|
|
166
|
+
hotspotPubkey: z.string().min(1),
|
|
194
167
|
destination: z.string().min(32),
|
|
195
168
|
lazyDistributors: z.array(z.string().min(32)).min(1)
|
|
196
169
|
});
|
|
197
170
|
var GetSplitInputSchema = z.object({
|
|
198
|
-
walletAddress:
|
|
199
|
-
hotspotPubkey:
|
|
171
|
+
walletAddress: z.string().min(32),
|
|
172
|
+
hotspotPubkey: z.string().min(1)
|
|
200
173
|
});
|
|
201
174
|
var RewardSplitInputSchema = z.object({
|
|
202
175
|
address: z.string().min(32),
|
|
@@ -211,15 +184,66 @@ var ScheduleInputSchema = z.object({
|
|
|
211
184
|
dayOfMonth: z.string().optional()
|
|
212
185
|
});
|
|
213
186
|
var CreateSplitInputSchema = z.object({
|
|
214
|
-
walletAddress:
|
|
215
|
-
hotspotPubkey:
|
|
187
|
+
walletAddress: z.string().min(32),
|
|
188
|
+
hotspotPubkey: z.string().min(1),
|
|
216
189
|
rewardsSplit: z.array(RewardSplitInputSchema),
|
|
217
190
|
schedule: ScheduleInputSchema,
|
|
218
191
|
lazyDistributor: z.string().min(32)
|
|
219
192
|
});
|
|
220
193
|
var DeleteSplitInputSchema = z.object({
|
|
221
|
-
walletAddress:
|
|
222
|
-
hotspotPubkey:
|
|
194
|
+
walletAddress: z.string().min(32),
|
|
195
|
+
hotspotPubkey: z.string().min(1)
|
|
196
|
+
});
|
|
197
|
+
var GetAutomationStatusInputSchema = z.object({
|
|
198
|
+
walletAddress: z.string().min(32)
|
|
199
|
+
});
|
|
200
|
+
var AutomationScheduleSchema = z.enum(["daily", "weekly", "monthly"]);
|
|
201
|
+
var SetupAutomationInputSchema = z.object({
|
|
202
|
+
walletAddress: z.string().min(32),
|
|
203
|
+
schedule: AutomationScheduleSchema,
|
|
204
|
+
duration: z.number().int().min(1),
|
|
205
|
+
// Number of claims
|
|
206
|
+
totalHotspots: z.number().int().min(1)
|
|
207
|
+
});
|
|
208
|
+
var FundAutomationInputSchema = z.object({
|
|
209
|
+
walletAddress: z.string().min(32),
|
|
210
|
+
additionalDuration: z.number().int().min(1)
|
|
211
|
+
// Additional number of claims
|
|
212
|
+
});
|
|
213
|
+
var GetFundingEstimateInputSchema = z.object({
|
|
214
|
+
walletAddress: z.string().min(32),
|
|
215
|
+
duration: z.coerce.number().int().min(1)
|
|
216
|
+
// Number of claims to estimate funding for
|
|
217
|
+
});
|
|
218
|
+
var CloseAutomationInputSchema = z.object({
|
|
219
|
+
walletAddress: z.string().min(32)
|
|
220
|
+
});
|
|
221
|
+
var DeviceTypeSchema = z.enum([
|
|
222
|
+
"iot-gateway",
|
|
223
|
+
"wifiIndoor",
|
|
224
|
+
"wifiOutdoor",
|
|
225
|
+
"wifiDataOnly",
|
|
226
|
+
"cbrs"
|
|
227
|
+
]);
|
|
228
|
+
var OwnershipTypeSchema = z.enum(["owner", "direct", "fanout", "all"]);
|
|
229
|
+
var HotspotSharesSchema = z.object({
|
|
230
|
+
fixed: z.string().optional(),
|
|
231
|
+
percentage: z.number().optional()
|
|
232
|
+
});
|
|
233
|
+
var HotspotSchema = z.object({
|
|
234
|
+
address: z.string(),
|
|
235
|
+
entityKey: z.string(),
|
|
236
|
+
name: z.string(),
|
|
237
|
+
type: HotspotTypeSchema,
|
|
238
|
+
deviceType: DeviceTypeSchema,
|
|
239
|
+
city: z.string().optional(),
|
|
240
|
+
state: z.string().optional(),
|
|
241
|
+
country: z.string().optional(),
|
|
242
|
+
asset: z.string(),
|
|
243
|
+
isOnline: z.boolean().optional(),
|
|
244
|
+
owner: z.string().optional(),
|
|
245
|
+
shares: HotspotSharesSchema.optional(),
|
|
246
|
+
ownershipType: z.string()
|
|
223
247
|
});
|
|
224
248
|
var HotspotsDataSchema = z.object({
|
|
225
249
|
hotspots: z.array(HotspotSchema),
|
|
@@ -257,6 +281,56 @@ var DeleteSplitOutputSchema = z.object({
|
|
|
257
281
|
var PendingRewardsOutputSchema = z.object({
|
|
258
282
|
pending: z.string()
|
|
259
283
|
});
|
|
284
|
+
var AutomationStatusOutputSchema = z.object({
|
|
285
|
+
hasExistingAutomation: z.boolean(),
|
|
286
|
+
isOutOfSol: z.boolean(),
|
|
287
|
+
currentSchedule: z.object({
|
|
288
|
+
schedule: AutomationScheduleSchema,
|
|
289
|
+
time: z.string(),
|
|
290
|
+
nextRun: z.string()
|
|
291
|
+
// ISO date string
|
|
292
|
+
}).optional(),
|
|
293
|
+
rentFee: z.number(),
|
|
294
|
+
recipientFee: z.number(),
|
|
295
|
+
solFee: z.number(),
|
|
296
|
+
remainingClaims: z.number().optional(),
|
|
297
|
+
fundingPeriodInfo: z.object({
|
|
298
|
+
periodLength: AutomationScheduleSchema,
|
|
299
|
+
periodsRemaining: z.number(),
|
|
300
|
+
// Minimum of both pools
|
|
301
|
+
cronJobPeriodsRemaining: z.number(),
|
|
302
|
+
pdaWalletPeriodsRemaining: z.number()
|
|
303
|
+
}).optional(),
|
|
304
|
+
cronJobBalance: z.string(),
|
|
305
|
+
// lamports as string
|
|
306
|
+
pdaWalletBalance: z.string()
|
|
307
|
+
// lamports as string
|
|
308
|
+
});
|
|
309
|
+
var SetupAutomationOutputSchema = z.object({
|
|
310
|
+
transactionData: TransactionDataSchema
|
|
311
|
+
});
|
|
312
|
+
var FundAutomationOutputSchema = z.object({
|
|
313
|
+
transactionData: TransactionDataSchema
|
|
314
|
+
});
|
|
315
|
+
var CloseAutomationOutputSchema = z.object({
|
|
316
|
+
transactionData: TransactionDataSchema
|
|
317
|
+
});
|
|
318
|
+
var FundingEstimateOutputSchema = z.object({
|
|
319
|
+
cronJobFunding: z.number(),
|
|
320
|
+
// SOL needed for cron job account
|
|
321
|
+
pdaWalletFunding: z.number(),
|
|
322
|
+
// SOL needed for PDA wallet
|
|
323
|
+
recipientFee: z.number(),
|
|
324
|
+
// SOL needed for recipient accounts (if any)
|
|
325
|
+
totalFunding: z.number(),
|
|
326
|
+
// Total SOL needed
|
|
327
|
+
currentCronJobBalance: z.string(),
|
|
328
|
+
// Current balance in cronJob (lamports as string)
|
|
329
|
+
currentPdaWalletBalance: z.string(),
|
|
330
|
+
// Current balance in pdaWallet (lamports as string)
|
|
331
|
+
additionalFundingNeeded: z.number()
|
|
332
|
+
// Net additional funding required (SOL)
|
|
333
|
+
});
|
|
260
334
|
var ReassertLocationRequestSchema = z.object({
|
|
261
335
|
entityPubKey: HeliumPublicKeySchema,
|
|
262
336
|
walletAddress: WalletAddressSchema,
|
|
@@ -581,6 +655,31 @@ var hotspotsContract = oc.tag("Hotspot").prefix("/hotspots").router({
|
|
|
581
655
|
/** Protected: Delete a split configuration */
|
|
582
656
|
deleteSplit: oc.route({ method: "DELETE", path: "/split", summary: "Delete a reward split" }).input(DeleteSplitInputSchema).output(DeleteSplitOutputSchema).errors({
|
|
583
657
|
NOT_FOUND
|
|
658
|
+
}),
|
|
659
|
+
/** Protected: Close automation */
|
|
660
|
+
closeAutomation: oc.route({ method: "POST", path: "/hotspots/wallet/{walletAddress}/automation/close", summary: "Close automation" }).input(CloseAutomationInputSchema).output(CloseAutomationOutputSchema).errors({
|
|
661
|
+
NOT_FOUND
|
|
662
|
+
}),
|
|
663
|
+
/** Protected: Get automation status */
|
|
664
|
+
getAutomationStatus: oc.route({ method: "GET", path: "/hotspots/wallet/{walletAddress}/automation/status", summary: "Get automation status" }).input(GetAutomationStatusInputSchema).output(AutomationStatusOutputSchema).errors({
|
|
665
|
+
NOT_FOUND
|
|
666
|
+
}),
|
|
667
|
+
/** Protected: Create automation */
|
|
668
|
+
createAutomation: oc.route({
|
|
669
|
+
method: "POST",
|
|
670
|
+
path: "/hotspots/wallet/{walletAddress}/automation",
|
|
671
|
+
summary: "Setup automation"
|
|
672
|
+
}).input(SetupAutomationInputSchema).output(SetupAutomationOutputSchema).errors({
|
|
673
|
+
NOT_FOUND
|
|
674
|
+
}),
|
|
675
|
+
/** Protected: Fund automation */
|
|
676
|
+
fundAutomation: oc.route({ method: "POST", path: "/hotspots/wallet/{walletAddress}/automation/fund", summary: "Fund automation" }).input(FundAutomationInputSchema).output(FundAutomationOutputSchema).errors({
|
|
677
|
+
NOT_FOUND,
|
|
678
|
+
INSUFFICIENT_FUNDS
|
|
679
|
+
}),
|
|
680
|
+
/** Protected: Get funding estimate */
|
|
681
|
+
getFundingEstimate: oc.route({ method: "GET", path: "/hotspots/wallet/{walletAddress}/automation/funding-estimate", summary: "Get funding estimate" }).input(GetFundingEstimateInputSchema).output(FundingEstimateOutputSchema).errors({
|
|
682
|
+
NOT_FOUND
|
|
584
683
|
})
|
|
585
684
|
});
|
|
586
685
|
var swapContract = oc.tag("Swap").router({
|
|
@@ -811,4 +910,4 @@ var fullApiContract = oc.router({
|
|
|
811
910
|
webhooks: webhooksContract
|
|
812
911
|
});
|
|
813
912
|
|
|
814
|
-
export { BAD_REQUEST, BatchStatusOutputSchema, CONFLICT, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, ErrorResponseSchema, GetBalancesInputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHotspotsInputSchema, GetInputSchema, GetInstructionsInputSchema, GetPendingRewardsInputSchema, GetQuoteInputSchema, GetSplitInputSchema, GetTokensInputSchema, HealthResponseSchema, HeliumPublicKeySchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, PendingRewardsOutputSchema, PublicKeySchema, QuoteResponseSchema, RATE_LIMITED, ReassertLocationRequestSchema, ReassertLocationResponseSchema, ResubmitInputSchema, ResubmitOutputSchema, RewardSplitInputSchema, SIMULATION_FAILED, ScheduleInputSchema, SplitResponseSchema, SplitShareSchema, SubmitInputSchema, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, TokenAccountSchema, TokenBalanceDataSchema, TokenListOutputSchema, TokenSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, TransactionStatusSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, TransferInputSchema, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, WalletAddressSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, createClient, createMockClient, fullApiContract };
|
|
913
|
+
export { AutomationScheduleSchema, AutomationStatusOutputSchema, BAD_REQUEST, BatchStatusOutputSchema, CONFLICT, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, ErrorResponseSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetBalancesInputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetInputSchema, GetInstructionsInputSchema, GetPendingRewardsInputSchema, GetQuoteInputSchema, GetSplitInputSchema, GetTokensInputSchema, HealthResponseSchema, HeliumPublicKeySchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, PendingRewardsOutputSchema, PublicKeySchema, QuoteResponseSchema, RATE_LIMITED, ReassertLocationRequestSchema, ReassertLocationResponseSchema, ResubmitInputSchema, ResubmitOutputSchema, RewardSplitInputSchema, SIMULATION_FAILED, ScheduleInputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, SubmitInputSchema, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, TokenAccountSchema, TokenBalanceDataSchema, TokenListOutputSchema, TokenSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, TransactionStatusSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, TransferInputSchema, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, WalletAddressSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, createClient, createMockClient, fullApiContract };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helium/blockchain-api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "TypeScript client and schemas for the Helium Blockchain API",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
"tsup": "^8.0.0",
|
|
43
43
|
"typescript": "^5.0.0"
|
|
44
44
|
}
|
|
45
|
-
}
|
|
45
|
+
}
|