// @generated by protoc-gen-es v2.11.0 with parameter "target=ts" // @generated from file watchtowerrpc/watchtower.proto (package watchtowerrpc, syntax proto3) /* eslint-disable */ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file watchtowerrpc/watchtower.proto. */ export const file_watchtowerrpc_watchtower: GenFile = /*@__PURE__*/ fileDesc("Ch53YXRjaHRvd2VycnBjL3dhdGNodG93ZXIucHJvdG8SDXdhdGNodG93ZXJycGMiEAoOR2V0SW5mb1JlcXVlc3QiQgoPR2V0SW5mb1Jlc3BvbnNlEg4KBnB1YmtleRgBIAEoDBIRCglsaXN0ZW5lcnMYAiADKAkSDAoEdXJpcxgDIAMoCTJWCgpXYXRjaHRvd2VyEkgKB0dldEluZm8SHS53YXRjaHRvd2VycnBjLkdldEluZm9SZXF1ZXN0Gh4ud2F0Y2h0b3dlcnJwYy5HZXRJbmZvUmVzcG9uc2VCNVozZ2l0aHViLmNvbS9saWdodG5pbmduZXR3b3JrL2xuZC9sbnJwYy93YXRjaHRvd2VycnBjYgZwcm90bzM"); /** * @generated from message watchtowerrpc.GetInfoRequest */ export type GetInfoRequest = Message<"watchtowerrpc.GetInfoRequest"> & { }; /** * Describes the message watchtowerrpc.GetInfoRequest. * Use `create(GetInfoRequestSchema)` to create a new message. */ export const GetInfoRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_watchtowerrpc_watchtower, 0); /** * @generated from message watchtowerrpc.GetInfoResponse */ export type GetInfoResponse = Message<"watchtowerrpc.GetInfoResponse"> & { /** * The public key of the watchtower. * * @generated from field: bytes pubkey = 1; */ pubkey: Uint8Array; /** * The listening addresses of the watchtower. * * @generated from field: repeated string listeners = 2; */ listeners: string[]; /** * The URIs of the watchtower. * * @generated from field: repeated string uris = 3; */ uris: string[]; }; /** * Describes the message watchtowerrpc.GetInfoResponse. * Use `create(GetInfoResponseSchema)` to create a new message. */ export const GetInfoResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_watchtowerrpc_watchtower, 1); /** * Watchtower is a service that grants access to the watchtower server * functionality of the daemon. * * @generated from service watchtowerrpc.Watchtower */ export const Watchtower: GenService<{ /** * lncli: `tower info` * GetInfo returns general information concerning the companion watchtower * including its public key and URIs where the server is currently * listening for clients. * * @generated from rpc watchtowerrpc.Watchtower.GetInfo */ getInfo: { methodKind: "unary"; input: typeof GetInfoRequestSchema; output: typeof GetInfoResponseSchema; }, }> = /*@__PURE__*/ serviceDesc(file_watchtowerrpc_watchtower, 0);