@silvana-one/api 0.1.0 → 0.1.2

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.
@@ -0,0 +1,12 @@
1
+ import type { ClientOptions } from './types.gen.js';
2
+ import { type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
3
+ /**
4
+ * The `createClientConfig()` function will be called on client initialization
5
+ * and the returned object will become the client's initial configuration.
6
+ *
7
+ * You may want to initialize your client this way instead of calling
8
+ * `setConfig()`. This is useful for example if you're using Next.js
9
+ * to ensure your client always has the correct values.
10
+ */
11
+ export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
12
+ export declare const client: import("@hey-api/client-fetch").Client;
@@ -0,0 +1,6 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { createClient, createConfig } from '@hey-api/client-fetch';
3
+ export const client = createClient(createConfig({
4
+ baseUrl: 'https://minatokens.com/api/v1/'
5
+ }));
6
+ //# sourceMappingURL=client.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.gen.js","sourceRoot":"","sources":["../../../src/client/client.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAA2D,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAY5H,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC,YAAY,CAAgB;IAC3D,OAAO,EAAE,gCAAgC;CAC5C,CAAC,CAAC,CAAC"}
@@ -1,6 +1,25 @@
1
- import { type OptionsLegacyParser } from '@hey-api/client-fetch';
2
- import type { LaunchTokenData, GetContractInfoData, GetContractInfoResponse, GetNftV2InfoData, FaucetData, GetTokenInfoData, GetTokenBalanceData, ProveData, GetProofData, TxStatusData, MintTokensData, TransferTokensData, AirdropTokensData, RedeemTokensData, BurnTokensData, TokenBidData, TokenOfferData, BuyTokensData, SellTokensData, WithdrawTokenBidData, WithdrawTokenOfferData, UpdateTokenBidWhitelistData, UpdateTokenOfferWhitelistData, UpdateTokenAdminWhitelistData } from './types.gen.js';
3
- export declare const client: import("@hey-api/client-fetch").Client<Request, Response, unknown, import("@hey-api/client-fetch").RequestOptions<boolean, string>>;
1
+ import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
2
+ import type { LaunchNftCollectionData, LaunchTokenData, GetContractInfoData, GetNftV2InfoData, FaucetData, GetTokenInfoData, GetTokenBalanceData, ProveData, GetProofData, TxStatusData, MintTokensData, MintNftData, TransferTokensData, AirdropTokensData, RedeemTokensData, BurnTokensData, TokenBidData, TokenOfferData, BuyTokensData, SellTokensData, WithdrawTokenBidData, WithdrawTokenOfferData, UpdateTokenBidWhitelistData, UpdateTokenOfferWhitelistData, UpdateTokenAdminWhitelistData } from './types.gen.js';
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: Record<string, unknown>;
15
+ };
16
+ /**
17
+ * Deploy a new NFT Collection contract.
18
+ * The `launch` endpoint is used to deploy a new NFT Collection on the Mina blockchain.
19
+ * It allows users to create a new NFT Collection with customizable parameters.
20
+ *
21
+ */
22
+ export declare const launchNftCollection: <ThrowOnError extends boolean = false>(options: Options<LaunchNftCollectionData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
4
23
  /**
5
24
  * Deploy a new fungible token contract.
6
25
  * The `launch` endpoint is used to deploy a new fungible token on the Mina blockchain.
@@ -8,54 +27,54 @@ export declare const client: import("@hey-api/client-fetch").Client<Request, Res
8
27
  * decimals, URI, and admin contract type (standard or advanced).
9
28
  *
10
29
  */
11
- export declare const launchToken: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<LaunchTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
30
+ export declare const launchToken: <ThrowOnError extends boolean = false>(options: Options<LaunchTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
12
31
  /**
13
32
  * Retrieve contract info
14
33
  * Retrieves detailed information about a contract.
15
34
  */
16
- export declare const getContractInfo: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetContractInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetContractInfoResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
35
+ export declare const getContractInfo: <ThrowOnError extends boolean = false>(options: Options<GetContractInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").ContractInfo[], import("./types.gen.js").ErrorResponse, ThrowOnError>;
17
36
  /**
18
37
  * Retrieve NFT Info
19
38
  * Retrieves detailed information about a Mina NFT V2.
20
39
  */
21
- export declare const getNftV2Info: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetNftV2InfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NFTRequestAnswer, import("./types.gen.js").ErrorResponse, ThrowOnError>;
40
+ export declare const getNftV2Info: <ThrowOnError extends boolean = false>(options: Options<GetNftV2InfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftRequestAnswer, import("./types.gen.js").ErrorResponse, ThrowOnError>;
22
41
  /**
23
42
  * Request Funds from Faucet
24
43
  * Requests funds from the faucet for testing purposes.
25
44
  */
26
- export declare const faucet: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<FaucetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").FaucetResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
45
+ export declare const faucet: <ThrowOnError extends boolean = false>(options: Options<FaucetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").FaucetResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
27
46
  /**
28
47
  * Retrieve information about a fungible token.
29
48
  * The `info` endpoint retrieves detailed information about a specific fungible token deployed on the Mina blockchain.
30
49
  *
31
50
  */
32
- export declare const getTokenInfo: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTokenInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenState, import("./types.gen.js").ErrorResponse, ThrowOnError>;
51
+ export declare const getTokenInfo: <ThrowOnError extends boolean = false>(options: Options<GetTokenInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenState, import("./types.gen.js").ErrorResponse, ThrowOnError>;
33
52
  /**
34
53
  * Retrieve the balance of a specific token for an address.
35
54
  * The `balance` endpoint retrieves the balance of a specific fungible token for a given Mina address.
36
55
  *
37
56
  */
38
- export declare const getTokenBalance: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetTokenBalanceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").BalanceResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
57
+ export declare const getTokenBalance: <ThrowOnError extends boolean = false>(options: Options<GetTokenBalanceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").BalanceResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
39
58
  /**
40
59
  * Generate proofs for signed token transactions.
41
60
  * The `prove` endpoint initiates the proof generation process for a set of signed token transactions.
42
61
  * It returns a job ID which can be used to check the status and retrieve the proofs or tx hashes using the `/proof` endpoint.
43
62
  *
44
63
  */
45
- export declare const prove: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ProveData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobId, import("./types.gen.js").ErrorResponse, ThrowOnError>;
64
+ export declare const prove: <ThrowOnError extends boolean = false>(options: Options<ProveData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobId, import("./types.gen.js").ErrorResponse, ThrowOnError>;
46
65
  /**
47
66
  * Check the status of a proof generation job and retrieve proofs.
48
67
  * The `proof` endpoint allows you to check the status of a proof generation job initiated via the `/prove` endpoint.
49
68
  * It returns the status of the job and the proofs or tx hashes if they are ready.
50
69
  *
51
70
  */
52
- export declare const getProof: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetProofData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobResults, import("./types.gen.js").ErrorResponse, ThrowOnError>;
71
+ export declare const getProof: <ThrowOnError extends boolean = false>(options: Options<GetProofData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobResults, import("./types.gen.js").ErrorResponse, ThrowOnError>;
53
72
  /**
54
73
  * Retrieve the status of a transaction by its hash.
55
74
  * The `tx-status` endpoint allows you to check the current status of a transaction on the Mina blockchain by providing the transaction hash. It returns whether the transaction has been applied, failed, or is still pending.
56
75
  *
57
76
  */
58
- export declare const txStatus: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TxStatusData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TransactionStatus, import("./types.gen.js").ErrorResponse, ThrowOnError>;
77
+ export declare const txStatus: <ThrowOnError extends boolean = false>(options: Options<TxStatusData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TransactionStatus, import("./types.gen.js").ErrorResponse, ThrowOnError>;
59
78
  /**
60
79
  * Mint new tokens to a specified address.
61
80
  * The `mint` endpoint allows authorized users to mint new tokens of a fungible token on the Mina blockchain.
@@ -63,91 +82,99 @@ export declare const txStatus: <ThrowOnError extends boolean = false>(options: O
63
82
  * The sender must have the authority to mint tokens, typically the admin of the token contract.
64
83
  *
65
84
  */
66
- export declare const mintTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<MintTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
85
+ export declare const mintTokens: <ThrowOnError extends boolean = false>(options: Options<MintTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
86
+ /**
87
+ * Mint new NFT to a specified address.
88
+ * The `mint` endpoint allows authorized users to mint new NFT on the Mina blockchain.
89
+ * This transaction creates new NFT.
90
+ * The sender must have the authority to mint NFTs, typically the admin of the NFT contract.
91
+ *
92
+ */
93
+ export declare const mintNft: <ThrowOnError extends boolean = false>(options: Options<MintNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
67
94
  /**
68
95
  * Transfer tokens from one address to another.
69
96
  * The `transfer` endpoint allows users to transfer tokens of a fungible token on the Mina blockchain from one address to another.
70
97
  * The sender must have sufficient balance and appropriate permissions to perform the transfer.
71
98
  *
72
99
  */
73
- export declare const transferTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TransferTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
100
+ export declare const transferTokens: <ThrowOnError extends boolean = false>(options: Options<TransferTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
74
101
  /**
75
102
  * Distribute tokens to multiple addresses via airdrop.
76
103
  * Allows users to distribute tokens to multiple addresses in a single transaction.
77
104
  * This is efficient for distributing tokens during events like token launches or community rewards.
78
105
  *
79
106
  */
80
- export declare const airdropTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<AirdropTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").AirdropTransactionResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
107
+ export declare const airdropTokens: <ThrowOnError extends boolean = false>(options: Options<AirdropTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").AirdropTransactionResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
81
108
  /**
82
109
  * Redeem tokens for a MINA (applicable for Fungible Tokens with Bonding Curve Admin)
83
110
  * The `redeem` endpoint allows users to redeem tokens of a fungible token on the Mina blockchain for a MINA.
84
111
  * The sender must have sufficient balance and appropriate permissions to perform the transfer.
85
112
  *
86
113
  */
87
- export declare const redeemTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RedeemTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
114
+ export declare const redeemTokens: <ThrowOnError extends boolean = false>(options: Options<RedeemTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
88
115
  /**
89
116
  * Burn tokens from one address.
90
117
  * The `burn` endpoint allows users to burn tokens of a fungible token on the Mina blockchain from one address.
91
118
  * The sender must have sufficient balance and appropriate permissions to perform the burn.
92
119
  *
93
120
  */
94
- export declare const burnTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<BurnTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
121
+ export declare const burnTokens: <ThrowOnError extends boolean = false>(options: Options<BurnTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
95
122
  /**
96
123
  * Place a bid on a token
97
124
  * Allows users to place a bid on an token.
98
125
  *
99
126
  */
100
- export declare const tokenBid: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
127
+ export declare const tokenBid: <ThrowOnError extends boolean = false>(options: Options<TokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
101
128
  /**
102
129
  * Create an offer to sell tokens at a specified price.
103
130
  * Allows users to create an offer to sell a specified amount of tokens at a given price.
104
131
  *
105
132
  */
106
- export declare const tokenOffer: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<TokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
133
+ export declare const tokenOffer: <ThrowOnError extends boolean = false>(options: Options<TokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
107
134
  /**
108
135
  * Purchase tokens from an existing offer.
109
136
  * Allows users to purchase tokens from an existing offer on the Mina blockchain.
110
137
  * This endpoint facilitates the transaction where tokens are transferred from the offer address to the buyer's address in exchange for the specified price.
111
138
  *
112
139
  */
113
- export declare const buyTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<BuyTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
140
+ export declare const buyTokens: <ThrowOnError extends boolean = false>(options: Options<BuyTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
114
141
  /**
115
142
  * Sell a token to the Bid contract.
116
143
  * Allows token owners to sell their tokens to the Bid contract.
117
144
  *
118
145
  */
119
- export declare const sellTokens: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SellTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
146
+ export declare const sellTokens: <ThrowOnError extends boolean = false>(options: Options<SellTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
120
147
  /**
121
148
  * Withdraw a previously placed bid on an token.
122
149
  * Allows users to withdraw a bid they have previously placed using the `/bid` endpoint.
123
150
  * This transaction cancels the active bid, releasing any locked funds.
124
151
  *
125
152
  */
126
- export declare const withdrawTokenBid: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<WithdrawTokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
153
+ export declare const withdrawTokenBid: <ThrowOnError extends boolean = false>(options: Options<WithdrawTokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
127
154
  /**
128
155
  * Withdraw a previously made offer to sell a token.
129
156
  * Allows users to withdraw an offer they have previously made using the `/offer` endpoint.
130
157
  * This transaction cancels the active offer, releasing any locked tokens.
131
158
  *
132
159
  */
133
- export declare const withdrawTokenOffer: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<WithdrawTokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
160
+ export declare const withdrawTokenOffer: <ThrowOnError extends boolean = false>(options: Options<WithdrawTokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
134
161
  /**
135
162
  * Update the bid whitelist
136
163
  * Allows administrators to update the whitelist of addresses permitted to interact with the Bid contract.
137
164
  * This is essential for managing participation in bidding processes, especially for controlled or private auctions.
138
165
  *
139
166
  */
140
- export declare const updateTokenBidWhitelist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTokenBidWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
167
+ export declare const updateTokenBidWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenBidWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
141
168
  /**
142
169
  * Update the offer whitelist
143
170
  * Allows administrators to update the whitelist of addresses permitted to interact with the Offer contract.
144
171
  * This is essential for managing participation in offer processes, especially for controlled or private sales.
145
172
  *
146
173
  */
147
- export declare const updateTokenOfferWhitelist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTokenOfferWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
174
+ export declare const updateTokenOfferWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenOfferWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
148
175
  /**
149
176
  * Update the advanced admin whitelist
150
177
  * Allows administrators to update the whitelist of admin contracts.
151
178
  *
152
179
  */
153
- export declare const updateTokenAdminWhitelist: <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTokenAdminWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
180
+ export declare const updateTokenAdminWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenAdminWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;