diff --git a/src/client/src/graphql/types.ts b/src/client/src/graphql/types.ts index 3164fd50..866a8b30 100644 --- a/src/client/src/graphql/types.ts +++ b/src/client/src/graphql/types.ts @@ -455,6 +455,9 @@ export type MessageType = { export type Mutation = { __typename?: 'Mutation'; addPeer: Scalars['Boolean']['output']; + addTapFederationServer: Scalars['Boolean']['output']; + burnTapAsset: Scalars['Boolean']['output']; + cancelTapBatch: Scalars['Boolean']['output']; claimBoltzTransaction: Scalars['String']['output']; closeChannel: OpenOrCloseChannel; createAddress: Scalars['String']['output']; @@ -462,6 +465,8 @@ export type Mutation = { createInvoice: CreateInvoice; createMacaroon: CreateMacaroon; fetchLnUrl: LnUrlRequest; + finalizeTapBatch: TapFinalizeBatchResponse; + fundTapAssetChannel: TapFundChannelResponse; getAuthToken: Scalars['Boolean']['output']; getSessionToken: Scalars['String']['output']; keysend: PayInvoice; @@ -471,13 +476,18 @@ export type Mutation = { lnUrlWithdraw: Scalars['String']['output']; loginAmboss: Scalars['Boolean']['output']; logout: Scalars['Boolean']['output']; + mintTapAsset: TapMintResponse; + newTapAddress: TapAddress; openChannel: OpenOrCloseChannel; pay: Scalars['Boolean']['output']; purchaseLiquidity: Scalars['Boolean']['output']; pushBackup: Scalars['Boolean']['output']; removePeer: Scalars['Boolean']['output']; + removeTapFederationServer: Scalars['Boolean']['output']; removeTwofaSecret: Scalars['Boolean']['output']; + sendTapAsset: Scalars['Boolean']['output']; sendToAddress: ChainAddressSend; + syncTapUniverse: TapSyncResult; toggleConfig: Scalars['Boolean']['output']; updateFees: Scalars['Boolean']['output']; updateMultipleFees: Scalars['Boolean']['output']; @@ -491,6 +501,15 @@ export type MutationAddPeerArgs = { url?: InputMaybe; }; +export type MutationAddTapFederationServerArgs = { + host: Scalars['String']['input']; +}; + +export type MutationBurnTapAssetArgs = { + amount: Scalars['Int']['input']; + assetId: Scalars['String']['input']; +}; + export type MutationClaimBoltzTransactionArgs = { destination: Scalars['String']['input']; fee: Scalars['Float']['input']; @@ -532,6 +551,15 @@ export type MutationFetchLnUrlArgs = { url: Scalars['String']['input']; }; +export type MutationFundTapAssetChannelArgs = { + assetAmount: Scalars['Int']['input']; + assetId?: InputMaybe; + feeRateSatPerVbyte?: InputMaybe; + groupKey?: InputMaybe; + peerPubkey: Scalars['String']['input']; + pushSat?: InputMaybe; +}; + export type MutationGetAuthTokenArgs = { cookie?: InputMaybe; }; @@ -571,6 +599,19 @@ export type MutationLnUrlWithdrawArgs = { k1: Scalars['String']['input']; }; +export type MutationMintTapAssetArgs = { + amount: Scalars['Int']['input']; + assetType?: TapAssetType; + groupKey?: InputMaybe; + name: Scalars['String']['input']; +}; + +export type MutationNewTapAddressArgs = { + amt?: InputMaybe; + assetId?: InputMaybe; + groupKey?: InputMaybe; +}; + export type MutationOpenChannelArgs = { input: OpenChannelParams; }; @@ -590,10 +631,18 @@ export type MutationRemovePeerArgs = { publicKey?: InputMaybe; }; +export type MutationRemoveTapFederationServerArgs = { + host: Scalars['String']['input']; +}; + export type MutationRemoveTwofaSecretArgs = { token: Scalars['String']['input']; }; +export type MutationSendTapAssetArgs = { + tapAddrs: Array; +}; + export type MutationSendToAddressArgs = { address: Scalars['String']['input']; fee?: InputMaybe; @@ -602,6 +651,10 @@ export type MutationSendToAddressArgs = { tokens?: InputMaybe; }; +export type MutationSyncTapUniverseArgs = { + host: Scalars['String']['input']; +}; + export type MutationToggleConfigArgs = { field: ConfigFields; }; @@ -867,6 +920,7 @@ export type Policy = { export type Query = { __typename?: 'Query'; + decodeTapAddress: TapAddress; getAccount: ServerAccount; getAmbossLoginToken: Scalars['String']['output']; getAmbossUser?: Maybe; @@ -897,6 +951,13 @@ export type Query = { getPeers: Array; getPendingChannels: Array; getServerAccounts: Array; + getTapAssets: TapAssetList; + getTapBalances: TapBalances; + getTapFederationServers: TapFederationServerList; + getTapTransfers: TapTransferList; + getTapUniverseAssets: TapUniverseAssetList; + getTapUniverseInfo: TapUniverseInfo; + getTapUniverseStats: TapUniverseStats; getTimeHealth: ChannelsTimeHealth; getTwofaSecret: TwofaResult; getUtxos: Array; @@ -909,6 +970,10 @@ export type Query = { verifyMessage: Scalars['String']['output']; }; +export type QueryDecodeTapAddressArgs = { + addr: Scalars['String']['input']; +}; + export type QueryGetAmbossLoginTokenArgs = { redirect_url?: InputMaybe; }; @@ -950,6 +1015,10 @@ export type QueryGetPaymentsArgs = { token?: InputMaybe; }; +export type QueryGetTapBalancesArgs = { + groupBy?: InputMaybe; +}; + export type QueryRecoverFundsArgs = { backup: Scalars['String']['input']; }; @@ -1001,6 +1070,159 @@ export type SingleChannel = { updated_at?: Maybe; }; +export type TapAddress = { + __typename?: 'TapAddress'; + amount: Scalars['String']['output']; + assetId: Scalars['String']['output']; + assetType?: Maybe; + encoded: Scalars['String']['output']; + groupKey?: Maybe; + internalKey: Scalars['String']['output']; + scriptKey: Scalars['String']['output']; + taprootOutputKey: Scalars['String']['output']; +}; + +export type TapAsset = { + __typename?: 'TapAsset'; + amount: Scalars['String']['output']; + assetGenesis?: Maybe; + isBurn: Scalars['Boolean']['output']; + isSpent: Scalars['Boolean']['output']; + lockTime: Scalars['Int']['output']; + relativeLockTime: Scalars['Int']['output']; + scriptKey: Scalars['String']['output']; + scriptVersion: Scalars['Int']['output']; +}; + +export type TapAssetBalanceEntry = { + __typename?: 'TapAssetBalanceEntry'; + assetId?: Maybe; + balance: Scalars['String']['output']; + groupKey?: Maybe; + names?: Maybe>; +}; + +export type TapAssetGenesis = { + __typename?: 'TapAssetGenesis'; + assetId: Scalars['String']['output']; + assetType: TapAssetType; + genesisPoint: Scalars['String']['output']; + metaHash: Scalars['String']['output']; + name: Scalars['String']['output']; + outputIndex: Scalars['Int']['output']; +}; + +export type TapAssetList = { + __typename?: 'TapAssetList'; + assets: Array; +}; + +export enum TapAssetType { + Collectible = 'COLLECTIBLE', + Normal = 'NORMAL', +} + +export enum TapBalanceGroupBy { + AssetId = 'ASSET_ID', + GroupKey = 'GROUP_KEY', +} + +export type TapBalances = { + __typename?: 'TapBalances'; + balances: Array; +}; + +export type TapFederationServer = { + __typename?: 'TapFederationServer'; + host: Scalars['String']['output']; + id?: Maybe; +}; + +export type TapFederationServerList = { + __typename?: 'TapFederationServerList'; + nodeAddress?: Maybe; + servers: Array; +}; + +export type TapFinalizeBatchResponse = { + __typename?: 'TapFinalizeBatchResponse'; + batchKey?: Maybe; +}; + +export type TapFundChannelResponse = { + __typename?: 'TapFundChannelResponse'; + outputIndex: Scalars['Int']['output']; + txid: Scalars['String']['output']; +}; + +export type TapMintResponse = { + __typename?: 'TapMintResponse'; + batchKey?: Maybe; +}; + +export type TapSyncResult = { + __typename?: 'TapSyncResult'; + syncedUniverses: Array; +}; + +export type TapTransfer = { + __typename?: 'TapTransfer'; + anchorTxChainFees: Scalars['String']['output']; + anchorTxHash: Scalars['String']['output']; + anchorTxHeightHint: Scalars['Int']['output']; + inputs: Array; + label?: Maybe; + outputs: Array; + transferTimestamp: Scalars['String']['output']; +}; + +export type TapTransferInput = { + __typename?: 'TapTransferInput'; + amount: Scalars['String']['output']; + anchorPoint: Scalars['String']['output']; + assetId: Scalars['String']['output']; +}; + +export type TapTransferList = { + __typename?: 'TapTransferList'; + transfers: Array; +}; + +export type TapTransferOutput = { + __typename?: 'TapTransferOutput'; + amount: Scalars['String']['output']; + assetId: Scalars['String']['output']; + outputType: Scalars['String']['output']; + scriptKeyIsLocal: Scalars['Boolean']['output']; +}; + +export type TapUniverseAsset = { + __typename?: 'TapUniverseAsset'; + assetId?: Maybe; + groupKey?: Maybe; + name?: Maybe; + proofType?: Maybe; + totalSupply: Scalars['String']['output']; +}; + +export type TapUniverseAssetList = { + __typename?: 'TapUniverseAssetList'; + assets: Array; +}; + +export type TapUniverseInfo = { + __typename?: 'TapUniverseInfo'; + runtimeId: Scalars['String']['output']; +}; + +export type TapUniverseStats = { + __typename?: 'TapUniverseStats'; + numTotalAssets: Scalars['Int']['output']; + numTotalGroups: Scalars['Int']['output']; + numTotalProofs: Scalars['Int']['output']; + numTotalSyncs: Scalars['Int']['output']; +}; + export type TwofaResult = { __typename?: 'TwofaResult'; secret: Scalars['String']['output'];