@@ -34,6 +34,7 @@ import { PostWalletTxSignTSS } from './v2/walletTxSignTSS';
3434import { PostShareWallet } from './v2/shareWallet' ;
3535import { PutExpressWalletUpdate } from './v2/expressWalletUpdate' ;
3636import { PostFanoutUnspents } from './v2/fanoutUnspents' ;
37+ import { PostSendMany } from './v2/sendmany' ;
3738import { PostConsolidateUnspents } from './v2/consolidateunspents' ;
3839
3940// Too large types can cause the following error
@@ -156,6 +157,12 @@ export const ExpressV2WalletCreateAddressApiSpec = apiSpec({
156157 } ,
157158} ) ;
158159
160+ export const ExpressV2WalletSendManyApiSpec = apiSpec ( {
161+ 'express.v2.wallet.sendmany' : {
162+ post : PostSendMany ,
163+ } ,
164+ } ) ;
165+
159166export const ExpressKeychainLocalApiSpec = apiSpec ( {
160167 'express.keychain.local' : {
161168 post : PostKeychainLocal ,
@@ -236,6 +243,7 @@ export type ExpressApi = typeof ExpressPingApiSpec &
236243 typeof ExpressLightningGetStateApiSpec &
237244 typeof ExpressLightningInitWalletApiSpec &
238245 typeof ExpressLightningUnlockWalletApiSpec &
246+ typeof ExpressV2WalletSendManyApiSpec &
239247 typeof ExpressOfcSignPayloadApiSpec ;
240248
241249export const ExpressApi : ExpressApi = {
@@ -262,6 +270,7 @@ export const ExpressApi: ExpressApi = {
262270 ...ExpressLightningGetStateApiSpec ,
263271 ...ExpressLightningInitWalletApiSpec ,
264272 ...ExpressLightningUnlockWalletApiSpec ,
273+ ...ExpressV2WalletSendManyApiSpec ,
265274 ...ExpressOfcSignPayloadApiSpec ,
266275} ;
267276
0 commit comments