@helium/blockchain-api 0.11.16 → 0.11.17
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/LICENSE +203 -0
- package/dist/{chunk-24NP4OA4.js → chunk-2LMIMVAQ.js} +10 -4
- package/dist/{chunk-HJRGZSOG.js → chunk-4UAUX7EJ.js} +49 -16
- package/dist/{chunk-OA3JG5QL.js → chunk-EXCHVVEL.js} +1 -1
- package/dist/{chunk-NNN5EOVI.js → chunk-QFW75K6Y.js} +11 -1
- package/dist/{chunk-FZAL6UXR.js → chunk-RT2UWP4I.js} +1 -1
- package/dist/contracts.d.ts +255 -27
- package/dist/contracts.js +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/schemas/governance.d.ts +29 -1
- package/dist/schemas/governance.js +1 -1
- package/dist/schemas/hotspots.d.ts +40 -9
- package/dist/schemas/hotspots.js +1 -1
- package/dist/schemas/migration.js +2 -2
- package/dist/schemas/welcome-packs.js +2 -2
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +4 -4
- package/package.json +8 -9
package/LICENSE
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2020 Helium Systems, Inc.
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
203
|
+
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, BAD_REQUEST, UNAUTHORIZED, NOT_FOUND, CONFLICT, SIMULATION_FAILED, UNAUTHENTICATED } from './chunk-6EPXJJY5.js';
|
|
2
2
|
import { BridgeWebhookInputSchema, BridgeWebhookOutputSchema } from './chunk-7CTJX35S.js';
|
|
3
|
-
import { MigrateInputSchema, MigrateOutputSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema } from './chunk-
|
|
3
|
+
import { MigrateInputSchema, MigrateOutputSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema } from './chunk-EXCHVVEL.js';
|
|
4
4
|
import { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, DeleteRewardContractTransactionResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-U3ZF47XT.js';
|
|
5
5
|
import { CreateHntAccountInputSchema, CreateHntAccountOutputSchema, TransferInputSchema, TransferOutputSchema, GetBalancesInputSchema, TokenBalanceDataSchema } from './chunk-7DAYLUKX.js';
|
|
6
6
|
import { GetHistoryInputSchema, HistoryOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, PayerBatchesOutputSchema, GetByPayerInputSchema, ResubmitInputSchema, ResubmitOutputSchema, GetInputSchema, BatchStatusOutputSchema, SubmitInputSchema, SubmitOutputSchema } from './chunk-PPNXNULU.js';
|
|
7
7
|
import { DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-IFZEDIKX.js';
|
|
8
|
-
import { WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetInputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema } from './chunk-
|
|
8
|
+
import { WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetInputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema } from './chunk-RT2UWP4I.js';
|
|
9
9
|
import { UpdateTransferInputSchema, UpdateTransferOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, GetSendQuoteInputSchema, QuoteOutputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, CreateBankAccountInputSchema, BankAccountSchema, BankAccountListOutputSchema, FeesOutputSchema, InitKycInputSchema, KycStatusOutputSchema } from './chunk-EIDQ3E2M.js';
|
|
10
10
|
import { GetInstructionsInputSchema, GetQuoteInputSchema, QuoteResponseSchema, GetTokensInputSchema, TokenListOutputSchema } from './chunk-S46U7PBT.js';
|
|
11
|
-
import { UnassignProxiesInputSchema, UnassignProxiesResponseSchema, AssignProxiesInputSchema, AssignProxiesResponseSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, VoteInputSchema, VoteResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema } 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 } from './chunk-QFW75K6Y.js';
|
|
12
12
|
import { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
13
|
-
import { UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, GetFundingEstimateInputSchema, FundingEstimateOutputSchema, FundAutomationInputSchema, FundAutomationOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, GetAutomationStatusInputSchema, AutomationStatusOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, GetSplitInputSchema, SplitResponseSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, GetHotspotsInputSchema, HotspotsDataSchema } from './chunk-
|
|
13
|
+
import { UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, GetFundingEstimateInputSchema, FundingEstimateOutputSchema, FundAutomationInputSchema, FundAutomationOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, GetAutomationStatusInputSchema, AutomationStatusOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, GetSplitInputSchema, SplitResponseSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, GetHotspotsInputSchema, HotspotsDataSchema } from './chunk-4UAUX7EJ.js';
|
|
14
14
|
import { WalletAddressSchema, HeliumPublicKeySchema, TransactionDataSchema } from './chunk-5G5SYHQP.js';
|
|
15
15
|
import { oc } from '@orpc/contract';
|
|
16
16
|
import { z } from 'zod';
|
|
@@ -158,6 +158,12 @@ var governanceContract = oc.tag("Governance").prefix("/governance").router({
|
|
|
158
158
|
summary: "Transfer between positions",
|
|
159
159
|
description: "Transfer tokens from one position to another. Both positions must have no active votes."
|
|
160
160
|
}).input(TransferPositionInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(TransferPositionResponseSchema),
|
|
161
|
+
transferPositionOwnership: oc.route({
|
|
162
|
+
method: "POST",
|
|
163
|
+
path: "/positions/{positionMint}/transfer-ownership",
|
|
164
|
+
summary: "Transfer position ownership",
|
|
165
|
+
description: "Transfer ownership of a position NFT to another wallet. Both the current owner and new owner must sign the transaction."
|
|
166
|
+
}).input(TransferPositionOwnershipInputSchema).errors({ BAD_REQUEST, NOT_FOUND, INSUFFICIENT_FUNDS }).output(TransferPositionOwnershipResponseSchema),
|
|
161
167
|
delegatePositions: oc.route({
|
|
162
168
|
method: "POST",
|
|
163
169
|
path: "/positions/delegate/{subDaoMint}",
|
|
@@ -12,23 +12,34 @@ var GetHotspotsInputSchema = z.object({
|
|
|
12
12
|
var ClaimRewardsInputSchema = z.object({
|
|
13
13
|
walletAddress: WalletAddressSchema,
|
|
14
14
|
network: RewardNetworkSchema,
|
|
15
|
-
tuktuk: z.boolean().optional()
|
|
15
|
+
tuktuk: z.boolean().optional(),
|
|
16
|
+
estimatedPendingRewards: TokenAmountOutputSchema.optional()
|
|
16
17
|
});
|
|
17
18
|
var GetPendingRewardsInputSchema = z.object({
|
|
18
19
|
walletAddress: WalletAddressSchema,
|
|
19
20
|
network: RewardNetworkSchema
|
|
20
21
|
});
|
|
21
22
|
var PendingRewards = z.object({
|
|
22
|
-
total: TokenAmountOutputSchema.describe(
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
total: TokenAmountOutputSchema.describe(
|
|
24
|
+
"Total rewards pending for the requested wallet, including rewards which may be directly claimable or paid indirectly through automation to this wallet."
|
|
25
|
+
),
|
|
26
|
+
claimable: TokenAmountOutputSchema.describe(
|
|
27
|
+
"Total rewards that can be manually claimed now. Should be a subset of total."
|
|
28
|
+
),
|
|
29
|
+
automated: TokenAmountOutputSchema.describe(
|
|
30
|
+
"Total rewards that are pending but will be automatically claimed in the future based on existing automation setups. Should be a subset of total."
|
|
31
|
+
)
|
|
25
32
|
});
|
|
26
33
|
var GetPendingRewardsOutputSchema = z.object({
|
|
27
|
-
pending: PendingRewards.describe(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
pending: PendingRewards.describe(
|
|
35
|
+
"Total rewards pending for the requested wallet - across all relevant hotspots."
|
|
36
|
+
),
|
|
37
|
+
byHotspot: z.array(
|
|
38
|
+
z.object({
|
|
39
|
+
hotspotPubKey: HeliumPublicKeySchema,
|
|
40
|
+
pending: PendingRewards
|
|
41
|
+
})
|
|
42
|
+
)
|
|
32
43
|
});
|
|
33
44
|
var TransferHotspotInputSchema = z.object({
|
|
34
45
|
walletAddress: WalletAddressSchema,
|
|
@@ -113,7 +124,27 @@ var HotspotsDataSchema = z.object({
|
|
|
113
124
|
page: z.number(),
|
|
114
125
|
totalPages: z.number()
|
|
115
126
|
});
|
|
116
|
-
var
|
|
127
|
+
var ClaimRewardsActionMetadataSchema = z.discriminatedUnion("type", [
|
|
128
|
+
z.object({
|
|
129
|
+
type: z.literal("claim_rewards"),
|
|
130
|
+
hotspotCount: z.number(),
|
|
131
|
+
network: z.string(),
|
|
132
|
+
hotspotKeys: z.array(z.string()).optional(),
|
|
133
|
+
hotspotNames: z.array(z.string()).optional(),
|
|
134
|
+
estimatedPendingRewards: TokenAmountOutputSchema.optional()
|
|
135
|
+
}),
|
|
136
|
+
z.object({
|
|
137
|
+
type: z.literal("queue_wallet_claim"),
|
|
138
|
+
hotspotCount: z.number(),
|
|
139
|
+
network: z.literal("all"),
|
|
140
|
+
estimatedPendingRewards: TokenAmountOutputSchema.optional()
|
|
141
|
+
})
|
|
142
|
+
]);
|
|
143
|
+
var ClaimRewardsOutputSchema = createPaginatedTransactionResponse().extend({
|
|
144
|
+
transactionData: createPaginatedTransactionResponse().shape.transactionData.extend({
|
|
145
|
+
actionMetadata: ClaimRewardsActionMetadataSchema.optional()
|
|
146
|
+
})
|
|
147
|
+
});
|
|
117
148
|
var TransferHotspotOutputSchema = createTransactionResponse();
|
|
118
149
|
var UpdateRewardsDestinationOutputSchema = createTransactionResponse();
|
|
119
150
|
var CreateSplitOutputSchema = createTransactionResponse();
|
|
@@ -224,11 +255,13 @@ var UpdateHotspotInfoInputSchema = z.discriminatedUnion("deviceType", [
|
|
|
224
255
|
IotUpdateSchema,
|
|
225
256
|
MobileUpdateSchema
|
|
226
257
|
]);
|
|
227
|
-
var UpdateHotspotInfoOutputSchema = createTransactionResponse().extend(
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
})
|
|
258
|
+
var UpdateHotspotInfoOutputSchema = createTransactionResponse().extend(
|
|
259
|
+
{
|
|
260
|
+
appliedTo: z.object({
|
|
261
|
+
iot: z.boolean(),
|
|
262
|
+
mobile: z.boolean()
|
|
263
|
+
})
|
|
264
|
+
}
|
|
265
|
+
);
|
|
233
266
|
|
|
234
267
|
export { AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema };
|
|
@@ -68,6 +68,15 @@ var TransferPositionInputSchema = z.object({
|
|
|
68
68
|
),
|
|
69
69
|
amount: z.string().regex(/^\d+$/, "Amount must be a whole number in smallest unit (bones)").describe("Raw token amount to transfer (in smallest unit)")
|
|
70
70
|
});
|
|
71
|
+
var TransferPositionOwnershipInputSchema = z.object({
|
|
72
|
+
from: WalletAddressSchema.describe(
|
|
73
|
+
"Wallet address that currently owns the position"
|
|
74
|
+
),
|
|
75
|
+
to: WalletAddressSchema.describe(
|
|
76
|
+
"Wallet address that will receive the position"
|
|
77
|
+
),
|
|
78
|
+
positionMint: PublicKeySchema.describe("Mint address of the position NFT")
|
|
79
|
+
});
|
|
71
80
|
var DelegatePositionInputSchema = z.object({
|
|
72
81
|
walletAddress: WalletAddressSchema.describe(
|
|
73
82
|
"Wallet address that owns the positions"
|
|
@@ -164,6 +173,7 @@ var SplitPositionResponseSchema = createTypedTransactionResponse(
|
|
|
164
173
|
SplitPositionMetadataSchema
|
|
165
174
|
);
|
|
166
175
|
var TransferPositionResponseSchema = createTransactionResponse();
|
|
176
|
+
var TransferPositionOwnershipResponseSchema = createTransactionResponse();
|
|
167
177
|
var ExtendDelegationResponseSchema = createTransactionResponse();
|
|
168
178
|
var DelegatePositionsResponseSchema = createPaginatedTransactionResponse();
|
|
169
179
|
var ClaimDelegationRewardsResponseSchema = createPaginatedTransactionResponse();
|
|
@@ -174,4 +184,4 @@ var RelinquishPositionVotesResponseSchema = createTypedPaginatedTransactionRespo
|
|
|
174
184
|
var AssignProxiesResponseSchema = createPaginatedTransactionResponse();
|
|
175
185
|
var UnassignProxiesResponseSchema = createPaginatedTransactionResponse();
|
|
176
186
|
|
|
177
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema };
|
|
187
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HotspotSchema } from './chunk-
|
|
1
|
+
import { HotspotSchema } from './chunk-4UAUX7EJ.js';
|
|
2
2
|
import { WalletAddressSchema, ScheduleInputSchema, TokenAmountInputSchema, RewardSplitInputSchema, createTransactionResponse } from './chunk-5G5SYHQP.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
package/dist/contracts.d.ts
CHANGED
|
@@ -338,6 +338,51 @@ declare const governanceContract: {
|
|
|
338
338
|
}, zod_v4_core.$strip>;
|
|
339
339
|
};
|
|
340
340
|
}>>, Record<never, never>>;
|
|
341
|
+
transferPositionOwnership: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
342
|
+
from: zod.ZodString;
|
|
343
|
+
to: zod.ZodString;
|
|
344
|
+
positionMint: zod.ZodString;
|
|
345
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
346
|
+
transactionData: zod.ZodObject<{
|
|
347
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
348
|
+
serializedTransaction: zod.ZodString;
|
|
349
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
350
|
+
type: zod.ZodString;
|
|
351
|
+
description: zod.ZodString;
|
|
352
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
353
|
+
}, zod_v4_core.$strip>>;
|
|
354
|
+
parallel: zod.ZodBoolean;
|
|
355
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
356
|
+
actionMetadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
357
|
+
}, zod_v4_core.$strip>;
|
|
358
|
+
estimatedSolFee: zod.ZodObject<{
|
|
359
|
+
amount: zod.ZodString;
|
|
360
|
+
decimals: zod.ZodNumber;
|
|
361
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
362
|
+
uiAmountString: zod.ZodString;
|
|
363
|
+
mint: zod.ZodString;
|
|
364
|
+
}, zod_v4_core.$strip>;
|
|
365
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
366
|
+
BAD_REQUEST: {
|
|
367
|
+
readonly status: 400;
|
|
368
|
+
readonly message: "Invalid input data provided.";
|
|
369
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
370
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
371
|
+
}, zod_v4_core.$strip>>;
|
|
372
|
+
};
|
|
373
|
+
NOT_FOUND: {
|
|
374
|
+
readonly status: 404;
|
|
375
|
+
readonly message: "The requested resource was not found.";
|
|
376
|
+
};
|
|
377
|
+
INSUFFICIENT_FUNDS: {
|
|
378
|
+
readonly status: 400;
|
|
379
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
380
|
+
readonly data: zod.ZodObject<{
|
|
381
|
+
required: zod.ZodNumber;
|
|
382
|
+
available: zod.ZodNumber;
|
|
383
|
+
}, zod_v4_core.$strip>;
|
|
384
|
+
};
|
|
385
|
+
}>>, Record<never, never>>;
|
|
341
386
|
delegatePositions: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
342
387
|
walletAddress: zod.ZodString;
|
|
343
388
|
positionMints: zod.ZodArray<zod.ZodString>;
|
|
@@ -929,7 +974,22 @@ declare const hotspotsContract: {
|
|
|
929
974
|
mobile: "mobile";
|
|
930
975
|
}>>;
|
|
931
976
|
tuktuk: zod.ZodOptional<zod.ZodBoolean>;
|
|
977
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
978
|
+
amount: zod.ZodString;
|
|
979
|
+
decimals: zod.ZodNumber;
|
|
980
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
981
|
+
uiAmountString: zod.ZodString;
|
|
982
|
+
mint: zod.ZodString;
|
|
983
|
+
}, zod_v4_core.$strip>>;
|
|
932
984
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
985
|
+
estimatedSolFee: zod.ZodObject<{
|
|
986
|
+
amount: zod.ZodString;
|
|
987
|
+
decimals: zod.ZodNumber;
|
|
988
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
989
|
+
uiAmountString: zod.ZodString;
|
|
990
|
+
mint: zod.ZodString;
|
|
991
|
+
}, zod_v4_core.$strip>;
|
|
992
|
+
hasMore: zod.ZodBoolean;
|
|
933
993
|
transactionData: zod.ZodObject<{
|
|
934
994
|
transactions: zod.ZodArray<zod.ZodObject<{
|
|
935
995
|
serializedTransaction: zod.ZodString;
|
|
@@ -940,16 +1000,32 @@ declare const hotspotsContract: {
|
|
|
940
1000
|
}, zod_v4_core.$strip>>;
|
|
941
1001
|
parallel: zod.ZodBoolean;
|
|
942
1002
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
943
|
-
actionMetadata: zod.ZodOptional<zod.
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
1003
|
+
actionMetadata: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
1004
|
+
type: zod.ZodLiteral<"claim_rewards">;
|
|
1005
|
+
hotspotCount: zod.ZodNumber;
|
|
1006
|
+
network: zod.ZodString;
|
|
1007
|
+
hotspotKeys: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1008
|
+
hotspotNames: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
1009
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
1010
|
+
amount: zod.ZodString;
|
|
1011
|
+
decimals: zod.ZodNumber;
|
|
1012
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
1013
|
+
uiAmountString: zod.ZodString;
|
|
1014
|
+
mint: zod.ZodString;
|
|
1015
|
+
}, zod_v4_core.$strip>>;
|
|
1016
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
1017
|
+
type: zod.ZodLiteral<"queue_wallet_claim">;
|
|
1018
|
+
hotspotCount: zod.ZodNumber;
|
|
1019
|
+
network: zod.ZodLiteral<"all">;
|
|
1020
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
1021
|
+
amount: zod.ZodString;
|
|
1022
|
+
decimals: zod.ZodNumber;
|
|
1023
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
1024
|
+
uiAmountString: zod.ZodString;
|
|
1025
|
+
mint: zod.ZodString;
|
|
1026
|
+
}, zod_v4_core.$strip>>;
|
|
1027
|
+
}, zod_v4_core.$strip>], "type">>;
|
|
951
1028
|
}, zod_v4_core.$strip>;
|
|
952
|
-
hasMore: zod.ZodBoolean;
|
|
953
1029
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
954
1030
|
INSUFFICIENT_FUNDS: {
|
|
955
1031
|
readonly status: 400;
|
|
@@ -3537,6 +3613,51 @@ declare const apiContract: {
|
|
|
3537
3613
|
}, zod_v4_core.$strip>;
|
|
3538
3614
|
};
|
|
3539
3615
|
}>>>, Record<never, never>>;
|
|
3616
|
+
transferPositionOwnership: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
3617
|
+
from: zod.ZodString;
|
|
3618
|
+
to: zod.ZodString;
|
|
3619
|
+
positionMint: zod.ZodString;
|
|
3620
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3621
|
+
transactionData: zod.ZodObject<{
|
|
3622
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
3623
|
+
serializedTransaction: zod.ZodString;
|
|
3624
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
3625
|
+
type: zod.ZodString;
|
|
3626
|
+
description: zod.ZodString;
|
|
3627
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
3628
|
+
}, zod_v4_core.$strip>>;
|
|
3629
|
+
parallel: zod.ZodBoolean;
|
|
3630
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
3631
|
+
actionMetadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
3632
|
+
}, zod_v4_core.$strip>;
|
|
3633
|
+
estimatedSolFee: zod.ZodObject<{
|
|
3634
|
+
amount: zod.ZodString;
|
|
3635
|
+
decimals: zod.ZodNumber;
|
|
3636
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3637
|
+
uiAmountString: zod.ZodString;
|
|
3638
|
+
mint: zod.ZodString;
|
|
3639
|
+
}, zod_v4_core.$strip>;
|
|
3640
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3641
|
+
BAD_REQUEST: {
|
|
3642
|
+
readonly status: 400;
|
|
3643
|
+
readonly message: "Invalid input data provided.";
|
|
3644
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
3645
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
3646
|
+
}, zod_v4_core.$strip>>;
|
|
3647
|
+
};
|
|
3648
|
+
NOT_FOUND: {
|
|
3649
|
+
readonly status: 404;
|
|
3650
|
+
readonly message: "The requested resource was not found.";
|
|
3651
|
+
};
|
|
3652
|
+
INSUFFICIENT_FUNDS: {
|
|
3653
|
+
readonly status: 400;
|
|
3654
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
3655
|
+
readonly data: zod.ZodObject<{
|
|
3656
|
+
required: zod.ZodNumber;
|
|
3657
|
+
available: zod.ZodNumber;
|
|
3658
|
+
}, zod_v4_core.$strip>;
|
|
3659
|
+
};
|
|
3660
|
+
}>>>, Record<never, never>>;
|
|
3540
3661
|
delegatePositions: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
3541
3662
|
walletAddress: zod.ZodString;
|
|
3542
3663
|
positionMints: zod.ZodArray<zod.ZodString>;
|
|
@@ -4125,7 +4246,22 @@ declare const apiContract: {
|
|
|
4125
4246
|
mobile: "mobile";
|
|
4126
4247
|
}>>;
|
|
4127
4248
|
tuktuk: zod.ZodOptional<zod.ZodBoolean>;
|
|
4249
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
4250
|
+
amount: zod.ZodString;
|
|
4251
|
+
decimals: zod.ZodNumber;
|
|
4252
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4253
|
+
uiAmountString: zod.ZodString;
|
|
4254
|
+
mint: zod.ZodString;
|
|
4255
|
+
}, zod_v4_core.$strip>>;
|
|
4128
4256
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
4257
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4258
|
+
amount: zod.ZodString;
|
|
4259
|
+
decimals: zod.ZodNumber;
|
|
4260
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4261
|
+
uiAmountString: zod.ZodString;
|
|
4262
|
+
mint: zod.ZodString;
|
|
4263
|
+
}, zod_v4_core.$strip>;
|
|
4264
|
+
hasMore: zod.ZodBoolean;
|
|
4129
4265
|
transactionData: zod.ZodObject<{
|
|
4130
4266
|
transactions: zod.ZodArray<zod.ZodObject<{
|
|
4131
4267
|
serializedTransaction: zod.ZodString;
|
|
@@ -4136,16 +4272,32 @@ declare const apiContract: {
|
|
|
4136
4272
|
}, zod_v4_core.$strip>>;
|
|
4137
4273
|
parallel: zod.ZodBoolean;
|
|
4138
4274
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4139
|
-
actionMetadata: zod.ZodOptional<zod.
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4275
|
+
actionMetadata: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
4276
|
+
type: zod.ZodLiteral<"claim_rewards">;
|
|
4277
|
+
hotspotCount: zod.ZodNumber;
|
|
4278
|
+
network: zod.ZodString;
|
|
4279
|
+
hotspotKeys: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4280
|
+
hotspotNames: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
4281
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
4282
|
+
amount: zod.ZodString;
|
|
4283
|
+
decimals: zod.ZodNumber;
|
|
4284
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4285
|
+
uiAmountString: zod.ZodString;
|
|
4286
|
+
mint: zod.ZodString;
|
|
4287
|
+
}, zod_v4_core.$strip>>;
|
|
4288
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
4289
|
+
type: zod.ZodLiteral<"queue_wallet_claim">;
|
|
4290
|
+
hotspotCount: zod.ZodNumber;
|
|
4291
|
+
network: zod.ZodLiteral<"all">;
|
|
4292
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
4293
|
+
amount: zod.ZodString;
|
|
4294
|
+
decimals: zod.ZodNumber;
|
|
4295
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4296
|
+
uiAmountString: zod.ZodString;
|
|
4297
|
+
mint: zod.ZodString;
|
|
4298
|
+
}, zod_v4_core.$strip>>;
|
|
4299
|
+
}, zod_v4_core.$strip>], "type">>;
|
|
4147
4300
|
}, zod_v4_core.$strip>;
|
|
4148
|
-
hasMore: zod.ZodBoolean;
|
|
4149
4301
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4150
4302
|
INSUFFICIENT_FUNDS: {
|
|
4151
4303
|
readonly status: 400;
|
|
@@ -6838,6 +6990,51 @@ declare const fullApiContract: {
|
|
|
6838
6990
|
}, zod_v4_core.$strip>;
|
|
6839
6991
|
};
|
|
6840
6992
|
}>>>>, Record<never, never>>;
|
|
6993
|
+
transferPositionOwnership: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
6994
|
+
from: zod.ZodString;
|
|
6995
|
+
to: zod.ZodString;
|
|
6996
|
+
positionMint: zod.ZodString;
|
|
6997
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
6998
|
+
transactionData: zod.ZodObject<{
|
|
6999
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
7000
|
+
serializedTransaction: zod.ZodString;
|
|
7001
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
7002
|
+
type: zod.ZodString;
|
|
7003
|
+
description: zod.ZodString;
|
|
7004
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
7005
|
+
}, zod_v4_core.$strip>>;
|
|
7006
|
+
parallel: zod.ZodBoolean;
|
|
7007
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
7008
|
+
actionMetadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
|
|
7009
|
+
}, zod_v4_core.$strip>;
|
|
7010
|
+
estimatedSolFee: zod.ZodObject<{
|
|
7011
|
+
amount: zod.ZodString;
|
|
7012
|
+
decimals: zod.ZodNumber;
|
|
7013
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
7014
|
+
uiAmountString: zod.ZodString;
|
|
7015
|
+
mint: zod.ZodString;
|
|
7016
|
+
}, zod_v4_core.$strip>;
|
|
7017
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
7018
|
+
BAD_REQUEST: {
|
|
7019
|
+
readonly status: 400;
|
|
7020
|
+
readonly message: "Invalid input data provided.";
|
|
7021
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
7022
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
7023
|
+
}, zod_v4_core.$strip>>;
|
|
7024
|
+
};
|
|
7025
|
+
NOT_FOUND: {
|
|
7026
|
+
readonly status: 404;
|
|
7027
|
+
readonly message: "The requested resource was not found.";
|
|
7028
|
+
};
|
|
7029
|
+
INSUFFICIENT_FUNDS: {
|
|
7030
|
+
readonly status: 400;
|
|
7031
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
7032
|
+
readonly data: zod.ZodObject<{
|
|
7033
|
+
required: zod.ZodNumber;
|
|
7034
|
+
available: zod.ZodNumber;
|
|
7035
|
+
}, zod_v4_core.$strip>;
|
|
7036
|
+
};
|
|
7037
|
+
}>>>>, Record<never, never>>;
|
|
6841
7038
|
delegatePositions: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
6842
7039
|
walletAddress: zod.ZodString;
|
|
6843
7040
|
positionMints: zod.ZodArray<zod.ZodString>;
|
|
@@ -7426,7 +7623,22 @@ declare const fullApiContract: {
|
|
|
7426
7623
|
mobile: "mobile";
|
|
7427
7624
|
}>>;
|
|
7428
7625
|
tuktuk: zod.ZodOptional<zod.ZodBoolean>;
|
|
7626
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
7627
|
+
amount: zod.ZodString;
|
|
7628
|
+
decimals: zod.ZodNumber;
|
|
7629
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
7630
|
+
uiAmountString: zod.ZodString;
|
|
7631
|
+
mint: zod.ZodString;
|
|
7632
|
+
}, zod_v4_core.$strip>>;
|
|
7429
7633
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7634
|
+
estimatedSolFee: zod.ZodObject<{
|
|
7635
|
+
amount: zod.ZodString;
|
|
7636
|
+
decimals: zod.ZodNumber;
|
|
7637
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
7638
|
+
uiAmountString: zod.ZodString;
|
|
7639
|
+
mint: zod.ZodString;
|
|
7640
|
+
}, zod_v4_core.$strip>;
|
|
7641
|
+
hasMore: zod.ZodBoolean;
|
|
7430
7642
|
transactionData: zod.ZodObject<{
|
|
7431
7643
|
transactions: zod.ZodArray<zod.ZodObject<{
|
|
7432
7644
|
serializedTransaction: zod.ZodString;
|
|
@@ -7437,16 +7649,32 @@ declare const fullApiContract: {
|
|
|
7437
7649
|
}, zod_v4_core.$strip>>;
|
|
7438
7650
|
parallel: zod.ZodBoolean;
|
|
7439
7651
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
7440
|
-
actionMetadata: zod.ZodOptional<zod.
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7652
|
+
actionMetadata: zod.ZodOptional<zod.ZodDiscriminatedUnion<[zod.ZodObject<{
|
|
7653
|
+
type: zod.ZodLiteral<"claim_rewards">;
|
|
7654
|
+
hotspotCount: zod.ZodNumber;
|
|
7655
|
+
network: zod.ZodString;
|
|
7656
|
+
hotspotKeys: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
7657
|
+
hotspotNames: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
7658
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
7659
|
+
amount: zod.ZodString;
|
|
7660
|
+
decimals: zod.ZodNumber;
|
|
7661
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
7662
|
+
uiAmountString: zod.ZodString;
|
|
7663
|
+
mint: zod.ZodString;
|
|
7664
|
+
}, zod_v4_core.$strip>>;
|
|
7665
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
7666
|
+
type: zod.ZodLiteral<"queue_wallet_claim">;
|
|
7667
|
+
hotspotCount: zod.ZodNumber;
|
|
7668
|
+
network: zod.ZodLiteral<"all">;
|
|
7669
|
+
estimatedPendingRewards: zod.ZodOptional<zod.ZodObject<{
|
|
7670
|
+
amount: zod.ZodString;
|
|
7671
|
+
decimals: zod.ZodNumber;
|
|
7672
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
7673
|
+
uiAmountString: zod.ZodString;
|
|
7674
|
+
mint: zod.ZodString;
|
|
7675
|
+
}, zod_v4_core.$strip>>;
|
|
7676
|
+
}, zod_v4_core.$strip>], "type">>;
|
|
7448
7677
|
}, zod_v4_core.$strip>;
|
|
7449
|
-
hasMore: zod.ZodBoolean;
|
|
7450
7678
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
7451
7679
|
INSUFFICIENT_FUNDS: {
|
|
7452
7680
|
readonly status: 400;
|
package/dist/contracts.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { apiContract, dataCreditsContract, fiatContract, fullApiContract, governanceContract, healthContract, hotspotsContract, migrationContract, rewardContract, swapContract, tokensContract, transactionsContract, webhooksContract, welcomePacksContract } from './chunk-
|
|
1
|
+
export { apiContract, dataCreditsContract, fiatContract, fullApiContract, governanceContract, healthContract, hotspotsContract, migrationContract, rewardContract, swapContract, tokensContract, transactionsContract, webhooksContract, welcomePacksContract } from './chunk-2LMIMVAQ.js';
|
|
2
2
|
import './chunk-6EPXJJY5.js';
|
|
3
3
|
import './chunk-7CTJX35S.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-EXCHVVEL.js';
|
|
5
5
|
import './chunk-U3ZF47XT.js';
|
|
6
6
|
import './chunk-7DAYLUKX.js';
|
|
7
7
|
import './chunk-PPNXNULU.js';
|
|
8
8
|
import './chunk-IFZEDIKX.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-RT2UWP4I.js';
|
|
10
10
|
import './chunk-EIDQ3E2M.js';
|
|
11
11
|
import './chunk-S46U7PBT.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-QFW75K6Y.js';
|
|
13
13
|
import './chunk-4RVSLJOU.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-4UAUX7EJ.js';
|
|
15
15
|
import './chunk-5G5SYHQP.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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, 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
|
-
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, LockupKind, LockupKindSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
|
|
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, LockupKind, LockupKindSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, 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';
|
|
5
5
|
export { CreateHntAccountInput, CreateHntAccountInputSchema, CreateHntAccountOutput, CreateHntAccountOutputSchema, GetBalancesInput, GetBalancesInputSchema, TokenAccount, TokenAccountSchema, TokenBalanceData, TokenBalanceDataSchema, TransferInput, TransferInputSchema, TransferOutput, TransferOutputSchema } from './schemas/tokens.js';
|
|
6
6
|
export { AutomationScheduleSchema, AutomationStatus, AutomationStatusOutputSchema, ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInput, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceType, DeviceTypeSchema, FundAutomationInput, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimate, FundingEstimateOutputSchema, GetAutomationStatusInput, GetAutomationStatusInputSchema, GetFundingEstimateInput, GetFundingEstimateInputSchema, GetHotspotsInput, GetHotspotsInputSchema, GetPendingRewardsInput, GetPendingRewardsInputSchema, GetPendingRewardsOutput, GetPendingRewardsOutputSchema, GetSplitInput, GetSplitInputSchema, Hotspot, HotspotSchema, HotspotSharesSchema, HotspotType, HotspotTypeSchema, HotspotsData, HotspotsDataSchema, OwnershipType, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInput, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponse, SplitResponseSchema, SplitShare, SplitShareSchema, TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './schemas/hotspots.js';
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import './chunk-KTADG6LO.js';
|
|
2
|
-
export { apiContract, fullApiContract } from './chunk-
|
|
2
|
+
export { apiContract, fullApiContract } from './chunk-2LMIMVAQ.js';
|
|
3
3
|
export { BAD_REQUEST, CONFLICT, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, NOT_FOUND, RATE_LIMITED, SIMULATION_FAILED, TRANSACTION_FAILED, UNAUTHENTICATED, UNAUTHORIZED } from './chunk-6EPXJJY5.js';
|
|
4
4
|
import './chunk-7CTJX35S.js';
|
|
5
5
|
import './chunk-TPPTOJHD.js';
|
|
6
|
-
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-
|
|
6
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-EXCHVVEL.js';
|
|
7
7
|
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-U3ZF47XT.js';
|
|
8
8
|
export { CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-7DAYLUKX.js';
|
|
9
9
|
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-PPNXNULU.js';
|
|
10
10
|
export { DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-IFZEDIKX.js';
|
|
11
|
-
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-
|
|
11
|
+
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-RT2UWP4I.js';
|
|
12
12
|
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-EIDQ3E2M.js';
|
|
13
13
|
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-S46U7PBT.js';
|
|
14
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-
|
|
14
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-QFW75K6Y.js';
|
|
15
15
|
export { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
16
|
-
export { AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-
|
|
16
|
+
export { AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-4UAUX7EJ.js';
|
|
17
17
|
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, typedTransactionData } from './chunk-5G5SYHQP.js';
|
|
@@ -56,6 +56,11 @@ declare const TransferPositionInputSchema: z.ZodObject<{
|
|
|
56
56
|
targetPositionMint: z.ZodString;
|
|
57
57
|
amount: z.ZodString;
|
|
58
58
|
}, z.core.$strip>;
|
|
59
|
+
declare const TransferPositionOwnershipInputSchema: z.ZodObject<{
|
|
60
|
+
from: z.ZodString;
|
|
61
|
+
to: z.ZodString;
|
|
62
|
+
positionMint: z.ZodString;
|
|
63
|
+
}, z.core.$strip>;
|
|
59
64
|
declare const DelegatePositionInputSchema: z.ZodObject<{
|
|
60
65
|
walletAddress: z.ZodString;
|
|
61
66
|
positionMints: z.ZodArray<z.ZodString>;
|
|
@@ -251,6 +256,27 @@ declare const TransferPositionResponseSchema: z.ZodObject<{
|
|
|
251
256
|
mint: z.ZodString;
|
|
252
257
|
}, z.core.$strip>;
|
|
253
258
|
}, z.core.$strip>;
|
|
259
|
+
declare const TransferPositionOwnershipResponseSchema: z.ZodObject<{
|
|
260
|
+
transactionData: z.ZodObject<{
|
|
261
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
262
|
+
serializedTransaction: z.ZodString;
|
|
263
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
type: z.ZodString;
|
|
265
|
+
description: z.ZodString;
|
|
266
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
267
|
+
}, z.core.$strip>>;
|
|
268
|
+
parallel: z.ZodBoolean;
|
|
269
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
270
|
+
actionMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
estimatedSolFee: z.ZodObject<{
|
|
273
|
+
amount: z.ZodString;
|
|
274
|
+
decimals: z.ZodNumber;
|
|
275
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
276
|
+
uiAmountString: z.ZodString;
|
|
277
|
+
mint: z.ZodString;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
}, z.core.$strip>;
|
|
254
280
|
declare const ExtendDelegationResponseSchema: z.ZodObject<{
|
|
255
281
|
transactionData: z.ZodObject<{
|
|
256
282
|
transactions: z.ZodArray<z.ZodObject<{
|
|
@@ -457,6 +483,7 @@ type FlipLockupKindInput = z.infer<typeof FlipLockupKindInputSchema>;
|
|
|
457
483
|
type ResetLockupInput = z.infer<typeof ResetLockupInputSchema>;
|
|
458
484
|
type SplitPositionInput = z.infer<typeof SplitPositionInputSchema>;
|
|
459
485
|
type TransferPositionInput = z.infer<typeof TransferPositionInputSchema>;
|
|
486
|
+
type TransferPositionOwnershipInput = z.infer<typeof TransferPositionOwnershipInputSchema>;
|
|
460
487
|
type DelegatePositionInput = z.infer<typeof DelegatePositionInputSchema>;
|
|
461
488
|
type ExtendDelegationInput = z.infer<typeof ExtendDelegationInputSchema>;
|
|
462
489
|
type UndelegateInput = z.infer<typeof UndelegateInputSchema>;
|
|
@@ -473,6 +500,7 @@ type FlipLockupKindResponse = z.infer<typeof FlipLockupKindResponseSchema>;
|
|
|
473
500
|
type ResetLockupResponse = z.infer<typeof ResetLockupResponseSchema>;
|
|
474
501
|
type SplitPositionResponse = z.infer<typeof SplitPositionResponseSchema>;
|
|
475
502
|
type TransferPositionResponse = z.infer<typeof TransferPositionResponseSchema>;
|
|
503
|
+
type TransferPositionOwnershipResponse = z.infer<typeof TransferPositionOwnershipResponseSchema>;
|
|
476
504
|
type DelegatePositionsResponse = z.infer<typeof DelegatePositionsResponseSchema>;
|
|
477
505
|
type ExtendDelegationResponse = z.infer<typeof ExtendDelegationResponseSchema>;
|
|
478
506
|
type UndelegatePositionResponse = z.infer<typeof UndelegatePositionResponseSchema>;
|
|
@@ -483,4 +511,4 @@ type RelinquishPositionVotesResponse = z.infer<typeof RelinquishPositionVotesRes
|
|
|
483
511
|
type AssignProxiesResponse = z.infer<typeof AssignProxiesResponseSchema>;
|
|
484
512
|
type UnassignProxiesResponse = z.infer<typeof UnassignProxiesResponseSchema>;
|
|
485
513
|
|
|
486
|
-
export { type AssignProxiesInput, AssignProxiesInputSchema, type AssignProxiesResponse, AssignProxiesResponseSchema, type ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, type ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, type ClosePositionInput, ClosePositionInputSchema, type ClosePositionResponse, ClosePositionResponseSchema, type CreatePositionInput, CreatePositionInputSchema, type CreatePositionResponse, CreatePositionResponseSchema, type DelegatePositionInput, DelegatePositionInputSchema, type DelegatePositionsResponse, DelegatePositionsResponseSchema, type ExtendDelegationInput, ExtendDelegationInputSchema, type ExtendDelegationResponse, ExtendDelegationResponseSchema, type ExtendPositionInput, ExtendPositionInputSchema, type ExtendPositionResponse, ExtendPositionResponseSchema, type FlipLockupKindInput, FlipLockupKindInputSchema, type FlipLockupKindResponse, FlipLockupKindResponseSchema, type LockupKind, LockupKindSchema, type RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, type RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, type RelinquishVoteInput, RelinquishVoteInputSchema, type RelinquishVoteResponse, RelinquishVoteResponseSchema, type ResetLockupInput, ResetLockupInputSchema, type ResetLockupResponse, ResetLockupResponseSchema, type SplitPositionInput, SplitPositionInputSchema, type SplitPositionResponse, SplitPositionResponseSchema, type TransferPositionInput, TransferPositionInputSchema, type TransferPositionResponse, TransferPositionResponseSchema, type UnassignProxiesInput, UnassignProxiesInputSchema, type UnassignProxiesResponse, UnassignProxiesResponseSchema, type UndelegateInput, UndelegateInputSchema, type UndelegatePositionResponse, UndelegatePositionResponseSchema, type VoteInput, VoteInputSchema, type VoteResponse, VoteResponseSchema };
|
|
514
|
+
export { type AssignProxiesInput, AssignProxiesInputSchema, type AssignProxiesResponse, AssignProxiesResponseSchema, type ClaimDelegationRewardsInput, ClaimDelegationRewardsInputSchema, type ClaimDelegationRewardsResponse, ClaimDelegationRewardsResponseSchema, type ClosePositionInput, ClosePositionInputSchema, type ClosePositionResponse, ClosePositionResponseSchema, type CreatePositionInput, CreatePositionInputSchema, type CreatePositionResponse, CreatePositionResponseSchema, type DelegatePositionInput, DelegatePositionInputSchema, type DelegatePositionsResponse, DelegatePositionsResponseSchema, type ExtendDelegationInput, ExtendDelegationInputSchema, type ExtendDelegationResponse, ExtendDelegationResponseSchema, type ExtendPositionInput, ExtendPositionInputSchema, type ExtendPositionResponse, ExtendPositionResponseSchema, type FlipLockupKindInput, FlipLockupKindInputSchema, type FlipLockupKindResponse, FlipLockupKindResponseSchema, type LockupKind, LockupKindSchema, type RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, type RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, type RelinquishVoteInput, RelinquishVoteInputSchema, type RelinquishVoteResponse, RelinquishVoteResponseSchema, type ResetLockupInput, ResetLockupInputSchema, type ResetLockupResponse, ResetLockupResponseSchema, type SplitPositionInput, SplitPositionInputSchema, type SplitPositionResponse, SplitPositionResponseSchema, type TransferPositionInput, TransferPositionInputSchema, type TransferPositionOwnershipInput, TransferPositionOwnershipInputSchema, type TransferPositionOwnershipResponse, TransferPositionOwnershipResponseSchema, type TransferPositionResponse, TransferPositionResponseSchema, type UnassignProxiesInput, UnassignProxiesInputSchema, type UnassignProxiesResponse, UnassignProxiesResponseSchema, type UndelegateInput, UndelegateInputSchema, type UndelegatePositionResponse, UndelegatePositionResponseSchema, type VoteInput, VoteInputSchema, type VoteResponse, VoteResponseSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from '../chunk-
|
|
1
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from '../chunk-QFW75K6Y.js';
|
|
2
2
|
import '../chunk-5G5SYHQP.js';
|
|
@@ -28,6 +28,13 @@ declare const ClaimRewardsInputSchema: z.ZodObject<{
|
|
|
28
28
|
mobile: "mobile";
|
|
29
29
|
}>>;
|
|
30
30
|
tuktuk: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
estimatedPendingRewards: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
amount: z.ZodString;
|
|
33
|
+
decimals: z.ZodNumber;
|
|
34
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
uiAmountString: z.ZodString;
|
|
36
|
+
mint: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>;
|
|
31
38
|
}, z.core.$strip>;
|
|
32
39
|
declare const GetPendingRewardsInputSchema: z.ZodObject<{
|
|
33
40
|
walletAddress: z.ZodString;
|
|
@@ -243,6 +250,14 @@ declare const HotspotsDataSchema: z.ZodObject<{
|
|
|
243
250
|
totalPages: z.ZodNumber;
|
|
244
251
|
}, z.core.$strip>;
|
|
245
252
|
declare const ClaimRewardsOutputSchema: z.ZodObject<{
|
|
253
|
+
estimatedSolFee: z.ZodObject<{
|
|
254
|
+
amount: z.ZodString;
|
|
255
|
+
decimals: z.ZodNumber;
|
|
256
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
257
|
+
uiAmountString: z.ZodString;
|
|
258
|
+
mint: z.ZodString;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
hasMore: z.ZodBoolean;
|
|
246
261
|
transactionData: z.ZodObject<{
|
|
247
262
|
transactions: z.ZodArray<z.ZodObject<{
|
|
248
263
|
serializedTransaction: z.ZodString;
|
|
@@ -253,16 +268,32 @@ declare const ClaimRewardsOutputSchema: z.ZodObject<{
|
|
|
253
268
|
}, z.core.$strip>>;
|
|
254
269
|
parallel: z.ZodBoolean;
|
|
255
270
|
tag: z.ZodOptional<z.ZodString>;
|
|
256
|
-
actionMetadata: z.ZodOptional<z.
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
271
|
+
actionMetadata: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
272
|
+
type: z.ZodLiteral<"claim_rewards">;
|
|
273
|
+
hotspotCount: z.ZodNumber;
|
|
274
|
+
network: z.ZodString;
|
|
275
|
+
hotspotKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
276
|
+
hotspotNames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
277
|
+
estimatedPendingRewards: z.ZodOptional<z.ZodObject<{
|
|
278
|
+
amount: z.ZodString;
|
|
279
|
+
decimals: z.ZodNumber;
|
|
280
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
281
|
+
uiAmountString: z.ZodString;
|
|
282
|
+
mint: z.ZodString;
|
|
283
|
+
}, z.core.$strip>>;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
type: z.ZodLiteral<"queue_wallet_claim">;
|
|
286
|
+
hotspotCount: z.ZodNumber;
|
|
287
|
+
network: z.ZodLiteral<"all">;
|
|
288
|
+
estimatedPendingRewards: z.ZodOptional<z.ZodObject<{
|
|
289
|
+
amount: z.ZodString;
|
|
290
|
+
decimals: z.ZodNumber;
|
|
291
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
292
|
+
uiAmountString: z.ZodString;
|
|
293
|
+
mint: z.ZodString;
|
|
294
|
+
}, z.core.$strip>>;
|
|
295
|
+
}, z.core.$strip>], "type">>;
|
|
264
296
|
}, z.core.$strip>;
|
|
265
|
-
hasMore: z.ZodBoolean;
|
|
266
297
|
}, z.core.$strip>;
|
|
267
298
|
declare const TransferHotspotOutputSchema: z.ZodObject<{
|
|
268
299
|
transactionData: z.ZodObject<{
|
package/dist/schemas/hotspots.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from '../chunk-
|
|
1
|
+
export { AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from '../chunk-4UAUX7EJ.js';
|
|
2
2
|
import '../chunk-5G5SYHQP.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from '../chunk-EXCHVVEL.js';
|
|
2
|
+
import '../chunk-4UAUX7EJ.js';
|
|
3
3
|
import '../chunk-5G5SYHQP.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-
|
|
1
|
+
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from '../chunk-RT2UWP4I.js';
|
|
2
|
+
import '../chunk-4UAUX7EJ.js';
|
|
3
3
|
import '../chunk-5G5SYHQP.js';
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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, 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
|
-
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, LockupKind, LockupKindSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, SplitPositionInput, SplitPositionInputSchema, SplitPositionResponse, SplitPositionResponseSchema, TransferPositionInput, TransferPositionInputSchema, TransferPositionResponse, TransferPositionResponseSchema, UnassignProxiesInput, UnassignProxiesInputSchema, UnassignProxiesResponse, UnassignProxiesResponseSchema, UndelegateInput, UndelegateInputSchema, UndelegatePositionResponse, UndelegatePositionResponseSchema, VoteInput, VoteInputSchema, VoteResponse, VoteResponseSchema } from './schemas/governance.js';
|
|
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, LockupKind, LockupKindSchema, RelinquishPositionVotesInput, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponse, RelinquishPositionVotesResponseSchema, RelinquishVoteInput, RelinquishVoteInputSchema, RelinquishVoteResponse, RelinquishVoteResponseSchema, ResetLockupInput, ResetLockupInputSchema, ResetLockupResponse, ResetLockupResponseSchema, 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';
|
|
5
5
|
export { CreateHntAccountInput, CreateHntAccountInputSchema, CreateHntAccountOutput, CreateHntAccountOutputSchema, GetBalancesInput, GetBalancesInputSchema, TokenAccount, TokenAccountSchema, TokenBalanceData, TokenBalanceDataSchema, TransferInput, TransferInputSchema, TransferOutput, TransferOutputSchema } from './schemas/tokens.js';
|
|
6
6
|
export { AutomationScheduleSchema, AutomationStatus, AutomationStatusOutputSchema, ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInput, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceType, DeviceTypeSchema, FundAutomationInput, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimate, FundingEstimateOutputSchema, GetAutomationStatusInput, GetAutomationStatusInputSchema, GetFundingEstimateInput, GetFundingEstimateInputSchema, GetHotspotsInput, GetHotspotsInputSchema, GetPendingRewardsInput, GetPendingRewardsInputSchema, GetPendingRewardsOutput, GetPendingRewardsOutputSchema, GetSplitInput, GetSplitInputSchema, Hotspot, HotspotSchema, HotspotSharesSchema, HotspotType, HotspotTypeSchema, HotspotsData, HotspotsDataSchema, OwnershipType, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInput, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponse, SplitResponseSchema, SplitShare, SplitShareSchema, TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './schemas/hotspots.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-
|
|
2
|
+
export { MigratableHotspotSchema, MigratableHotspotsInputSchema, MigratableHotspotsOutputSchema, MigrateInputSchema, MigrateOutputSchema, MigrateTransactionDataSchema, MigrateTransactionItemSchema } from './chunk-EXCHVVEL.js';
|
|
3
3
|
export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from './chunk-U3ZF47XT.js';
|
|
4
4
|
export { CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from './chunk-7DAYLUKX.js';
|
|
5
5
|
export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetHistoryInputSchema, GetInputSchema, HistoryActionSchema, HistoryOutputSchema, HistoryTransactionSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from './chunk-PPNXNULU.js';
|
|
6
6
|
export { DelegateDataCreditsInputSchema, MintDataCreditsInputSchema } from './chunk-IFZEDIKX.js';
|
|
7
|
-
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-
|
|
7
|
+
export { WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema } from './chunk-RT2UWP4I.js';
|
|
8
8
|
export { BankAccountListOutputSchema, BankAccountSchema, BridgeTransferSchema, CreateBankAccountInputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, FeesOutputSchema, GetBankAccountInputSchema, GetSendQuoteInputSchema, GetTransferInputSchema, InitKycInputSchema, KycStatusOutputSchema, QuoteOutputSchema, SendFundsInputSchema, SendFundsOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema } from './chunk-EIDQ3E2M.js';
|
|
9
9
|
export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from './chunk-S46U7PBT.js';
|
|
10
|
-
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-
|
|
10
|
+
export { AssignProxiesInputSchema, AssignProxiesResponseSchema, ClaimDelegationRewardsInputSchema, ClaimDelegationRewardsResponseSchema, ClosePositionInputSchema, ClosePositionResponseSchema, CreatePositionInputSchema, CreatePositionResponseSchema, DelegatePositionInputSchema, DelegatePositionsResponseSchema, ExtendDelegationInputSchema, ExtendDelegationResponseSchema, ExtendPositionInputSchema, ExtendPositionResponseSchema, FlipLockupKindInputSchema, FlipLockupKindResponseSchema, LockupKindSchema, RelinquishPositionVotesInputSchema, RelinquishPositionVotesResponseSchema, RelinquishVoteInputSchema, RelinquishVoteResponseSchema, ResetLockupInputSchema, ResetLockupResponseSchema, SplitPositionInputSchema, SplitPositionResponseSchema, TransferPositionInputSchema, TransferPositionOwnershipInputSchema, TransferPositionOwnershipResponseSchema, TransferPositionResponseSchema, UnassignProxiesInputSchema, UnassignProxiesResponseSchema, UndelegateInputSchema, UndelegatePositionResponseSchema, VoteInputSchema, VoteResponseSchema } from './chunk-QFW75K6Y.js';
|
|
11
11
|
export { HealthResponseSchema } from './chunk-4RVSLJOU.js';
|
|
12
|
-
export { AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-
|
|
12
|
+
export { AutomationScheduleSchema, AutomationStatusOutputSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetSplitInputSchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, OwnershipTypeSchema, RewardNetworkSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema } from './chunk-4UAUX7EJ.js';
|
|
13
13
|
export { ErrorResponseSchema, HeliumPublicKeySchema, PaginationInputSchema, PaginationOutputSchema, PublicKeySchema, RewardSplitInputSchema, ScheduleInputSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, WalletAddressSchema, createPaginatedTransactionResponse, createTransactionResponse, createTypedPaginatedTransactionResponse, createTypedTransactionResponse, typedTransactionData } from './chunk-5G5SYHQP.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helium/blockchain-api",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript client and schemas for the Helium Blockchain API",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,13 +41,6 @@
|
|
|
41
41
|
"types": "./dist/errors.d.ts"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
"scripts": {
|
|
45
|
-
"build": "tsup",
|
|
46
|
-
"dev": "tsup --watch",
|
|
47
|
-
"clean": "rm -rf dist",
|
|
48
|
-
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
49
|
-
"prepublishOnly": "npm run build"
|
|
50
|
-
},
|
|
51
44
|
"dependencies": {
|
|
52
45
|
"@orpc/contract": "^1.13.2",
|
|
53
46
|
"zod": "^4.3.5"
|
|
@@ -55,5 +48,11 @@
|
|
|
55
48
|
"devDependencies": {
|
|
56
49
|
"tsup": "^8.0.0",
|
|
57
50
|
"typescript": "^5.0.0"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "tsup",
|
|
54
|
+
"dev": "tsup --watch",
|
|
55
|
+
"clean": "rm -rf dist",
|
|
56
|
+
"format": "prettier --write \"src/**/*.{ts,tsx}\""
|
|
58
57
|
}
|
|
59
|
-
}
|
|
58
|
+
}
|