@helium/blockchain-api 0.14.2 → 0.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-Y5PUR7UV.js → chunk-2OQ7WMED.js} +1 -1
- package/dist/{chunk-GI4C45MR.js → chunk-4FTDGANR.js} +2 -2
- package/dist/{chunk-PNPUIF7P.js → chunk-7GK4VHJM.js} +1 -1
- package/dist/{chunk-DM4OMXXB.js → chunk-C53BY3P3.js} +1 -1
- package/dist/{chunk-LMKKZIF6.js → chunk-EKHTXOTH.js} +10 -6
- package/dist/{chunk-DB664YCA.js → chunk-G2CYWEEW.js} +1 -1
- package/dist/{chunk-2XDXO5AZ.js → chunk-KZ3X5E6E.js} +13 -5
- package/dist/{chunk-DK2PPY3F.js → chunk-LJBIOSWV.js} +142 -47
- package/dist/{chunk-SD6DBUHP.js → chunk-RL776VJM.js} +2 -2
- package/dist/{chunk-PJEBIHIU.js → chunk-RPRIZP7B.js} +1 -1
- package/dist/{chunk-DE4MGYVZ.js → chunk-TGBSASKU.js} +4 -4
- package/dist/{chunk-VCQCOERJ.js → chunk-WGMJKDS4.js} +1 -1
- package/dist/{chunk-O5LI7ILX.js → chunk-Z4E3I2B4.js} +6 -2
- package/dist/contracts.d.ts +9 -9
- package/dist/contracts.js +13 -13
- package/dist/errors.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +13 -13
- package/dist/schemas/common.d.ts +8 -1
- package/dist/schemas/common.js +1 -1
- package/dist/schemas/data-credits.js +2 -2
- package/dist/schemas/fiat.js +3 -3
- package/dist/schemas/governance.js +2 -2
- package/dist/schemas/hotspots.d.ts +4 -4
- package/dist/schemas/hotspots.js +2 -2
- package/dist/schemas/migration.js +3 -3
- package/dist/schemas/reward-contract.js +2 -2
- package/dist/schemas/swap.js +2 -2
- package/dist/schemas/tokens.js +2 -2
- package/dist/schemas/transactions.js +2 -2
- package/dist/schemas/welcome-packs.js +3 -3
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +11 -11
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WalletAddressSchema, squadsProposeFields, TokenAmountInputSchema, PublicKeySchema, createTransactionResponse } from './chunk-
|
|
1
|
+
import { WalletAddressSchema, squadsProposeFields, TokenAmountInputSchema, PublicKeySchema, createTransactionResponse } from './chunk-Z4E3I2B4.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var GetBalancesInputSchema = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QuoteResponseSchema } from './chunk-
|
|
2
|
-
import { createTransactionResponse } from './chunk-
|
|
1
|
+
import { QuoteResponseSchema } from './chunk-G2CYWEEW.js';
|
|
2
|
+
import { createTransactionResponse } from './chunk-Z4E3I2B4.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var InitKycInputSchema = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HotspotSchema } from './chunk-
|
|
2
|
-
import { WalletAddressSchema, ScheduleInputSchema, TokenAmountInputSchema, RewardSplitInputSchema, createTransactionResponse } from './chunk-
|
|
1
|
+
import { HotspotSchema } from './chunk-WGMJKDS4.js';
|
|
2
|
+
import { WalletAddressSchema, ScheduleInputSchema, TokenAmountInputSchema, RewardSplitInputSchema, createTransactionResponse } from './chunk-Z4E3I2B4.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var WelcomePackListInputSchema = z.object({
|
|
@@ -35,7 +35,9 @@ var WelcomePackClaimInputSchema = z.object({
|
|
|
35
35
|
var WelcomePackInviteInputSchema = z.object({
|
|
36
36
|
packAddress: z.string().min(32),
|
|
37
37
|
walletAddress: WalletAddressSchema,
|
|
38
|
-
|
|
38
|
+
// An invite is approved by a signature over the pack and this expiry, and that signature is
|
|
39
|
+
// good for whatever window it names. An invite is acted on in hours, so the window is days.
|
|
40
|
+
expirationDays: z.number().int().positive().max(14).default(3)
|
|
39
41
|
});
|
|
40
42
|
var WelcomePackSchema = z.object({
|
|
41
43
|
address: z.string(),
|
|
@@ -55,9 +57,11 @@ var WelcomePackSchema = z.object({
|
|
|
55
57
|
hotspot: HotspotSchema.nullable()
|
|
56
58
|
});
|
|
57
59
|
var WelcomePackListOutputSchema = z.array(WelcomePackSchema);
|
|
58
|
-
var WelcomePackCreateOutputSchema = createTransactionResponse().extend(
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
var WelcomePackCreateOutputSchema = createTransactionResponse().extend(
|
|
61
|
+
{
|
|
62
|
+
welcomePack: WelcomePackSchema
|
|
63
|
+
}
|
|
64
|
+
);
|
|
61
65
|
var WelcomePackDeleteOutputSchema = createTransactionResponse();
|
|
62
66
|
var WelcomePackClaimOutputSchema = createTransactionResponse();
|
|
63
67
|
var WelcomePackInviteOutputSchema = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TokenAmountInputSchema, TokenAmountOutputSchema, WalletAddressSchema, TransactionDataSchema } from './chunk-
|
|
1
|
+
import { TokenAmountInputSchema, TokenAmountOutputSchema, WalletAddressSchema, TransactionDataSchema } from './chunk-Z4E3I2B4.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var CRON_REGEX = /^(\*|[0-9,\-\/]+)\s+(\*|[0-9,\-\/]+)\s+(\*|[0-9,\-\/]+)\s+(\*|[0-9,\-\/]+)\s+(\*|[0-9,\-\/]+)$/;
|
|
@@ -137,12 +137,20 @@ var CreateRewardContractTransactionInputSchema = z.object({
|
|
|
137
137
|
)
|
|
138
138
|
});
|
|
139
139
|
var EstimateCostToCreateRewardContractResponseSchema = z.object({
|
|
140
|
-
total: TokenAmountOutputSchema.describe(
|
|
140
|
+
total: TokenAmountOutputSchema.describe(
|
|
141
|
+
"The total cost to create the contract."
|
|
142
|
+
),
|
|
141
143
|
lineItems: z.object({
|
|
142
|
-
transactionFees: TokenAmountOutputSchema.describe(
|
|
144
|
+
transactionFees: TokenAmountOutputSchema.describe(
|
|
145
|
+
"The cost of transaction fees, including funding for future scheduled transactions."
|
|
146
|
+
),
|
|
143
147
|
rentFee: TokenAmountOutputSchema.describe("The cost of the rent fee."),
|
|
144
|
-
recipientGift: TokenAmountOutputSchema.describe(
|
|
145
|
-
|
|
148
|
+
recipientGift: TokenAmountOutputSchema.describe(
|
|
149
|
+
"The total cost of gifted currency, bundled with the contract."
|
|
150
|
+
)
|
|
151
|
+
}).describe(
|
|
152
|
+
"A breakdown of the costs invovled. Should sum to the total cost."
|
|
153
|
+
)
|
|
146
154
|
});
|
|
147
155
|
var CreateRewardContractTransactionResponseSchema = z.object({
|
|
148
156
|
unsignedTransactionData: TransactionDataSchema.describe(
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, BAD_REQUEST, NOT_FOUND, UNAUTHORIZED, CONFLICT, ALL_POSITIONS_SKIPPED, RATE_LIMITED, SIMULATION_FAILED, UNAUTHENTICATED } from './chunk-
|
|
1
|
+
import { INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, BAD_REQUEST, NOT_FOUND, UNAUTHORIZED, CONFLICT, ALL_POSITIONS_SKIPPED, RATE_LIMITED, SIMULATION_FAILED, UNAUTHENTICATED } from './chunk-C53BY3P3.js';
|
|
2
2
|
import { BridgeWebhookInputSchema, BridgeWebhookOutputSchema } from './chunk-7CTJX35S.js';
|
|
3
|
-
import { MigrateInputSchema, MigrateOutputSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema } from './chunk-
|
|
4
|
-
import { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, DeleteRewardContractTransactionResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-
|
|
5
|
-
import { CreateHntAccountInputSchema, CreateHntAccountOutputSchema, MemoInputSchema, MemoOutputSchema, BurnInputSchema, BurnOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, TransferInputSchema, TransferOutputSchema, GetBalancesInputSchema, TokenBalanceDataSchema } from './chunk-
|
|
6
|
-
import { GetHistoryInputSchema, HistoryOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, PayerBatchesOutputSchema, GetByPayerInputSchema, ResubmitInputSchema, ResubmitOutputSchema, GetInputSchema, BatchStatusOutputSchema, SubmitInputSchema, SubmitOutputSchema } from './chunk-
|
|
7
|
-
import { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-
|
|
8
|
-
import { WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetInputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema } from './chunk-
|
|
9
|
-
import { UpdateTransferInputSchema, UpdateTransferOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, GetSendQuoteInputSchema, QuoteOutputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, CreateBankAccountInputSchema, BankAccountSchema, BankAccountListOutputSchema, FeesOutputSchema, InitKycInputSchema, KycStatusOutputSchema } from './chunk-
|
|
10
|
-
import { GetInstructionsInputSchema, GetQuoteInputSchema, QuoteResponseSchema, GetTokensInputSchema, TokenListOutputSchema } from './chunk-
|
|
11
|
-
import { UnassignProxiesInputSchema, UnassignProxiesResponseSchema, AssignProxiesInputSchema, AssignProxiesResponseSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, VoteInputSchema, VoteResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema } from './chunk-
|
|
3
|
+
import { MigrateInputSchema, MigrateOutputSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema } from './chunk-RL776VJM.js';
|
|
4
|
+
import { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, DeleteRewardContractTransactionResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-KZ3X5E6E.js';
|
|
5
|
+
import { CreateHntAccountInputSchema, CreateHntAccountOutputSchema, MemoInputSchema, MemoOutputSchema, BurnInputSchema, BurnOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, TransferInputSchema, TransferOutputSchema, GetBalancesInputSchema, TokenBalanceDataSchema } from './chunk-2OQ7WMED.js';
|
|
6
|
+
import { GetHistoryInputSchema, HistoryOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, PayerBatchesOutputSchema, GetByPayerInputSchema, ResubmitInputSchema, ResubmitOutputSchema, GetInputSchema, BatchStatusOutputSchema, SubmitInputSchema, SubmitOutputSchema } from './chunk-TGBSASKU.js';
|
|
7
|
+
import { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-7GK4VHJM.js';
|
|
8
|
+
import { WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetInputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema } from './chunk-EKHTXOTH.js';
|
|
9
|
+
import { UpdateTransferInputSchema, UpdateTransferOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, GetSendQuoteInputSchema, QuoteOutputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, CreateBankAccountInputSchema, BankAccountSchema, BankAccountListOutputSchema, FeesOutputSchema, InitKycInputSchema, KycStatusOutputSchema } from './chunk-4FTDGANR.js';
|
|
10
|
+
import { GetInstructionsInputSchema, GetQuoteInputSchema, QuoteResponseSchema, GetTokensInputSchema, TokenListOutputSchema } from './chunk-G2CYWEEW.js';
|
|
11
|
+
import { UnassignProxiesInputSchema, UnassignProxiesResponseSchema, AssignProxiesInputSchema, AssignProxiesResponseSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, VoteInputSchema, VoteResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema } from './chunk-RPRIZP7B.js';
|
|
12
12
|
import { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
13
|
-
import { UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, GetFundingEstimateInputSchema, FundingEstimateOutputSchema, FundAutomationInputSchema, FundAutomationOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, GetAutomationStatusInputSchema, AutomationStatusOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, GetSplitInputSchema, SplitResponseSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, GetHotspotsInputSchema, HotspotsDataSchema } from './chunk-
|
|
14
|
-
import { WalletAddressSchema, HeliumPublicKeySchema, TransactionDataSchema, PublicKeySchema } from './chunk-
|
|
13
|
+
import { UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, GetFundingEstimateInputSchema, FundingEstimateOutputSchema, FundAutomationInputSchema, FundAutomationOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, GetAutomationStatusInputSchema, AutomationStatusOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, GetSplitInputSchema, SplitResponseSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, GetHotspotsInputSchema, HotspotsDataSchema } from './chunk-WGMJKDS4.js';
|
|
14
|
+
import { WalletAddressSchema, HeliumPublicKeySchema, TransactionDataSchema, PublicKeySchema } from './chunk-Z4E3I2B4.js';
|
|
15
15
|
import { oc } from '@orpc/contract';
|
|
16
16
|
import { z } from 'zod';
|
|
17
17
|
|
|
@@ -411,9 +411,11 @@ var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
|
|
|
411
411
|
path: "/{entityPubKey}/reward-contract",
|
|
412
412
|
summary: "Get Contract",
|
|
413
413
|
description: "Retrieves the reward contract (pending or active) associated with a specific hotspot entity."
|
|
414
|
-
}).input(
|
|
415
|
-
|
|
416
|
-
|
|
414
|
+
}).input(
|
|
415
|
+
z.object({
|
|
416
|
+
entityPubKey: HeliumPublicKeySchema
|
|
417
|
+
})
|
|
418
|
+
).errors({
|
|
417
419
|
NOT_FOUND,
|
|
418
420
|
BAD_REQUEST
|
|
419
421
|
}).output(FindRewardContractResponseSchema),
|
|
@@ -422,9 +424,13 @@ var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
|
|
|
422
424
|
path: "/{entityPubKey}/reward-contract/estimate-creation-cost",
|
|
423
425
|
summary: "Estimate Creation Cost",
|
|
424
426
|
description: "Estimates the cost to create a reward contract for a specific hotspot entity."
|
|
425
|
-
}).input(
|
|
426
|
-
|
|
427
|
-
|
|
427
|
+
}).input(
|
|
428
|
+
CreateRewardContractTransactionInputSchema.extend({
|
|
429
|
+
entityPubKey: HeliumPublicKeySchema.describe(
|
|
430
|
+
"The public key of the hotspot entity"
|
|
431
|
+
)
|
|
432
|
+
})
|
|
433
|
+
).output(EstimateCostToCreateRewardContractResponseSchema).errors({
|
|
428
434
|
BAD_REQUEST,
|
|
429
435
|
NOT_FOUND
|
|
430
436
|
}),
|
|
@@ -435,8 +441,12 @@ var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
|
|
|
435
441
|
description: "Assembles an unsigned transaction to create a claimable or finalized reward contract for a specific hotspot entity. If the input inlcudes a pending/claimable recipient, the contract will be created as a pending/claimable contract. If the input is defined exclusively with preset recipients, an active contract will be created directly."
|
|
436
442
|
}).input(
|
|
437
443
|
CreateRewardContractTransactionInputSchema.extend({
|
|
438
|
-
entityPubKey: HeliumPublicKeySchema.describe(
|
|
439
|
-
|
|
444
|
+
entityPubKey: HeliumPublicKeySchema.describe(
|
|
445
|
+
"The public key of the hotspot entity"
|
|
446
|
+
),
|
|
447
|
+
signerWalletAddress: WalletAddressSchema.describe(
|
|
448
|
+
"The wallet address of the caller"
|
|
449
|
+
)
|
|
440
450
|
})
|
|
441
451
|
).errors({
|
|
442
452
|
BAD_REQUEST,
|
|
@@ -453,8 +463,12 @@ var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
|
|
|
453
463
|
description: "Assembles an unsigned transaction to delete a reward contract (pending or active) for a specific hotspot entity."
|
|
454
464
|
}).input(
|
|
455
465
|
z.object({
|
|
456
|
-
entityPubKey: HeliumPublicKeySchema.describe(
|
|
457
|
-
|
|
466
|
+
entityPubKey: HeliumPublicKeySchema.describe(
|
|
467
|
+
"The public key of the hotspot entity"
|
|
468
|
+
),
|
|
469
|
+
signerWalletAddress: WalletAddressSchema.describe(
|
|
470
|
+
"The wallet address of the caller"
|
|
471
|
+
)
|
|
458
472
|
})
|
|
459
473
|
).errors({
|
|
460
474
|
BAD_REQUEST,
|
|
@@ -470,9 +484,13 @@ var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
|
|
|
470
484
|
description: "Assembles details required to create a shareable invite to claim a pending reward contract."
|
|
471
485
|
}).input(
|
|
472
486
|
z.object({
|
|
473
|
-
entityPubKey: HeliumPublicKeySchema.describe(
|
|
474
|
-
|
|
475
|
-
|
|
487
|
+
entityPubKey: HeliumPublicKeySchema.describe(
|
|
488
|
+
"The public key of the hotspot entity"
|
|
489
|
+
),
|
|
490
|
+
signerWalletAddress: WalletAddressSchema.describe(
|
|
491
|
+
"The wallet address of the caller"
|
|
492
|
+
),
|
|
493
|
+
expirationDays: z.number().int().positive().max(14).default(3).describe("Number of days until the invite expires")
|
|
476
494
|
})
|
|
477
495
|
).errors({
|
|
478
496
|
// if no hotspot or contract found
|
|
@@ -489,8 +507,12 @@ var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
|
|
|
489
507
|
description: "Assembles an unsigned transaction which can be used to claim an invite."
|
|
490
508
|
}).input(
|
|
491
509
|
ClaimInviteRequestSchema.extend({
|
|
492
|
-
entityPubKey: HeliumPublicKeySchema.describe(
|
|
493
|
-
|
|
510
|
+
entityPubKey: HeliumPublicKeySchema.describe(
|
|
511
|
+
"The public key of the hotspot entity"
|
|
512
|
+
),
|
|
513
|
+
signerWalletAddress: WalletAddressSchema.describe(
|
|
514
|
+
"The wallet address of the caller"
|
|
515
|
+
)
|
|
494
516
|
})
|
|
495
517
|
).errors({
|
|
496
518
|
// if no hotspot or contract found
|
|
@@ -513,71 +535,129 @@ var swapContract = oc.tag("Swap").router({
|
|
|
513
535
|
}),
|
|
514
536
|
getInstructions: oc.route({ method: "POST", path: "/swap/instructions" }).input(GetInstructionsInputSchema).output(TransactionDataSchema).errors({
|
|
515
537
|
BAD_REQUEST: { message: "Invalid instruction parameters", status: 400 },
|
|
516
|
-
JUPITER_ERROR: {
|
|
538
|
+
JUPITER_ERROR: {
|
|
539
|
+
message: "Failed to get swap instructions from Jupiter"
|
|
540
|
+
},
|
|
517
541
|
INSUFFICIENT_FUNDS,
|
|
518
542
|
RATE_LIMITED
|
|
519
543
|
})
|
|
520
544
|
});
|
|
521
545
|
var transactionsContract = oc.tag("Transactions").router({
|
|
522
|
-
submit: oc.route({
|
|
546
|
+
submit: oc.route({
|
|
547
|
+
method: "POST",
|
|
548
|
+
path: "/transactions",
|
|
549
|
+
summary: "Submit a transaction"
|
|
550
|
+
}).input(SubmitInputSchema).output(SubmitOutputSchema).errors({
|
|
523
551
|
BAD_REQUEST,
|
|
524
552
|
CONFLICT,
|
|
525
553
|
SIMULATION_FAILED
|
|
526
554
|
}),
|
|
527
|
-
get: oc.route({
|
|
555
|
+
get: oc.route({
|
|
556
|
+
method: "GET",
|
|
557
|
+
path: "/transactions/{id}",
|
|
558
|
+
summary: "Get transaction status"
|
|
559
|
+
}).input(GetInputSchema).output(BatchStatusOutputSchema).errors({
|
|
528
560
|
NOT_FOUND
|
|
529
561
|
}),
|
|
530
|
-
resubmit: oc.route({
|
|
562
|
+
resubmit: oc.route({
|
|
563
|
+
method: "POST",
|
|
564
|
+
path: "/transactions/{id}/resubmit",
|
|
565
|
+
summary: "Resubmit a transaction"
|
|
566
|
+
}).input(ResubmitInputSchema).output(ResubmitOutputSchema).errors({
|
|
531
567
|
NOT_FOUND,
|
|
532
568
|
BAD_REQUEST
|
|
533
569
|
}),
|
|
534
|
-
getByPayer: oc.route({
|
|
570
|
+
getByPayer: oc.route({
|
|
571
|
+
method: "GET",
|
|
572
|
+
path: "/transactions/payer/{payer}",
|
|
573
|
+
summary: "Get transactions by payer"
|
|
574
|
+
}).input(GetByPayerInputSchema).output(PayerBatchesOutputSchema).errors({
|
|
535
575
|
BAD_REQUEST
|
|
536
576
|
}),
|
|
537
|
-
getByPayerAndTag: oc.route({
|
|
577
|
+
getByPayerAndTag: oc.route({
|
|
578
|
+
method: "GET",
|
|
579
|
+
path: "/transactions/payer/{payer}/tag/{tag}",
|
|
580
|
+
summary: "Get transactions by payer and tag"
|
|
581
|
+
}).input(GetByPayerAndTagInputSchema).output(PayerBatchesOutputSchema).errors({
|
|
538
582
|
BAD_REQUEST
|
|
539
583
|
}),
|
|
540
|
-
estimate: oc.route({
|
|
584
|
+
estimate: oc.route({
|
|
585
|
+
method: "POST",
|
|
586
|
+
path: "/transactions/estimate",
|
|
587
|
+
summary: "Estimate transaction costs"
|
|
588
|
+
}).input(EstimateInputSchema).output(EstimateOutputSchema).errors({
|
|
541
589
|
BAD_REQUEST,
|
|
542
590
|
SIMULATION_FAILED
|
|
543
591
|
}),
|
|
544
|
-
history: oc.route({
|
|
592
|
+
history: oc.route({
|
|
593
|
+
method: "GET",
|
|
594
|
+
path: "/transactions/history/{payer}",
|
|
595
|
+
summary: "Get unified transaction history"
|
|
596
|
+
}).input(GetHistoryInputSchema).output(HistoryOutputSchema).errors({
|
|
545
597
|
BAD_REQUEST
|
|
546
598
|
})
|
|
547
599
|
});
|
|
548
600
|
var welcomePacksContract = oc.tag("Welcome Packs").router({
|
|
549
601
|
/** Public: List welcome packs for a wallet */
|
|
550
|
-
list: oc.route({
|
|
602
|
+
list: oc.route({
|
|
603
|
+
method: "GET",
|
|
604
|
+
path: "/welcome-packs/{walletAddress}",
|
|
605
|
+
summary: "List welcome packs for a wallet"
|
|
606
|
+
}).input(WelcomePackListInputSchema).output(WelcomePackListOutputSchema).errors({
|
|
551
607
|
INVALID_WALLET_ADDRESS
|
|
552
608
|
}),
|
|
553
609
|
/** Protected: Create a new welcome pack */
|
|
554
|
-
create: oc.route({
|
|
610
|
+
create: oc.route({
|
|
611
|
+
method: "POST",
|
|
612
|
+
path: "/welcome-packs",
|
|
613
|
+
summary: "Create a new welcome pack"
|
|
614
|
+
}).input(WelcomePackCreateInputSchema).output(WelcomePackCreateOutputSchema).errors({
|
|
555
615
|
BAD_REQUEST,
|
|
556
616
|
CONFLICT,
|
|
557
617
|
INSUFFICIENT_FUNDS
|
|
558
618
|
}),
|
|
559
619
|
/** Public: Get a specific welcome pack */
|
|
560
|
-
get: oc.route({
|
|
620
|
+
get: oc.route({
|
|
621
|
+
method: "GET",
|
|
622
|
+
path: "/welcome-packs/{walletAddress}/{packId}",
|
|
623
|
+
summary: "Get a specific welcome pack"
|
|
624
|
+
}).input(WelcomePackGetInputSchema).output(WelcomePackSchema).errors({
|
|
561
625
|
NOT_FOUND,
|
|
562
626
|
INVALID_WALLET_ADDRESS
|
|
563
627
|
}),
|
|
564
628
|
/** Protected: Delete a welcome pack */
|
|
565
|
-
delete: oc.route({
|
|
629
|
+
delete: oc.route({
|
|
630
|
+
method: "DELETE",
|
|
631
|
+
path: "/welcome-packs/{walletAddress}/{packId}",
|
|
632
|
+
summary: "Delete a welcome pack"
|
|
633
|
+
}).input(WelcomePackDeleteInputSchema).output(WelcomePackDeleteOutputSchema).errors({
|
|
566
634
|
BAD_REQUEST,
|
|
567
635
|
INVALID_WALLET_ADDRESS,
|
|
568
636
|
INSUFFICIENT_FUNDS
|
|
569
637
|
}),
|
|
570
638
|
/** Public: Get welcome pack by pack address */
|
|
571
|
-
getByAddress: oc.route({
|
|
639
|
+
getByAddress: oc.route({
|
|
640
|
+
method: "GET",
|
|
641
|
+
path: "/welcome-packs/address/{packAddress}",
|
|
642
|
+
summary: "Get welcome pack by pack address"
|
|
643
|
+
}).input(WelcomePackGetByAddressInputSchema).output(WelcomePackSchema).errors({
|
|
572
644
|
NOT_FOUND
|
|
573
645
|
}),
|
|
574
646
|
/** Public: Claim a welcome pack (no auth needed, uses claim token) */
|
|
575
|
-
claim: oc.route({
|
|
647
|
+
claim: oc.route({
|
|
648
|
+
method: "POST",
|
|
649
|
+
path: "/welcome-packs/claim",
|
|
650
|
+
summary: "Claim a welcome pack"
|
|
651
|
+
}).input(WelcomePackClaimInputSchema).output(WelcomePackClaimOutputSchema).errors({
|
|
576
652
|
BAD_REQUEST,
|
|
577
653
|
EXPIRED: { message: "Claim link has expired", status: 410 }
|
|
578
654
|
}),
|
|
579
655
|
/** Protected: Send an invite for a welcome pack */
|
|
580
|
-
invite: oc.route({
|
|
656
|
+
invite: oc.route({
|
|
657
|
+
method: "POST",
|
|
658
|
+
path: "/welcome-packs/invite",
|
|
659
|
+
summary: "Send an invite for a welcome pack"
|
|
660
|
+
}).input(WelcomePackInviteInputSchema).output(WelcomePackInviteOutputSchema).errors({
|
|
581
661
|
BAD_REQUEST,
|
|
582
662
|
NOT_FOUND
|
|
583
663
|
})
|
|
@@ -591,7 +671,10 @@ var fiatContract = oc.errors({
|
|
|
591
671
|
}),
|
|
592
672
|
initKyc: oc.route({ method: "POST", path: "/fiat/kyc/init" }).input(InitKycInputSchema).output(KycStatusOutputSchema).errors({
|
|
593
673
|
EMAIL_NOT_LINKED: { status: 401, message: "Email not linked." },
|
|
594
|
-
BRIDGE_ERROR: {
|
|
674
|
+
BRIDGE_ERROR: {
|
|
675
|
+
message: "Failed to create Bridge KYC link",
|
|
676
|
+
status: 500
|
|
677
|
+
}
|
|
595
678
|
}),
|
|
596
679
|
getFees: oc.route({ method: "GET", path: "/fiat/fees" }).output(FeesOutputSchema).errors({}),
|
|
597
680
|
listBankAccounts: oc.route({ method: "GET", path: "/fiat/bank-accounts" }).output(BankAccountListOutputSchema).errors({
|
|
@@ -599,7 +682,10 @@ var fiatContract = oc.errors({
|
|
|
599
682
|
}),
|
|
600
683
|
createBankAccount: oc.route({ method: "POST", path: "/fiat/bank-accounts" }).input(CreateBankAccountInputSchema).output(BankAccountSchema).errors({
|
|
601
684
|
NO_CUSTOMER: { message: "Bridge customer ID not found", status: 404 },
|
|
602
|
-
BRIDGE_ERROR: {
|
|
685
|
+
BRIDGE_ERROR: {
|
|
686
|
+
message: "Failed to create Bridge KYC link",
|
|
687
|
+
status: 500
|
|
688
|
+
}
|
|
603
689
|
}),
|
|
604
690
|
deleteBankAccount: oc.route({ method: "DELETE", path: "/fiat/bank-accounts/{id}" }).input(DeleteBankAccountInputSchema).output(DeleteBankAccountOutputSchema).errors({
|
|
605
691
|
NO_CUSTOMER: { message: "Bridge customer ID not found", status: 404 },
|
|
@@ -607,13 +693,22 @@ var fiatContract = oc.errors({
|
|
|
607
693
|
}),
|
|
608
694
|
getSendQuote: oc.route({ method: "GET", path: "/fiat/quote/{id}" }).input(GetSendQuoteInputSchema).output(QuoteOutputSchema).errors({
|
|
609
695
|
BAD_REQUEST,
|
|
610
|
-
JUPITER_ERROR: {
|
|
696
|
+
JUPITER_ERROR: {
|
|
697
|
+
message: "Failed to get quote from Jupiter",
|
|
698
|
+
status: 500
|
|
699
|
+
},
|
|
611
700
|
RATE_LIMITED
|
|
612
701
|
}),
|
|
613
702
|
sendFunds: oc.route({ method: "POST", path: "/fiat/send" }).input(SendFundsInputSchema).output(SendFundsOutputSchema).errors({
|
|
614
703
|
NOT_FOUND,
|
|
615
|
-
BRIDGE_ERROR: {
|
|
616
|
-
|
|
704
|
+
BRIDGE_ERROR: {
|
|
705
|
+
message: "Failed to create Bridge transfer",
|
|
706
|
+
status: 500
|
|
707
|
+
},
|
|
708
|
+
JUPITER_ERROR: {
|
|
709
|
+
message: "Failed to get quote from Jupiter",
|
|
710
|
+
status: 500
|
|
711
|
+
},
|
|
617
712
|
INSUFFICIENT_FUNDS,
|
|
618
713
|
RATE_LIMITED
|
|
619
714
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HotspotSchema } from './chunk-
|
|
2
|
-
import { WalletAddressSchema, TokenAmountInputSchema, HeliumPublicKeySchema, TransactionMetadataSchema, TokenAmountOutputSchema } from './chunk-
|
|
1
|
+
import { HotspotSchema } from './chunk-WGMJKDS4.js';
|
|
2
|
+
import { WalletAddressSchema, TokenAmountInputSchema, HeliumPublicKeySchema, TransactionMetadataSchema, TokenAmountOutputSchema } from './chunk-Z4E3I2B4.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
var MigrateInputSchema = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PublicKeySchema, TokenAmountInputSchema, WalletAddressSchema, TokenAmountOutputSchema, createTypedTransactionResponse, createTransactionResponse, createPaginatedTransactionResponse, createTypedPaginatedTransactionResponse } from './chunk-
|
|
1
|
+
import { PublicKeySchema, TokenAmountInputSchema, WalletAddressSchema, TokenAmountOutputSchema, createTypedTransactionResponse, createTransactionResponse, createPaginatedTransactionResponse, createTypedPaginatedTransactionResponse } from './chunk-Z4E3I2B4.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var LockupKindSchema = z.enum(["cliff", "constant"]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TransactionItemSchema, TransactionMetadataSchema, TokenAmountOutputSchema } from './chunk-
|
|
1
|
+
import { TagSchema, TransactionItemSchema, TransactionMetadataSchema, TokenAmountOutputSchema } from './chunk-Z4E3I2B4.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var SubmitInputSchema = z.object({
|
|
5
5
|
transactions: z.array(TransactionItemSchema),
|
|
6
6
|
parallel: z.boolean(),
|
|
7
|
-
tag:
|
|
7
|
+
tag: TagSchema.optional(),
|
|
8
8
|
actionMetadata: z.record(z.string(), z.unknown()).optional(),
|
|
9
9
|
simulationCommitment: z.enum(["confirmed", "finalized"]).optional().default("confirmed"),
|
|
10
10
|
simulate: z.boolean().optional().default(true)
|
|
@@ -24,7 +24,7 @@ var GetByPayerInputSchema = z.object({
|
|
|
24
24
|
});
|
|
25
25
|
var GetByPayerAndTagInputSchema = z.object({
|
|
26
26
|
payer: z.string().min(32),
|
|
27
|
-
tag:
|
|
27
|
+
tag: TagSchema,
|
|
28
28
|
page: z.coerce.number().int().min(1).default(1),
|
|
29
29
|
limit: z.coerce.number().int().min(1).max(100).default(20),
|
|
30
30
|
status: z.string().optional().default("pending")
|
|
@@ -92,7 +92,7 @@ var PayerBatchesOutputSchema = z.object({
|
|
|
92
92
|
var EstimateInputSchema = z.object({
|
|
93
93
|
transactions: z.array(TransactionItemSchema),
|
|
94
94
|
parallel: z.boolean(),
|
|
95
|
-
tag:
|
|
95
|
+
tag: TagSchema.optional(),
|
|
96
96
|
simulationCommitment: z.enum(["confirmed", "finalized"]).optional().default("confirmed")
|
|
97
97
|
});
|
|
98
98
|
var CostBreakdownSchema = z.object({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WalletAddressSchema, TokenAmountOutputSchema, HeliumPublicKeySchema, squadsProposeFields, ScheduleInputSchema, RewardSplitInputSchema, createPaginatedTransactionResponse, createTransactionResponse } from './chunk-
|
|
1
|
+
import { WalletAddressSchema, TokenAmountOutputSchema, HeliumPublicKeySchema, squadsProposeFields, ScheduleInputSchema, RewardSplitInputSchema, createPaginatedTransactionResponse, createTransactionResponse } from './chunk-Z4E3I2B4.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var RewardNetworkSchema = z.enum(["hnt", "iot", "mobile"]).default("hnt");
|
|
@@ -9,6 +9,10 @@ var TransactionItemSchema = z.object({
|
|
|
9
9
|
serializedTransaction: z.string(),
|
|
10
10
|
metadata: TransactionMetadataSchema.optional()
|
|
11
11
|
});
|
|
12
|
+
var tagEncoder = new TextEncoder();
|
|
13
|
+
var TagSchema = z.string().max(1e3).refine((tag) => tagEncoder.encode(tag).length <= 2e3, {
|
|
14
|
+
message: "Tag must be at most 2000 bytes of UTF-8"
|
|
15
|
+
});
|
|
12
16
|
var TransactionDataSchema = z.object({
|
|
13
17
|
transactions: z.array(TransactionItemSchema),
|
|
14
18
|
parallel: z.boolean(),
|
|
@@ -18,7 +22,7 @@ var TransactionDataSchema = z.object({
|
|
|
18
22
|
var TransactionBatchRequestSchema = z.object({
|
|
19
23
|
transactions: z.array(TransactionItemSchema),
|
|
20
24
|
parallel: z.boolean(),
|
|
21
|
-
tag:
|
|
25
|
+
tag: TagSchema.optional()
|
|
22
26
|
});
|
|
23
27
|
var TransactionBatchResponseSchema = z.object({
|
|
24
28
|
batchId: z.string(),
|
|
@@ -124,4 +128,4 @@ function createTypedPaginatedTransactionResponse(metadataSchema) {
|
|
|
124
128
|
});
|
|
125
129
|
}
|
|
126
130
|
|
|
127
|
-
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData };
|
|
131
|
+
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TagSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData };
|
package/dist/contracts.d.ts
CHANGED
|
@@ -1163,9 +1163,9 @@ declare const hotspotsContract: {
|
|
|
1163
1163
|
claimRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1164
1164
|
walletAddress: zod.ZodString;
|
|
1165
1165
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
1166
|
+
hnt: "hnt";
|
|
1166
1167
|
iot: "iot";
|
|
1167
1168
|
mobile: "mobile";
|
|
1168
|
-
hnt: "hnt";
|
|
1169
1169
|
}>>;
|
|
1170
1170
|
tuktuk: zod.ZodOptional<zod.ZodBoolean>;
|
|
1171
1171
|
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -1234,9 +1234,9 @@ declare const hotspotsContract: {
|
|
|
1234
1234
|
entityPubKey: zod.ZodString;
|
|
1235
1235
|
walletAddress: zod.ZodString;
|
|
1236
1236
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
1237
|
+
hnt: "hnt";
|
|
1237
1238
|
iot: "iot";
|
|
1238
1239
|
mobile: "mobile";
|
|
1239
|
-
hnt: "hnt";
|
|
1240
1240
|
}>>;
|
|
1241
1241
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1242
1242
|
transactionData: zod.ZodObject<{
|
|
@@ -1326,9 +1326,9 @@ declare const hotspotsContract: {
|
|
|
1326
1326
|
getPendingRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
1327
1327
|
walletAddress: zod.ZodString;
|
|
1328
1328
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
1329
|
+
hnt: "hnt";
|
|
1329
1330
|
iot: "iot";
|
|
1330
1331
|
mobile: "mobile";
|
|
1331
|
-
hnt: "hnt";
|
|
1332
1332
|
}>>;
|
|
1333
1333
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1334
1334
|
pending: zod.ZodObject<{
|
|
@@ -5270,9 +5270,9 @@ declare const apiContract: {
|
|
|
5270
5270
|
claimRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
5271
5271
|
walletAddress: zod.ZodString;
|
|
5272
5272
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
5273
|
+
hnt: "hnt";
|
|
5273
5274
|
iot: "iot";
|
|
5274
5275
|
mobile: "mobile";
|
|
5275
|
-
hnt: "hnt";
|
|
5276
5276
|
}>>;
|
|
5277
5277
|
tuktuk: zod.ZodOptional<zod.ZodBoolean>;
|
|
5278
5278
|
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -5341,9 +5341,9 @@ declare const apiContract: {
|
|
|
5341
5341
|
entityPubKey: zod.ZodString;
|
|
5342
5342
|
walletAddress: zod.ZodString;
|
|
5343
5343
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
5344
|
+
hnt: "hnt";
|
|
5344
5345
|
iot: "iot";
|
|
5345
5346
|
mobile: "mobile";
|
|
5346
|
-
hnt: "hnt";
|
|
5347
5347
|
}>>;
|
|
5348
5348
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5349
5349
|
transactionData: zod.ZodObject<{
|
|
@@ -5433,9 +5433,9 @@ declare const apiContract: {
|
|
|
5433
5433
|
getPendingRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
5434
5434
|
walletAddress: zod.ZodString;
|
|
5435
5435
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
5436
|
+
hnt: "hnt";
|
|
5436
5437
|
iot: "iot";
|
|
5437
5438
|
mobile: "mobile";
|
|
5438
|
-
hnt: "hnt";
|
|
5439
5439
|
}>>;
|
|
5440
5440
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5441
5441
|
pending: zod.ZodObject<{
|
|
@@ -9477,9 +9477,9 @@ declare const fullApiContract: {
|
|
|
9477
9477
|
claimRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
9478
9478
|
walletAddress: zod.ZodString;
|
|
9479
9479
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
9480
|
+
hnt: "hnt";
|
|
9480
9481
|
iot: "iot";
|
|
9481
9482
|
mobile: "mobile";
|
|
9482
|
-
hnt: "hnt";
|
|
9483
9483
|
}>>;
|
|
9484
9484
|
tuktuk: zod.ZodOptional<zod.ZodBoolean>;
|
|
9485
9485
|
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -9548,9 +9548,9 @@ declare const fullApiContract: {
|
|
|
9548
9548
|
entityPubKey: zod.ZodString;
|
|
9549
9549
|
walletAddress: zod.ZodString;
|
|
9550
9550
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
9551
|
+
hnt: "hnt";
|
|
9551
9552
|
iot: "iot";
|
|
9552
9553
|
mobile: "mobile";
|
|
9553
|
-
hnt: "hnt";
|
|
9554
9554
|
}>>;
|
|
9555
9555
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
9556
9556
|
transactionData: zod.ZodObject<{
|
|
@@ -9640,9 +9640,9 @@ declare const fullApiContract: {
|
|
|
9640
9640
|
getPendingRewards: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
9641
9641
|
walletAddress: zod.ZodString;
|
|
9642
9642
|
network: zod.ZodDefault<zod.ZodEnum<{
|
|
9643
|
+
hnt: "hnt";
|
|
9643
9644
|
iot: "iot";
|
|
9644
9645
|
mobile: "mobile";
|
|
9645
|
-
hnt: "hnt";
|
|
9646
9646
|
}>>;
|
|
9647
9647
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
9648
9648
|
pending: zod.ZodObject<{
|
package/dist/contracts.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { apiContract, dataCreditsContract, fiatContract, fullApiContract, governanceContract, healthContract, hotspotsContract, migrationContract, rewardContract, squadsContract, swapContract, tokensContract, transactionsContract, webhooksContract, welcomePacksContract } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { apiContract, dataCreditsContract, fiatContract, fullApiContract, governanceContract, healthContract, hotspotsContract, migrationContract, rewardContract, squadsContract, swapContract, tokensContract, transactionsContract, webhooksContract, welcomePacksContract } from './chunk-LJBIOSWV.js';
|
|
2
|
+
import './chunk-C53BY3P3.js';
|
|
3
3
|
import './chunk-7CTJX35S.js';
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
4
|
+
import './chunk-RL776VJM.js';
|
|
5
|
+
import './chunk-KZ3X5E6E.js';
|
|
6
|
+
import './chunk-2OQ7WMED.js';
|
|
7
|
+
import './chunk-TGBSASKU.js';
|
|
8
|
+
import './chunk-7GK4VHJM.js';
|
|
9
|
+
import './chunk-EKHTXOTH.js';
|
|
10
|
+
import './chunk-4FTDGANR.js';
|
|
11
|
+
import './chunk-G2CYWEEW.js';
|
|
12
|
+
import './chunk-RPRIZP7B.js';
|
|
13
13
|
import './chunk-4RVSLJOU.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import './chunk-WGMJKDS4.js';
|
|
15
|
+
import './chunk-Z4E3I2B4.js';
|
package/dist/errors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './chunk-DQYAIQQ5.js';
|
|
2
|
-
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
2
|
+
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-C53BY3P3.js';
|
|
3
|
+
import './chunk-RPRIZP7B.js';
|
|
4
|
+
import './chunk-Z4E3I2B4.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInput, RewardSplitInputSchema, ScheduleInput, ScheduleInputSchema, TokenAmountInput, TokenAmountInputSchema, TokenAmountOutput, TokenAmountOutputSchema, TransactionBatchRequest, TransactionBatchRequestSchema, TransactionBatchResponse, TransactionBatchResponseSchema, TransactionData, TransactionDataSchema, TransactionItem, TransactionItemSchema, TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './schemas/common.js';
|
|
1
|
+
export { ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInput, RewardSplitInputSchema, ScheduleInput, ScheduleInputSchema, TagSchema, TokenAmountInput, TokenAmountInputSchema, TokenAmountOutput, TokenAmountOutputSchema, TransactionBatchRequest, TransactionBatchRequestSchema, TransactionBatchResponse, TransactionBatchResponseSchema, TransactionData, TransactionDataSchema, TransactionItem, TransactionItemSchema, TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './schemas/common.js';
|
|
2
2
|
export { BankAccount, BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, BridgeTransfer, BridgeTransferSchema, CreateBankAccountInput, CreateBankAccountInputSchema, DeleteBankAccountInput, DeleteBankAccountInputSchema, DeleteBankAccountOutput, DeleteBankAccountOutputSchema, FeesOutput, FeesOutputSchema, GetBankAccountInput, GetBankAccountInputSchema, GetSendQuoteInput, GetSendQuoteInputSchema, GetTransferInput, GetTransferInputSchema, InitKycInput, InitKycInputSchema, KycStatusOutput, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInput, SendFundsInputSchema, SendFundsOutput, SendFundsOutputSchema, UpdateTransferInput, UpdateTransferInputSchema, UpdateTransferOutput, UpdateTransferOutputSchema } from './schemas/fiat.js';
|
|
3
3
|
export { AssignProxiesInput, AssignProxiesInputSchema, AssignProxiesResponse, AssignProxiesResponseSchema, ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, ClosePositionInput, ClosePositionInputSchema, ClosePositionResponse, ClosePositionResponseSchema, CreatePositionInput, CreatePositionInputSchema, CreatePositionResponse, CreatePositionResponseSchema, DelegatePositionInput, DelegatePositionInputSchema, DelegatePositionsResponse, DelegatePositionsResponseSchema, ExtendDelegationInput, ExtendDelegationInputSchema, ExtendDelegationResponse, ExtendDelegationResponseSchema, ExtendPositionInput, ExtendPositionInputSchema, ExtendPositionResponse, ExtendPositionResponseSchema, FlipLockupKindInput, FlipLockupKindInputSchema, FlipLockupKindResponse, FlipLockupKindResponseSchema, GetPositionsInput, GetPositionsInputSchema, GetPositionsResponse, GetPositionsResponseSchema, LockupKind, LockupKindSchema, Position, PositionSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SkipReason, SkipReasonSchema, SkippedPosition, SkippedPositionSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
|
|
4
4
|
export { HealthResponse, HealthResponseSchema } from './schemas/health.js';
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import './chunk-DQYAIQQ5.js';
|
|
2
|
-
export { apiContract, fullApiContract } from './chunk-
|
|
3
|
-
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-
|
|
2
|
+
export { apiContract, fullApiContract } from './chunk-LJBIOSWV.js';
|
|
3
|
+
export { ALL_POSITIONS_SKIPPED, BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-C53BY3P3.js';
|
|
4
4
|
import './chunk-7CTJX35S.js';
|
|
5
5
|
import './chunk-TPPTOJHD.js';
|
|
6
|
-
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-
|
|
7
|
-
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-
|
|
8
|
-
export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-
|
|
9
|
-
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-
|
|
10
|
-
export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-
|
|
11
|
-
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-
|
|
12
|
-
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-
|
|
13
|
-
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-
|
|
14
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-
|
|
6
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-RL776VJM.js';
|
|
7
|
+
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-KZ3X5E6E.js';
|
|
8
|
+
export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-2OQ7WMED.js';
|
|
9
|
+
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-TGBSASKU.js';
|
|
10
|
+
export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-7GK4VHJM.js';
|
|
11
|
+
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-EKHTXOTH.js';
|
|
12
|
+
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-4FTDGANR.js';
|
|
13
|
+
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-G2CYWEEW.js';
|
|
14
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-RPRIZP7B.js';
|
|
15
15
|
export { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
16
|
-
export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-
|
|
17
|
-
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './chunk-
|
|
16
|
+
export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-WGMJKDS4.js';
|
|
17
|
+
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TagSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './chunk-Z4E3I2B4.js';
|
package/dist/schemas/common.d.ts
CHANGED
|
@@ -17,6 +17,13 @@ declare const TransactionItemSchema: z.ZodObject<{
|
|
|
17
17
|
description: z.ZodString;
|
|
18
18
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
|
+
/**
|
|
21
|
+
* Client-supplied batch tag. 1000 chars is the sanity bound; the byte
|
|
22
|
+
* refinement keeps the (tag, payer) row inside the partial unique btree
|
|
23
|
+
* index's ~2704-byte tuple limit even for multibyte tags, so an oversize tag
|
|
24
|
+
* fails validation as a 400 instead of a Postgres index error as a raw 500.
|
|
25
|
+
*/
|
|
26
|
+
declare const TagSchema: z.ZodString;
|
|
20
27
|
/**
|
|
21
28
|
* Transaction data returned by procedures that create transactions.
|
|
22
29
|
* Contains serialized transactions ready for signing and submission.
|
|
@@ -232,4 +239,4 @@ declare function createTypedPaginatedTransactionResponse<T extends z.ZodTypeAny>
|
|
|
232
239
|
hasMore: z.ZodBoolean;
|
|
233
240
|
}, z.core.$strip>;
|
|
234
241
|
|
|
235
|
-
export { type ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, type RewardSplitInput, RewardSplitInputSchema, type ScheduleInput, ScheduleInputSchema, type TokenAmountInput, TokenAmountInputSchema, type TokenAmountOutput, TokenAmountOutputSchema, type TransactionBatchRequest, TransactionBatchRequestSchema, type TransactionBatchResponse, TransactionBatchResponseSchema, type TransactionData, TransactionDataSchema, type TransactionItem, TransactionItemSchema, type TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData };
|
|
242
|
+
export { type ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, type RewardSplitInput, RewardSplitInputSchema, type ScheduleInput, ScheduleInputSchema, TagSchema, type TokenAmountInput, TokenAmountInputSchema, type TokenAmountOutput, TokenAmountOutputSchema, type TransactionBatchRequest, TransactionBatchRequestSchema, type TransactionBatchResponse, TransactionBatchResponseSchema, type TransactionData, TransactionDataSchema, type TransactionItem, TransactionItemSchema, type TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData };
|
package/dist/schemas/common.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from '../chunk-
|
|
1
|
+
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TagSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from '../chunk-Z4E3I2B4.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from '../chunk-7GK4VHJM.js';
|
|
2
|
+
import '../chunk-Z4E3I2B4.js';
|
package/dist/schemas/fiat.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from '../chunk-4FTDGANR.js';
|
|
2
|
+
import '../chunk-G2CYWEEW.js';
|
|
3
|
+
import '../chunk-Z4E3I2B4.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from '../chunk-RPRIZP7B.js';
|
|
2
|
+
import '../chunk-Z4E3I2B4.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
declare const RewardNetworkSchema: z.ZodDefault<z.ZodEnum<{
|
|
4
|
+
hnt: "hnt";
|
|
4
5
|
iot: "iot";
|
|
5
6
|
mobile: "mobile";
|
|
6
|
-
hnt: "hnt";
|
|
7
7
|
}>>;
|
|
8
8
|
declare const HotspotTypeSchema: z.ZodEnum<{
|
|
9
9
|
iot: "iot";
|
|
@@ -23,9 +23,9 @@ declare const GetHotspotsInputSchema: z.ZodObject<{
|
|
|
23
23
|
declare const ClaimRewardsInputSchema: z.ZodObject<{
|
|
24
24
|
walletAddress: z.ZodString;
|
|
25
25
|
network: z.ZodDefault<z.ZodEnum<{
|
|
26
|
+
hnt: "hnt";
|
|
26
27
|
iot: "iot";
|
|
27
28
|
mobile: "mobile";
|
|
28
|
-
hnt: "hnt";
|
|
29
29
|
}>>;
|
|
30
30
|
tuktuk: z.ZodOptional<z.ZodBoolean>;
|
|
31
31
|
estimatedPendingRewards: z.ZodOptional<z.ZodObject<{
|
|
@@ -40,17 +40,17 @@ declare const ClaimHotspotRewardsInputSchema: z.ZodObject<{
|
|
|
40
40
|
entityPubKey: z.ZodString;
|
|
41
41
|
walletAddress: z.ZodString;
|
|
42
42
|
network: z.ZodDefault<z.ZodEnum<{
|
|
43
|
+
hnt: "hnt";
|
|
43
44
|
iot: "iot";
|
|
44
45
|
mobile: "mobile";
|
|
45
|
-
hnt: "hnt";
|
|
46
46
|
}>>;
|
|
47
47
|
}, z.core.$strip>;
|
|
48
48
|
declare const GetPendingRewardsInputSchema: z.ZodObject<{
|
|
49
49
|
walletAddress: z.ZodString;
|
|
50
50
|
network: z.ZodDefault<z.ZodEnum<{
|
|
51
|
+
hnt: "hnt";
|
|
51
52
|
iot: "iot";
|
|
52
53
|
mobile: "mobile";
|
|
53
|
-
hnt: "hnt";
|
|
54
54
|
}>>;
|
|
55
55
|
}, z.core.$strip>;
|
|
56
56
|
declare const GetPendingRewardsOutputSchema: z.ZodObject<{
|
package/dist/schemas/hotspots.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from '../chunk-WGMJKDS4.js';
|
|
2
|
+
import '../chunk-Z4E3I2B4.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from '../chunk-RL776VJM.js';
|
|
2
|
+
import '../chunk-WGMJKDS4.js';
|
|
3
|
+
import '../chunk-Z4E3I2B4.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from '../chunk-KZ3X5E6E.js';
|
|
2
|
+
import '../chunk-Z4E3I2B4.js';
|
package/dist/schemas/swap.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from '../chunk-G2CYWEEW.js';
|
|
2
|
+
import '../chunk-Z4E3I2B4.js';
|
package/dist/schemas/tokens.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from '../chunk-2OQ7WMED.js';
|
|
2
|
+
import '../chunk-Z4E3I2B4.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from '../chunk-TGBSASKU.js';
|
|
2
|
+
import '../chunk-Z4E3I2B4.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from '../chunk-EKHTXOTH.js';
|
|
2
|
+
import '../chunk-WGMJKDS4.js';
|
|
3
|
+
import '../chunk-Z4E3I2B4.js';
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInput, RewardSplitInputSchema, ScheduleInput, ScheduleInputSchema, TokenAmountInput, TokenAmountInputSchema, TokenAmountOutput, TokenAmountOutputSchema, TransactionBatchRequest, TransactionBatchRequestSchema, TransactionBatchResponse, TransactionBatchResponseSchema, TransactionData, TransactionDataSchema, TransactionItem, TransactionItemSchema, TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './schemas/common.js';
|
|
1
|
+
export { ErrorResponse, ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInput, RewardSplitInputSchema, ScheduleInput, ScheduleInputSchema, TagSchema, TokenAmountInput, TokenAmountInputSchema, TokenAmountOutput, TokenAmountOutputSchema, TransactionBatchRequest, TransactionBatchRequestSchema, TransactionBatchResponse, TransactionBatchResponseSchema, TransactionData, TransactionDataSchema, TransactionItem, TransactionItemSchema, TransactionMetadata, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './schemas/common.js';
|
|
2
2
|
export { BankAccount, BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, BridgeTransfer, BridgeTransferSchema, CreateBankAccountInput, CreateBankAccountInputSchema, DeleteBankAccountInput, DeleteBankAccountInputSchema, DeleteBankAccountOutput, DeleteBankAccountOutputSchema, FeesOutput, FeesOutputSchema, GetBankAccountInput, GetBankAccountInputSchema, GetSendQuoteInput, GetSendQuoteInputSchema, GetTransferInput, GetTransferInputSchema, InitKycInput, InitKycInputSchema, KycStatusOutput, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInput, SendFundsInputSchema, SendFundsOutput, SendFundsOutputSchema, UpdateTransferInput, UpdateTransferInputSchema, UpdateTransferOutput, UpdateTransferOutputSchema } from './schemas/fiat.js';
|
|
3
3
|
export { AssignProxiesInput, AssignProxiesInputSchema, AssignProxiesResponse, AssignProxiesResponseSchema, ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, ClosePositionInput, ClosePositionInputSchema, ClosePositionResponse, ClosePositionResponseSchema, CreatePositionInput, CreatePositionInputSchema, CreatePositionResponse, CreatePositionResponseSchema, DelegatePositionInput, DelegatePositionInputSchema, DelegatePositionsResponse, DelegatePositionsResponseSchema, ExtendDelegationInput, ExtendDelegationInputSchema, ExtendDelegationResponse, ExtendDelegationResponseSchema, ExtendPositionInput, ExtendPositionInputSchema, ExtendPositionResponse, ExtendPositionResponseSchema, FlipLockupKindInput, FlipLockupKindInputSchema, FlipLockupKindResponse, FlipLockupKindResponseSchema, GetPositionsInput, GetPositionsInputSchema, GetPositionsResponse, GetPositionsResponseSchema, LockupKind, LockupKindSchema, Position, PositionSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SkipReason, SkipReasonSchema, SkippedPosition, SkippedPositionSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
|
|
4
4
|
export { HealthResponse, HealthResponseSchema } from './schemas/health.js';
|
package/dist/schemas.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './chunk-TPPTOJHD.js';
|
|
2
|
-
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-
|
|
3
|
-
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-
|
|
4
|
-
export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-
|
|
5
|
-
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-
|
|
6
|
-
export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-
|
|
7
|
-
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-
|
|
8
|
-
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-
|
|
9
|
-
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-
|
|
10
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-
|
|
2
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-RL776VJM.js';
|
|
3
|
+
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-KZ3X5E6E.js';
|
|
4
|
+
export { BurnInputSchema, BurnOutputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, MemoInputSchema, MemoOutputSchema, MultiTransferInputSchema, MultiTransferOutputSchema, MultiTransferRecipientSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-2OQ7WMED.js';
|
|
5
|
+
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-TGBSASKU.js';
|
|
6
|
+
export { BurnDataCreditsInputSchema, DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-7GK4VHJM.js';
|
|
7
|
+
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-EKHTXOTH.js';
|
|
8
|
+
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-4FTDGANR.js';
|
|
9
|
+
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-G2CYWEEW.js';
|
|
10
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, GetPositionsInputSchema, GetPositionsResponseSchema, LockupKindSchema, PositionSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SkipReasonSchema, SkippedPositionSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-RPRIZP7B.js';
|
|
11
11
|
export { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
12
|
-
export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-
|
|
13
|
-
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './chunk-
|
|
12
|
+
export { AddEntityToAutomationInputSchema, AddEntityToAutomationOutputSchema, AddWalletToAutomationInputSchema, AddWalletToAutomationOutputSchema, AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimHotspotRewardsInputSchema, ClaimHotspotRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotBurnInputSchema, HotspotBurnOutputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, IssueDataOnlyHotspotInputSchema, IssueDataOnlyHotspotOutputSchema, OnboardDataOnlyHotspotInputSchema, OnboardDataOnlyHotspotOutputSchema, OwnershipTypeSchema, RemoveEntityFromAutomationInputSchema, RemoveEntityFromAutomationOutputSchema, RequeueAutomationInputSchema, RequeueAutomationOutputSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TopUpAutomationInputSchema, TopUpAutomationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-WGMJKDS4.js';
|
|
13
|
+
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TagSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, squadsProposeFields, typedTransactionData } from './chunk-Z4E3I2B4.js';
|