UNPKG

@saturnbtcio/indexer-api-sdk

Version:

SDK for Titan BTC indexer

1,223 lines (1,217 loc) 90.5 kB
/** * Generated by orval v7.8.0 🍺 * Do not edit manually. * Saturn Indexer API * API for querying data from the Saturn bitcoin rune trading platform * OpenAPI spec version: 0.1.0 */ type AddPoolShardsDataPrevTransaction = string | null; interface AddPoolShardsData { /** @minimum 0 */ shards: number; /** @minimum 0 */ diffShards: number; /** @minimum 0 */ btcFeePaid: number; /** @minimum 0 */ totalBtcFeePaid: number; prevTransaction?: AddPoolShardsDataPrevTransaction; } type ApiErrorOneOf = { DBError: string; }; type ApiErrorOneOfTwo = { NotFound: string; }; type ApiErrorOneOfThree = { InvalidPubkey: string; }; type ApiError = ApiErrorOneOf | ApiErrorOneOfTwo | ApiErrorOneOfThree; interface AssetPair { token0Id: string; token1Id: string; } type BTCCollectionSymbol = string | null; interface BTCCollection { id: string; name: string; displayName: string; symbol?: BTCCollectionSymbol; /** @minimum 0 */ divisibility: number; /** @minimum 0 */ batchSize: number; supply: string; createdAt: string; updatedAt: string; } type BitcoinTxStatus = typeof BitcoinTxStatus[keyof typeof BitcoinTxStatus]; declare const BitcoinTxStatus: { readonly pending: "pending"; readonly confirmed: "confirmed"; readonly failed: "failed"; readonly rolled_back: "rolled_back"; }; interface CollectProtocolFeesData { positionId: string; token0Amount: string; token1Amount: string; /** @minimum 0 */ btcFeePaid: number; /** @minimum 0 */ totalBtcFeePaid: number; } type CollectionOneOfAllOfType = typeof CollectionOneOfAllOfType[keyof typeof CollectionOneOfAllOfType]; declare const CollectionOneOfAllOfType: { readonly btc: "btc"; }; type CollectionOneOfAllOf = { type: CollectionOneOfAllOfType; }; type CollectionOneOf = BTCCollection & CollectionOneOfAllOf; type CollectionOneOfFourAllOfType = typeof CollectionOneOfFourAllOfType[keyof typeof CollectionOneOfFourAllOfType]; declare const CollectionOneOfFourAllOfType: { readonly rune: "rune"; }; type CollectionOneOfFourAllOf = { type: CollectionOneOfFourAllOfType; }; type CollectionOneOfFour = RuneCollection & CollectionOneOfFourAllOf; type Collection = CollectionOneOf | CollectionOneOfFour; interface CollectionPairStats { token0: Collection; token1: Collection; current_price: string; stats_per_period: CollectionPairStatsForPeriod[]; } interface CollectionPairStatsForPeriod { period: Period; total_volume: string; /** @minimum 0 */ transactions: number; fee_token0: string; fee_token1: string; price_change: PriceChange; high_price: string; low_price: string; } type CollectionSearchFilterName = string | null; type CollectionSearchFilterSort = SortFieldSortFieldCollection[] | null; type CollectionSearchFilterLimit = number | null; type CollectionSearchFilterOffset = number | null; type CollectionSearchFilterAddress = string | null; /** * Struct used to filter collections. */ interface CollectionSearchFilter { name?: CollectionSearchFilterName; sort?: CollectionSearchFilterSort; limit?: CollectionSearchFilterLimit; offset?: CollectionSearchFilterOffset; address?: CollectionSearchFilterAddress; } interface FailedTransaction { id: string; status: StatusSchema; rollbackStatus: RollbackStatusSchema; blockHeight: string; poolPubkey: string; userPubkey: string; transactionType: TransactionType; createdAt: string; details: TransactionDetails; } interface FindManyByIdsRequest { ids: string[]; } type GroupedPoolStatVolume24h = string | null; type GroupedPoolStatVolumeDiff24h = string | null; type GroupedPoolStatFees24h = string | null; type GroupedPoolStatApy24h = number | null; type GroupedPoolStatVolume7d = string | null; type GroupedPoolStatFees7d = string | null; type GroupedPoolStatApy7d = number | null; interface GroupedPoolStat { id: string; tvlNow: string; tvl24hAgo: string; tvlDiff: string; volume24h?: GroupedPoolStatVolume24h; volumeDiff24h?: GroupedPoolStatVolumeDiff24h; fees24h?: GroupedPoolStatFees24h; apy24h?: GroupedPoolStatApy24h; volume7d?: GroupedPoolStatVolume7d; fees7d?: GroupedPoolStatFees7d; apy7d?: GroupedPoolStatApy7d; price: string; token0Amount: string; token1Amount: string; liquidity: string; feeRate: number; } type IdentifiableLiquidityPoolAllOf = { shards: IdentifiableLiquidityPoolShard[]; token0Amount: string; token1Amount: string; liquidity: string; price: string; }; type IdentifiableLiquidityPool = LiquidityPool & IdentifiableLiquidityPoolAllOf; type IdentifiableLiquidityPoolShardAllOf = { pubkey: string; utxo: string; }; type IdentifiableLiquidityPoolShard = LiquidityPoolShardJson & IdentifiableLiquidityPoolShardAllOf; type InitializePoolDataPrevTransaction = string | null; interface InitializePoolData { /** @minimum 0 */ btcFeePaid: number; /** @minimum 0 */ totalBtcFeePaid: number; prevTransaction?: InitializePoolDataPrevTransaction; } interface LiquidityPool { id: string; feeRate: number; config: LiquidityPoolConfig; invalid: boolean; assetPair: AssetPair; createdBlockHeight: string; } interface LiquidityPoolConfig { /** @minimum 0 */ feeTier: number; /** @minimum 0 */ shards: number; Padding: number[]; token0: string; token1: string; } type LiquidityPoolShardJsonRuneUtxo = null | UtxoInfoJson; interface LiquidityPoolShardJson { poolPubkey: string; runeUtxo?: LiquidityPoolShardJsonRuneUtxo; /** UTXOs holding BTC for this shard */ btcUtxos: UtxoInfoJson[]; /** Liquidity held in this shard */ liquidity: string; /** How much BTC has accumulated as fees in this shard */ protocolFeeOwed: string; kLast: string; kLastCounter: string; pendingToSend: PendingToSend[]; swapBalance: SwapBalance; } /** * @minimum 0 */ type MintEntityStart = number | null; /** * @minimum 0 */ type MintEntityEnd = number | null; interface MintEntity { collection_id: string; /** @minimum 0 */ start?: MintEntityStart; /** @minimum 0 */ end?: MintEntityEnd; mintable: boolean; mints: string; cap: string; amount: string; } type MintableCollectionAllOf = { mint: MintEntity; }; type MintableCollection = Collection & MintableCollectionAllOf; type MintableCollectionSearchFilterName = string | null; type MintableCollectionSearchFilterSort = SortFieldSortMintableFieldCollection[] | null; type MintableCollectionSearchFilterLimit = number | null; type MintableCollectionSearchFilterOffset = number | null; /** * Struct used to filter mintable collections. */ interface MintableCollectionSearchFilter { name?: MintableCollectionSearchFilterName; sort?: MintableCollectionSearchFilterSort; limit?: MintableCollectionSearchFilterLimit; offset?: MintableCollectionSearchFilterOffset; } type NeedsConsolidationOneOfType = typeof NeedsConsolidationOneOfType[keyof typeof NeedsConsolidationOneOfType]; declare const NeedsConsolidationOneOfType: { readonly no: "no"; }; type NeedsConsolidationOneOf = { type: NeedsConsolidationOneOfType; }; type NeedsConsolidationOneOfThreeType = typeof NeedsConsolidationOneOfThreeType[keyof typeof NeedsConsolidationOneOfThreeType]; declare const NeedsConsolidationOneOfThreeType: { readonly yes: "yes"; }; /** * Internal f64 represents mempool fee rate at moment of creation. */ type NeedsConsolidationOneOfThree = { /** Internal f64 represents mempool fee rate at moment of creation. */ value: number; type: NeedsConsolidationOneOfThreeType; }; type NeedsConsolidation = NeedsConsolidationOneOf | NeedsConsolidationOneOfThree; interface OHLCData { /** @minimum 0 */ id: number; pair: AssetPair; openPrice: string; highPrice: string; lowPrice: string; closePrice: string; volume: string; feeToken0: string; feeToken1: string; startTimestamp: string; endTimestamp: string; granularity: OHLCGranularity; /** @minimum 0 */ transactions: number; createdAt: string; updatedAt: string; } type OHLCGranularity = typeof OHLCGranularity[keyof typeof OHLCGranularity]; declare const OHLCGranularity: { readonly '1m': "1m"; readonly '5m': "5m"; readonly '15m': "15m"; readonly '30m': "30m"; readonly '1h': "1h"; readonly '4h': "4h"; readonly '1d': "1d"; readonly '1w': "1w"; }; type PaginationResponseVecCollectionResponseItemOneOfAllOfType = typeof PaginationResponseVecCollectionResponseItemOneOfAllOfType[keyof typeof PaginationResponseVecCollectionResponseItemOneOfAllOfType]; declare const PaginationResponseVecCollectionResponseItemOneOfAllOfType: { readonly btc: "btc"; }; type PaginationResponseVecCollectionResponseItemOneOfAllOf = { type: PaginationResponseVecCollectionResponseItemOneOfAllOfType; }; type PaginationResponseVecCollectionResponseItemOneOf = BTCCollection & PaginationResponseVecCollectionResponseItemOneOfAllOf; type PaginationResponseVecCollectionResponseItemOneOfFourAllOfType = typeof PaginationResponseVecCollectionResponseItemOneOfFourAllOfType[keyof typeof PaginationResponseVecCollectionResponseItemOneOfFourAllOfType]; declare const PaginationResponseVecCollectionResponseItemOneOfFourAllOfType: { readonly rune: "rune"; }; type PaginationResponseVecCollectionResponseItemOneOfFourAllOf = { type: PaginationResponseVecCollectionResponseItemOneOfFourAllOfType; }; type PaginationResponseVecCollectionResponseItemOneOfFour = RuneCollection & PaginationResponseVecCollectionResponseItemOneOfFourAllOf; type PaginationResponseVecCollectionResponseItem = PaginationResponseVecCollectionResponseItemOneOf | PaginationResponseVecCollectionResponseItemOneOfFour; interface PaginationResponseVecCollection { response: PaginationResponseVecCollectionResponseItem[]; offset: number; } type PaginationResponseVecMintableCollectionResponseItemAllOf = { mint: MintEntity; }; type PaginationResponseVecMintableCollectionResponseItem = Collection & PaginationResponseVecMintableCollectionResponseItemAllOf; interface PaginationResponseVecMintableCollection { response: PaginationResponseVecMintableCollectionResponseItem[]; offset: number; } type PaginationResponseVecPoolStatsResponseItemTvlNow = string | null; type PaginationResponseVecPoolStatsResponseItemTvl24hAgo = string | null; type PaginationResponseVecPoolStatsResponseItemTvlDiff = string | null; type PaginationResponseVecPoolStatsResponseItemVolume24h = string | null; type PaginationResponseVecPoolStatsResponseItemVolumePrev24h = string | null; type PaginationResponseVecPoolStatsResponseItemVolumeDiff24h = string | null; type PaginationResponseVecPoolStatsResponseItemFees24h = string | null; type PaginationResponseVecPoolStatsResponseItemApy24h = string | null; type PaginationResponseVecPoolStatsResponseItemVolume7d = string | null; type PaginationResponseVecPoolStatsResponseItemFees7d = string | null; type PaginationResponseVecPoolStatsResponseItemApy7d = string | null; type PaginationResponseVecPoolStatsResponseItem = { poolId: string; token0: Collection; token1: Collection; token0Amount: string; token1Amount: string; liquidity: string; price: string; tvlNow?: PaginationResponseVecPoolStatsResponseItemTvlNow; tvl24hAgo?: PaginationResponseVecPoolStatsResponseItemTvl24hAgo; tvlDiff?: PaginationResponseVecPoolStatsResponseItemTvlDiff; volume24h?: PaginationResponseVecPoolStatsResponseItemVolume24h; volumePrev24h?: PaginationResponseVecPoolStatsResponseItemVolumePrev24h; volumeDiff24h?: PaginationResponseVecPoolStatsResponseItemVolumeDiff24h; fees24h?: PaginationResponseVecPoolStatsResponseItemFees24h; apy24h?: PaginationResponseVecPoolStatsResponseItemApy24h; volume7d?: PaginationResponseVecPoolStatsResponseItemVolume7d; fees7d?: PaginationResponseVecPoolStatsResponseItemFees7d; apy7d?: PaginationResponseVecPoolStatsResponseItemApy7d; /** @minimum 0 */ feeRate: number; }; interface PaginationResponseVecPoolStats { response: PaginationResponseVecPoolStatsResponseItem[]; offset: number; } type PaginationResponseVecPoolsStatsByTokensResponseItemVolume24h = string | null; type PaginationResponseVecPoolsStatsByTokensResponseItemVolumeDiff24h = string | null; type PaginationResponseVecPoolsStatsByTokensResponseItemVolume7d = string | null; type PaginationResponseVecPoolsStatsByTokensResponseItemFees24h = string | null; type PaginationResponseVecPoolsStatsByTokensResponseItemSmaller24hApy = string | null; type PaginationResponseVecPoolsStatsByTokensResponseItemLarger24hApy = string | null; type PaginationResponseVecPoolsStatsByTokensResponseItemSmaller7dApy = string | null; type PaginationResponseVecPoolsStatsByTokensResponseItemLarger7dApy = string | null; type PaginationResponseVecPoolsStatsByTokensResponseItem = { token0: Collection; token1: Collection; volume24h?: PaginationResponseVecPoolsStatsByTokensResponseItemVolume24h; volumeDiff24h?: PaginationResponseVecPoolsStatsByTokensResponseItemVolumeDiff24h; volume7d?: PaginationResponseVecPoolsStatsByTokensResponseItemVolume7d; fees24h?: PaginationResponseVecPoolsStatsByTokensResponseItemFees24h; tvlNow: string; tvl24hAgo: string; tvlDiff: string; smaller24hApy?: PaginationResponseVecPoolsStatsByTokensResponseItemSmaller24hApy; larger24hApy?: PaginationResponseVecPoolsStatsByTokensResponseItemLarger24hApy; smaller7dApy?: PaginationResponseVecPoolsStatsByTokensResponseItemSmaller7dApy; larger7dApy?: PaginationResponseVecPoolsStatsByTokensResponseItemLarger7dApy; pools: GroupedPoolStat[]; }; interface PaginationResponseVecPoolsStatsByTokens { response: PaginationResponseVecPoolsStatsByTokensResponseItem[]; offset: number; } type PaginationResponseVecPositionResultResponseItemEstimatedApy24h = string | null; type PaginationResponseVecPositionResultResponseItemEstimatedApy7d = string | null; type PaginationResponseVecPositionResultResponseItem = { position: Position; state: PositionState; historicalGainPct: string; totalIncrementToken0Amount: number; totalIncrementToken1Amount: number; estimatedApy24h?: PaginationResponseVecPositionResultResponseItemEstimatedApy24h; estimatedApy7d?: PaginationResponseVecPositionResultResponseItemEstimatedApy7d; }; interface PaginationResponseVecPositionResult { response: PaginationResponseVecPositionResultResponseItem[]; offset: number; } type PaginationResponseVecTransactionResponsePropertyItem = SuccessfulTransaction | FailedTransaction; interface PaginationResponseVecTransaction { response: PaginationResponseVecTransactionResponsePropertyItem[]; offset: number; } type PaginationResponseVecTransactionResponseResponseItem = { transaction: Transaction; token0: Collection; token1: Collection; }; interface PaginationResponseVecTransactionResponse { response: PaginationResponseVecTransactionResponseResponseItem[]; offset: number; } interface PendingToSend { address: TaprootAddress; amount: string; } type Period = typeof Period[keyof typeof Period]; declare const Period: { readonly Day: "Day"; readonly Week: "Week"; readonly Month: "Month"; }; type PoolSearchFilterName = string[] | null; type PoolSearchFilterMinTvl = number | null; type PoolSearchFilterMinVolume = number | null; type PoolSearchFilterSort = SortFieldSortFieldPool[] | null; type PoolSearchFilterLimit = number | null; type PoolSearchFilterOffset = number | null; type PoolSearchFilterUserAddress = string | null; interface PoolSearchFilter { name?: PoolSearchFilterName; minTvl?: PoolSearchFilterMinTvl; minVolume?: PoolSearchFilterMinVolume; sort?: PoolSearchFilterSort; limit?: PoolSearchFilterLimit; offset?: PoolSearchFilterOffset; userAddress?: PoolSearchFilterUserAddress; } type PoolStatsTvlNow = string | null; type PoolStatsTvl24hAgo = string | null; type PoolStatsTvlDiff = string | null; type PoolStatsVolume24h = string | null; type PoolStatsVolumePrev24h = string | null; type PoolStatsVolumeDiff24h = string | null; type PoolStatsFees24h = string | null; type PoolStatsApy24h = string | null; type PoolStatsVolume7d = string | null; type PoolStatsFees7d = string | null; type PoolStatsApy7d = string | null; interface PoolStats { poolId: string; token0: Collection; token1: Collection; token0Amount: string; token1Amount: string; liquidity: string; price: string; tvlNow?: PoolStatsTvlNow; tvl24hAgo?: PoolStatsTvl24hAgo; tvlDiff?: PoolStatsTvlDiff; volume24h?: PoolStatsVolume24h; volumePrev24h?: PoolStatsVolumePrev24h; volumeDiff24h?: PoolStatsVolumeDiff24h; fees24h?: PoolStatsFees24h; apy24h?: PoolStatsApy24h; volume7d?: PoolStatsVolume7d; fees7d?: PoolStatsFees7d; apy7d?: PoolStatsApy7d; /** @minimum 0 */ feeRate: number; } type PoolsStatsByTokensVolume24h = string | null; type PoolsStatsByTokensVolumeDiff24h = string | null; type PoolsStatsByTokensVolume7d = string | null; type PoolsStatsByTokensFees24h = string | null; type PoolsStatsByTokensSmaller24hApy = string | null; type PoolsStatsByTokensLarger24hApy = string | null; type PoolsStatsByTokensSmaller7dApy = string | null; type PoolsStatsByTokensLarger7dApy = string | null; interface PoolsStatsByTokens { token0: Collection; token1: Collection; volume24h?: PoolsStatsByTokensVolume24h; volumeDiff24h?: PoolsStatsByTokensVolumeDiff24h; volume7d?: PoolsStatsByTokensVolume7d; fees24h?: PoolsStatsByTokensFees24h; tvlNow: string; tvl24hAgo: string; tvlDiff: string; smaller24hApy?: PoolsStatsByTokensSmaller24hApy; larger24hApy?: PoolsStatsByTokensLarger24hApy; smaller7dApy?: PoolsStatsByTokensSmaller7dApy; larger7dApy?: PoolsStatsByTokensLarger7dApy; pools: GroupedPoolStat[]; } interface Position { id: string; invalid: boolean; poolId: string; owner: string; } interface PositionData { positionId: string; token0Amount: string; token1Amount: string; /** @minimum 0 */ btcFeePaid: number; /** @minimum 0 */ totalBtcFeePaid: number; prevTransactions: string[]; } interface PositionDetails { position: Position; state: PositionState; } type PositionResultEstimatedApy24h = string | null; type PositionResultEstimatedApy7d = string | null; interface PositionResult { position: Position; state: PositionState; historicalGainPct: string; totalIncrementToken0Amount: number; totalIncrementToken1Amount: number; estimatedApy24h?: PositionResultEstimatedApy24h; estimatedApy7d?: PositionResultEstimatedApy7d; } type PositionSearchFilterName = string[] | null; type PositionSearchFilterMinLiquidity = number | null; type PositionSearchFilterOffset = number | null; type PositionSearchFilterLimit = number | null; interface PositionSearchFilter { name?: PositionSearchFilterName; min_liquidity?: PositionSearchFilterMinLiquidity; offset?: PositionSearchFilterOffset; limit?: PositionSearchFilterLimit; } interface PositionState { positionId: string; blockHeight: string; liquidity: string; incrementToken0Amount: number; incrementToken1Amount: number; } interface Price { blockHeight: string; token0Id: string; btcPrice: string; } interface PriceChange { percentage: number; absolute: number; } type QueryCollectionOneOf = { Token: string; }; type QueryCollectionOneOfTwo = { Name: string; }; type QueryCollection = QueryCollectionOneOf | QueryCollectionOneOfTwo; type RollbackStatusSchemaOneOfType = typeof RollbackStatusSchemaOneOfType[keyof typeof RollbackStatusSchemaOneOfType]; declare const RollbackStatusSchemaOneOfType: { readonly rolledback: "rolledback"; }; type RollbackStatusSchemaOneOf = { message: string; type: RollbackStatusSchemaOneOfType; }; type RollbackStatusSchemaOneOfThreeType = typeof RollbackStatusSchemaOneOfThreeType[keyof typeof RollbackStatusSchemaOneOfThreeType]; declare const RollbackStatusSchemaOneOfThreeType: { readonly notRolledback: "notRolledback"; }; type RollbackStatusSchemaOneOfThree = { type: RollbackStatusSchemaOneOfThreeType; }; type RollbackStatusSchema = RollbackStatusSchemaOneOf | RollbackStatusSchemaOneOfThree; interface RuneAmountJson { id: string; amount: string; } type RuneCollectionSymbol = string | null; type RuneCollectionIcon = string | null; type RuneCollectionTransactionId = string | null; interface RuneCollection { id: string; name: string; displayName: string; symbol?: RuneCollectionSymbol; /** @minimum 0 */ divisibility: number; /** @minimum 0 */ batchSize: number; supply: string; verified: boolean; icon?: RuneCollectionIcon; premined: string; burned: string; transactionId?: RuneCollectionTransactionId; createdAt: string; updatedAt: string; } type SortFieldSortFieldCollectionField = typeof SortFieldSortFieldCollectionField[keyof typeof SortFieldSortFieldCollectionField]; declare const SortFieldSortFieldCollectionField: { readonly id: "id"; readonly name: "name"; readonly supply: "supply"; readonly created_at: "created_at"; }; interface SortFieldSortFieldCollection { field: SortFieldSortFieldCollectionField; order: SortOrder; } type SortFieldSortFieldPoolField = typeof SortFieldSortFieldPoolField[keyof typeof SortFieldSortFieldPoolField]; declare const SortFieldSortFieldPoolField: { readonly token0_name: "token0_name"; readonly token1_name: "token1_name"; readonly tvl_now: "tvl_now"; readonly tvl_24h_ago: "tvl_24h_ago"; readonly tvl_diff: "tvl_diff"; readonly volume_24h: "volume_24h"; readonly volume_7d: "volume_7d"; readonly volume_diff_24h: "volume_diff_24h"; readonly fees_24h: "fees_24h"; readonly fees_7d: "fees_7d"; readonly smaller_24h_apy: "smaller_24h_apy"; readonly larger_24h_apy: "larger_24h_apy"; readonly smaller_7d_apy: "smaller_7d_apy"; readonly larger_7d_apy: "larger_7d_apy"; }; interface SortFieldSortFieldPool { field: SortFieldSortFieldPoolField; order: SortOrder; } type SortFieldSortMintableFieldCollectionField = typeof SortFieldSortMintableFieldCollectionField[keyof typeof SortFieldSortMintableFieldCollectionField]; declare const SortFieldSortMintableFieldCollectionField: { readonly id: "id"; readonly name: "name"; readonly supply: "supply"; readonly created_at: "created_at"; readonly start: "start"; readonly end: "end"; readonly progress: "progress"; }; interface SortFieldSortMintableFieldCollection { field: SortFieldSortMintableFieldCollectionField; order: SortOrder; } type SortOrder = typeof SortOrder[keyof typeof SortOrder]; declare const SortOrder: { readonly ASC: "ASC"; readonly DESC: "DESC"; }; type StatusSchemaOneOfType = typeof StatusSchemaOneOfType[keyof typeof StatusSchemaOneOfType]; declare const StatusSchemaOneOfType: { readonly Queued: "Queued"; }; type StatusSchemaOneOf = { type: StatusSchemaOneOfType; }; type StatusSchemaOneOfThreeType = typeof StatusSchemaOneOfThreeType[keyof typeof StatusSchemaOneOfThreeType]; declare const StatusSchemaOneOfThreeType: { readonly Processed: "Processed"; }; type StatusSchemaOneOfThree = { type: StatusSchemaOneOfThreeType; }; type StatusSchemaOneOfFiveType = typeof StatusSchemaOneOfFiveType[keyof typeof StatusSchemaOneOfFiveType]; declare const StatusSchemaOneOfFiveType: { readonly Failed: "Failed"; }; type StatusSchemaOneOfFive = { message: string; type: StatusSchemaOneOfFiveType; }; type StatusSchema = StatusSchemaOneOf | StatusSchemaOneOfThree | StatusSchemaOneOfFive; type SuccessfulTransactionBitcoinTxId = string | null; /** * @minimum 0 */ type SuccessfulTransactionBitcoinBlockHeight = number | null; type SuccessfulTransactionBitcoinTxStatus = null | BitcoinTxStatus; interface SuccessfulTransaction { id: string; status: StatusSchema; rollbackStatus: RollbackStatusSchema; bitcoinTxId?: SuccessfulTransactionBitcoinTxId; /** @minimum 0 */ bitcoinBlockHeight?: SuccessfulTransactionBitcoinBlockHeight; bitcoinTxStatus?: SuccessfulTransactionBitcoinTxStatus; blockHeight: string; poolPubkey: string; userPubkey: string; transactionType: TransactionType; createdAt: string; details: TransactionDetails; } interface SwapBalance { /** @minimum 0 */ blockHeight: number; /** @minimum 0 */ zeroToOneSwaps: number; /** @minimum 0 */ oneToZeroSwaps: number; Padding1: number[]; } interface SwapData { amountIn: string; amountOut: string; zeroToOne: boolean; feeAmount0: string; feeAmount1: string; /** @minimum 0 */ btcFeePaid: number; /** @minimum 0 */ totalBtcFeePaid: number; } type TaprootAddress = number[]; type Transaction = SuccessfulTransaction | FailedTransaction; type TransactionDetailsOneOfAllOfType = typeof TransactionDetailsOneOfAllOfType[keyof typeof TransactionDetailsOneOfAllOfType]; declare const TransactionDetailsOneOfAllOfType: { readonly open_position: "open_position"; }; type TransactionDetailsOneOfAllOf = { type: TransactionDetailsOneOfAllOfType; }; type TransactionDetailsOneOf = PositionData & TransactionDetailsOneOfAllOf; type TransactionDetailsOneOfFourAllOfType = typeof TransactionDetailsOneOfFourAllOfType[keyof typeof TransactionDetailsOneOfFourAllOfType]; declare const TransactionDetailsOneOfFourAllOfType: { readonly increase_liquidity: "increase_liquidity"; }; type TransactionDetailsOneOfFourAllOf = { type: TransactionDetailsOneOfFourAllOfType; }; type TransactionDetailsOneOfFour = PositionData & TransactionDetailsOneOfFourAllOf; type TransactionDetailsOneOfSevenAllOfType = typeof TransactionDetailsOneOfSevenAllOfType[keyof typeof TransactionDetailsOneOfSevenAllOfType]; declare const TransactionDetailsOneOfSevenAllOfType: { readonly decrease_liquidity: "decrease_liquidity"; }; type TransactionDetailsOneOfSevenAllOf = { type: TransactionDetailsOneOfSevenAllOfType; }; type TransactionDetailsOneOfSeven = PositionData & TransactionDetailsOneOfSevenAllOf; type TransactionDetailsOneOfOnezeroAllOfType = typeof TransactionDetailsOneOfOnezeroAllOfType[keyof typeof TransactionDetailsOneOfOnezeroAllOfType]; declare const TransactionDetailsOneOfOnezeroAllOfType: { readonly close_position: "close_position"; }; type TransactionDetailsOneOfOnezeroAllOf = { type: TransactionDetailsOneOfOnezeroAllOfType; }; type TransactionDetailsOneOfOnezero = PositionData & TransactionDetailsOneOfOnezeroAllOf; type TransactionDetailsOneOfOnethreeAllOfType = typeof TransactionDetailsOneOfOnethreeAllOfType[keyof typeof TransactionDetailsOneOfOnethreeAllOfType]; declare const TransactionDetailsOneOfOnethreeAllOfType: { readonly add_pool_shards: "add_pool_shards"; }; type TransactionDetailsOneOfOnethreeAllOf = { type: TransactionDetailsOneOfOnethreeAllOfType; }; type TransactionDetailsOneOfOnethree = AddPoolShardsData & TransactionDetailsOneOfOnethreeAllOf; type TransactionDetailsOneOfOnesixAllOfType = typeof TransactionDetailsOneOfOnesixAllOfType[keyof typeof TransactionDetailsOneOfOnesixAllOfType]; declare const TransactionDetailsOneOfOnesixAllOfType: { readonly swap: "swap"; }; type TransactionDetailsOneOfOnesixAllOf = { type: TransactionDetailsOneOfOnesixAllOfType; }; type TransactionDetailsOneOfOnesix = SwapData & TransactionDetailsOneOfOnesixAllOf; type TransactionDetailsOneOfOnenineAllOfType = typeof TransactionDetailsOneOfOnenineAllOfType[keyof typeof TransactionDetailsOneOfOnenineAllOfType]; declare const TransactionDetailsOneOfOnenineAllOfType: { readonly collect_protocol_fees: "collect_protocol_fees"; }; type TransactionDetailsOneOfOnenineAllOf = { type: TransactionDetailsOneOfOnenineAllOfType; }; type TransactionDetailsOneOfOnenine = CollectProtocolFeesData & TransactionDetailsOneOfOnenineAllOf; type TransactionDetailsOneOfTwotwoAllOfType = typeof TransactionDetailsOneOfTwotwoAllOfType[keyof typeof TransactionDetailsOneOfTwotwoAllOfType]; declare const TransactionDetailsOneOfTwotwoAllOfType: { readonly initialize_pool: "initialize_pool"; }; type TransactionDetailsOneOfTwotwoAllOf = { type: TransactionDetailsOneOfTwotwoAllOfType; }; type TransactionDetailsOneOfTwotwo = InitializePoolData & TransactionDetailsOneOfTwotwoAllOf; type TransactionDetails = TransactionDetailsOneOf | TransactionDetailsOneOfFour | TransactionDetailsOneOfSeven | TransactionDetailsOneOfOnezero | TransactionDetailsOneOfOnethree | TransactionDetailsOneOfOnesix | TransactionDetailsOneOfOnenine | TransactionDetailsOneOfTwotwo; interface TransactionResponse { transaction: Transaction; token0: Collection; token1: Collection; } type TransactionType = typeof TransactionType[keyof typeof TransactionType]; declare const TransactionType: { readonly open_position: "open_position"; readonly close_position: "close_position"; readonly increase_liquidity: "increase_liquidity"; readonly decrease_liquidity: "decrease_liquidity"; readonly swap: "swap"; readonly initialize_pool: "initialize_pool"; readonly add_pool_shards: "add_pool_shards"; readonly collect_protocol_fees: "collect_protocol_fees"; }; interface UtxoInfoJson { txid: string; /** @minimum 0 */ vout: number; value: string; runes: RuneAmountJson[]; needsConsolidation: NeedsConsolidation; } type GetCollectionsByIdsParams = { ids: string[]; }; type GetCollectionsByNamesParams = { names: string[]; }; type GetOhlcDataParams = { granularity: OHLCGranularity; startDate: string; endDate: string; token0: string; token1: string; }; type FindParams = { name?: string | null; sortVolume?: string | null; sortFeeGenerated?: string | null; limit?: number | null; offset?: number | null; }; type FindManyByTokenIdsParams = { token0: string; token1: string; feeTier?: number | null; }; type FindManyByTokenNamesParams = { token0: string; token1: string; feeTier?: number | null; }; type FindByIdsParams = { poolIds?: string[]; }; type GetPricesForCollectionsParams = { collectionIds: string[]; }; type FindAllTransactionsParams = { startDate?: string | null; endDate?: string | null; types?: TransactionType[] | null; offset?: number | null; limit?: number | null; sortCreatedAt?: null | SortOrder; }; type FindTransactionsByPoolIdParams = { startDate?: string | null; endDate?: string | null; types?: TransactionType[] | null; offset?: number | null; limit?: number | null; sortCreatedAt?: null | SortOrder; }; type FindTransactionsByPrevTransactionsParams = { /** * List of previous transaction IDs to search for */ prev_transactions: string[]; startDate?: string | null; endDate?: string | null; types?: TransactionType[] | null; offset?: number | null; limit?: number | null; sortCreatedAt?: null | SortOrder; }; type FindSwapsByCollectionsParams = { token0: string; token1: string; offset?: number | null; limit?: number | null; }; type FindTransactionsByUserParams = { startDate?: string | null; endDate?: string | null; types?: TransactionType[] | null; offset?: number | null; limit?: number | null; sortCreatedAt?: null | SortOrder; }; /** * Generated by orval v7.8.0 🍺 * Do not edit manually. * Saturn Indexer API * API for querying data from the Saturn bitcoin rune trading platform * OpenAPI spec version: 0.1.0 */ /** * Get details for a single collection by ID */ type getCollectionByIdResponse200 = { data: Collection; status: 200; }; type getCollectionByIdResponse400 = { data: void; status: 400; }; type getCollectionByIdResponseComposite = getCollectionByIdResponse200 | getCollectionByIdResponse400; type getCollectionByIdResponse = getCollectionByIdResponseComposite & { headers: Headers; }; declare const getGetCollectionByIdUrl: (id: string) => string; declare const getCollectionById: (id: string, options?: RequestInit) => Promise<getCollectionByIdResponse>; /** * Get multiple collection details by IDs */ type getCollectionsByIdsResponse200 = { data: Collection[]; status: 200; }; type getCollectionsByIdsResponse400 = { data: void; status: 400; }; type getCollectionsByIdsResponseComposite = getCollectionsByIdsResponse200 | getCollectionsByIdsResponse400; type getCollectionsByIdsResponse = getCollectionsByIdsResponseComposite & { headers: Headers; }; declare const getGetCollectionsByIdsUrl: (params: GetCollectionsByIdsParams) => string; declare const getCollectionsByIds: (params: GetCollectionsByIdsParams, options?: RequestInit) => Promise<getCollectionsByIdsResponse>; /** * Get mintable collections by ids */ type mintableMultiSearchByIdResponse200 = { data: MintableCollection[]; status: 200; }; type mintableMultiSearchByIdResponse400 = { data: void; status: 400; }; type mintableMultiSearchByIdResponseComposite = mintableMultiSearchByIdResponse200 | mintableMultiSearchByIdResponse400; type mintableMultiSearchByIdResponse = mintableMultiSearchByIdResponseComposite & { headers: Headers; }; declare const getMintableMultiSearchByIdUrl: () => string; declare const mintableMultiSearchById: (findManyByIdsRequest: FindManyByIdsRequest, options?: RequestInit) => Promise<mintableMultiSearchByIdResponse>; /** * Search mintable collections using filter criteria */ type mintableMultiSearchResponse200 = { data: PaginationResponseVecMintableCollection; status: 200; }; type mintableMultiSearchResponse400 = { data: void; status: 400; }; type mintableMultiSearchResponseComposite = mintableMultiSearchResponse200 | mintableMultiSearchResponse400; type mintableMultiSearchResponse = mintableMultiSearchResponseComposite & { headers: Headers; }; declare const getMintableMultiSearchUrl: () => string; declare const mintableMultiSearch: (mintableCollectionSearchFilter: MintableCollectionSearchFilter, options?: RequestInit) => Promise<mintableMultiSearchResponse>; /** * Get a single mintable collection by ID */ type getMintableCollectionResponse200 = { data: MintableCollection; status: 200; }; type getMintableCollectionResponse400 = { data: void; status: 400; }; type getMintableCollectionResponseComposite = getMintableCollectionResponse200 | getMintableCollectionResponse400; type getMintableCollectionResponse = getMintableCollectionResponseComposite & { headers: Headers; }; declare const getGetMintableCollectionUrl: (id: string) => string; declare const getMintableCollection: (id: string, options?: RequestInit) => Promise<getMintableCollectionResponse>; /** * Get multiple collections using filter criteria */ type multiSearchResponse200 = { data: PaginationResponseVecCollection; status: 200; }; type multiSearchResponse400 = { data: void; status: 400; }; type multiSearchResponseComposite = multiSearchResponse200 | multiSearchResponse400; type multiSearchResponse = multiSearchResponseComposite & { headers: Headers; }; declare const getMultiSearchUrl: () => string; declare const multiSearch: (collectionSearchFilter: CollectionSearchFilter, options?: RequestInit) => Promise<multiSearchResponse>; /** * Get a collection by name */ type getCollectionByNameResponse200 = { data: Collection; status: 200; }; type getCollectionByNameResponse400 = { data: void; status: 400; }; type getCollectionByNameResponseComposite = getCollectionByNameResponse200 | getCollectionByNameResponse400; type getCollectionByNameResponse = getCollectionByNameResponseComposite & { headers: Headers; }; declare const getGetCollectionByNameUrl: (name: string) => string; declare const getCollectionByName: (name: string, options?: RequestInit) => Promise<getCollectionByNameResponse>; /** * Get multiple collection that match the name query */ type getCollectionsByNamesResponse200 = { data: Collection[]; status: 200; }; type getCollectionsByNamesResponse400 = { data: void; status: 400; }; type getCollectionsByNamesResponseComposite = getCollectionsByNamesResponse200 | getCollectionsByNamesResponse400; type getCollectionsByNamesResponse = getCollectionsByNamesResponseComposite & { headers: Headers; }; declare const getGetCollectionsByNamesUrl: (params: GetCollectionsByNamesParams) => string; declare const getCollectionsByNames: (params: GetCollectionsByNamesParams, options?: RequestInit) => Promise<getCollectionsByNamesResponse>; declare const collection_getCollectionById: typeof getCollectionById; type collection_getCollectionByIdResponse = getCollectionByIdResponse; type collection_getCollectionByIdResponse200 = getCollectionByIdResponse200; type collection_getCollectionByIdResponse400 = getCollectionByIdResponse400; type collection_getCollectionByIdResponseComposite = getCollectionByIdResponseComposite; declare const collection_getCollectionByName: typeof getCollectionByName; type collection_getCollectionByNameResponse = getCollectionByNameResponse; type collection_getCollectionByNameResponse200 = getCollectionByNameResponse200; type collection_getCollectionByNameResponse400 = getCollectionByNameResponse400; type collection_getCollectionByNameResponseComposite = getCollectionByNameResponseComposite; declare const collection_getCollectionsByIds: typeof getCollectionsByIds; type collection_getCollectionsByIdsResponse = getCollectionsByIdsResponse; type collection_getCollectionsByIdsResponse200 = getCollectionsByIdsResponse200; type collection_getCollectionsByIdsResponse400 = getCollectionsByIdsResponse400; type collection_getCollectionsByIdsResponseComposite = getCollectionsByIdsResponseComposite; declare const collection_getCollectionsByNames: typeof getCollectionsByNames; type collection_getCollectionsByNamesResponse = getCollectionsByNamesResponse; type collection_getCollectionsByNamesResponse200 = getCollectionsByNamesResponse200; type collection_getCollectionsByNamesResponse400 = getCollectionsByNamesResponse400; type collection_getCollectionsByNamesResponseComposite = getCollectionsByNamesResponseComposite; declare const collection_getGetCollectionByIdUrl: typeof getGetCollectionByIdUrl; declare const collection_getGetCollectionByNameUrl: typeof getGetCollectionByNameUrl; declare const collection_getGetCollectionsByIdsUrl: typeof getGetCollectionsByIdsUrl; declare const collection_getGetCollectionsByNamesUrl: typeof getGetCollectionsByNamesUrl; declare const collection_getGetMintableCollectionUrl: typeof getGetMintableCollectionUrl; declare const collection_getMintableCollection: typeof getMintableCollection; type collection_getMintableCollectionResponse = getMintableCollectionResponse; type collection_getMintableCollectionResponse200 = getMintableCollectionResponse200; type collection_getMintableCollectionResponse400 = getMintableCollectionResponse400; type collection_getMintableCollectionResponseComposite = getMintableCollectionResponseComposite; declare const collection_getMintableMultiSearchByIdUrl: typeof getMintableMultiSearchByIdUrl; declare const collection_getMintableMultiSearchUrl: typeof getMintableMultiSearchUrl; declare const collection_getMultiSearchUrl: typeof getMultiSearchUrl; declare const collection_mintableMultiSearch: typeof mintableMultiSearch; declare const collection_mintableMultiSearchById: typeof mintableMultiSearchById; type collection_mintableMultiSearchByIdResponse = mintableMultiSearchByIdResponse; type collection_mintableMultiSearchByIdResponse200 = mintableMultiSearchByIdResponse200; type collection_mintableMultiSearchByIdResponse400 = mintableMultiSearchByIdResponse400; type collection_mintableMultiSearchByIdResponseComposite = mintableMultiSearchByIdResponseComposite; type collection_mintableMultiSearchResponse = mintableMultiSearchResponse; type collection_mintableMultiSearchResponse200 = mintableMultiSearchResponse200; type collection_mintableMultiSearchResponse400 = mintableMultiSearchResponse400; type collection_mintableMultiSearchResponseComposite = mintableMultiSearchResponseComposite; declare const collection_multiSearch: typeof multiSearch; type collection_multiSearchResponse = multiSearchResponse; type collection_multiSearchResponse200 = multiSearchResponse200; type collection_multiSearchResponse400 = multiSearchResponse400; type collection_multiSearchResponseComposite = multiSearchResponseComposite; declare namespace collection { export { collection_getCollectionById as getCollectionById, type collection_getCollectionByIdResponse as getCollectionByIdResponse, type collection_getCollectionByIdResponse200 as getCollectionByIdResponse200, type collection_getCollectionByIdResponse400 as getCollectionByIdResponse400, type collection_getCollectionByIdResponseComposite as getCollectionByIdResponseComposite, collection_getCollectionByName as getCollectionByName, type collection_getCollectionByNameResponse as getCollectionByNameResponse, type collection_getCollectionByNameResponse200 as getCollectionByNameResponse200, type collection_getCollectionByNameResponse400 as getCollectionByNameResponse400, type collection_getCollectionByNameResponseComposite as getCollectionByNameResponseComposite, collection_getCollectionsByIds as getCollectionsByIds, type collection_getCollectionsByIdsResponse as getCollectionsByIdsResponse, type collection_getCollectionsByIdsResponse200 as getCollectionsByIdsResponse200, type collection_getCollectionsByIdsResponse400 as getCollectionsByIdsResponse400, type collection_getCollectionsByIdsResponseComposite as getCollectionsByIdsResponseComposite, collection_getCollectionsByNames as getCollectionsByNames, type collection_getCollectionsByNamesResponse as getCollectionsByNamesResponse, type collection_getCollectionsByNamesResponse200 as getCollectionsByNamesResponse200, type collection_getCollectionsByNamesResponse400 as getCollectionsByNamesResponse400, type collection_getCollectionsByNamesResponseComposite as getCollectionsByNamesResponseComposite, collection_getGetCollectionByIdUrl as getGetCollectionByIdUrl, collection_getGetCollectionByNameUrl as getGetCollectionByNameUrl, collection_getGetCollectionsByIdsUrl as getGetCollectionsByIdsUrl, collection_getGetCollectionsByNamesUrl as getGetCollectionsByNamesUrl, collection_getGetMintableCollectionUrl as getGetMintableCollectionUrl, collection_getMintableCollection as getMintableCollection, type collection_getMintableCollectionResponse as getMintableCollectionResponse, type collection_getMintableCollectionResponse200 as getMintableCollectionResponse200, type collection_getMintableCollectionResponse400 as getMintableCollectionResponse400, type collection_getMintableCollectionResponseComposite as getMintableCollectionResponseComposite, collection_getMintableMultiSearchByIdUrl as getMintableMultiSearchByIdUrl, collection_getMintableMultiSearchUrl as getMintableMultiSearchUrl, collection_getMultiSearchUrl as getMultiSearchUrl, collection_mintableMultiSearch as mintableMultiSearch, collection_mintableMultiSearchById as mintableMultiSearchById, type collection_mintableMultiSearchByIdResponse as mintableMultiSearchByIdResponse, type collection_mintableMultiSearchByIdResponse200 as mintableMultiSearchByIdResponse200, type collection_mintableMultiSearchByIdResponse400 as mintableMultiSearchByIdResponse400, type collection_mintableMultiSearchByIdResponseComposite as mintableMultiSearchByIdResponseComposite, type collection_mintableMultiSearchResponse as mintableMultiSearchResponse, type collection_mintableMultiSearchResponse200 as mintableMultiSearchResponse200, type collection_mintableMultiSearchResponse400 as mintableMultiSearchResponse400, type collection_mintableMultiSearchResponseComposite as mintableMultiSearchResponseComposite, collection_multiSearch as multiSearch, type collection_multiSearchResponse as multiSearchResponse, type collection_multiSearchResponse200 as multiSearchResponse200, type collection_multiSearchResponse400 as multiSearchResponse400, type collection_multiSearchResponseComposite as multiSearchResponseComposite }; } /** * Generated by orval v7.8.0 🍺 * Do not edit manually. * Saturn Indexer API * API for querying data from the Saturn bitcoin rune trading platform * OpenAPI spec version: 0.1.0 */ /** * Paginated list of swap pools stats matched by the filter */ type findResponse200 = { data: PaginationResponseVecPoolStats; status: 200; }; type findResponseComposite = findResponse200; type findResponse = findResponseComposite & { headers: Headers; }; declare const getFindUrl: (params?: FindParams) => string; declare const find: (params?: FindParams, options?: RequestInit) => Promise<findResponse>; /** * Returns the pool and its latest state */ type findOneResponse200 = { data: IdentifiableLiquidityPool; status: 200; }; type findOneResponse400 = { data: void; status: 400; }; type findOneResponseComposite = findOneResponse200 | findOneResponse400; type findOneResponse = findOneResponseComposite & { headers: Headers; }; declare const getFindOneUrl: (id: string) => string; declare const findOne: (id: string, options?: RequestInit) => Promise<findOneResponse>; /** * Returns a list of pool details with its current state, where the provided ids match exactly and are optionally filtered by the fee tier */ type findManyByTokenIdsResponse200 = { data: IdentifiableLiquidityPool[]; status: 200; }; type findManyByTokenIdsResponse404 = { data: void; status: 404; }; type findManyByTokenIdsResponseComposite = findManyByTokenIdsResponse200 | findManyByTokenIdsResponse404; type findManyByTokenIdsResponse = findManyByTokenIdsResponseComposite & { headers: Headers; }; declare const getFindManyByTokenIdsUrl: (params: FindManyByTokenIdsParams) => string; declare const findManyByTokenIds: (params: FindManyByTokenIdsParams, options?: RequestInit) => Promise<findManyByTokenIdsResponse>; /** * Returns a list of pool details with its current state where the token names match. Search is case-insensitive and will find pools where either token matches any of the given ones */ type findManyByTokenNamesResponse200 = { data: IdentifiableLiquidityPool[]; status: 200; }; type findManyByTokenNamesResponse404 = { data: void; status: 404; }; type findManyByTokenNamesResponseComposite = findManyByTokenNamesResponse200 | findManyByTokenNamesResponse404; type findManyByTokenNamesResponse = findManyByTokenNamesResponseComposite & { headers: Headers; }; declare const getFindManyByTokenNamesUrl: (params: FindManyByTokenNamesParams) => string; declare const findManyByTokenNames: (params: FindManyByTokenNamesParams, options?: RequestInit) => Promise<findManyByTokenNamesResponse>; /** * Returns a paginated list of pool statistics matching the provided filter criteria */ type findByFilterResponse200 = { data: PaginationResponseVecPoolStats; status: 200; }; type findByFilterResponse404 = { data: void; status: 404; }; type findByFilterResponseComposite = findByFilterResponse200 | findByFilterResponse404; type findByFilterResponse = findByFilterResponseComposite & { headers: Headers; }; declare const getFindByFilterUrl: () => string; declare const findByFilter: (poolSearchFilter: PoolSearchFilter, options?: RequestInit) => Promise<findByFilterResponse>; /** * Returns a list of detailed statistics for pools matching the provided IDs, including token information, TVL, volume, fees, and APY data. */ type findByIdsResponse200 = { data: PoolStats[]; status: 200; }; type findByIdsResponse404 = { data: void; status: 404; }; type findByIdsResponseComposite = findByIdsResponse200 | findByIdsResponse404; type findByIdsResponse = findByIdsResponseComposite & { headers: Headers; }; declare const getFindByIdsUrl: (params?: FindByIdsParams) => string; declare const findByIds: (params?: FindByIdsParams, options?: RequestInit) => Promise<findByIdsResponse>; /** * Returns a paginated list of token pairs with aggregated pool statistics filtered by the provided criteria */ type findByTokenFilterResponse200 = { data: PaginationResponseVecPoolsStatsByTokens; status: 200; }; type findByTokenFilterResponse404 = { data: void; status: 404; }; type findByTokenFilterResponseComposite = findByTokenFilterResponse200 | findByTokenFilterResponse404; type findByTokenFilterResponse = findByTokenFilterResponseComposite & { headers: Headers; }; declare const getFindByTokenFilterUrl: () => string; declare const findByTokenFilter: (poolSearchFilter: PoolSearchFilter, options?: RequestInit) => Promise<findByTokenFilterResponse>; declare const pool_find: typeof find; declare const pool_findByFilter: typeof findByFilter; type pool_findByFilterResponse = findByFilterResponse; type pool_findByFilterResponse200 = findByFilterResponse200; type pool_findByFilterResponse404 = findByFilterResponse404; type pool_findByFilterResponseComposite = findByFilterResponseComposite; declare const pool_findByIds: typeof findByIds; type pool_findByIdsResponse = findByIdsResponse; type pool_findByIdsResponse200 = findByIdsResponse200; type pool_findByIdsResponse404 = findByIdsResponse404; type pool_findByIdsResponseComposite = findByIdsResponseComposite; declare const pool_findByTokenFilter: typeof findByTokenFilter; type pool_findByTokenFilterResponse = findByTokenFilterResponse; type pool_findByTokenFilterResponse200 = findByTokenFilterResponse200; type pool_findByTokenFilterResponse404 = findByTokenFilterResponse404; type pool_findByTokenFilterResponseComposite = findByTokenFilterRe