// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.18.0 package sqlc import ( "database/sql" "time" ) type AmpInvoiceHtlc struct { SetID []byte HtlcID int64 InvoiceID int32 RootShare []byte ChildIndex int64 Hash []byte Preimage []byte } type AmpInvoicePayment struct { SetID []byte State int16 CreatedAt time.Time SettledIndex sql.NullInt32 InvoiceID int32 } type Invoice struct { ID int32 Hash []byte Preimage []byte Memo sql.NullString AmountMsat int64 CltvDelta sql.NullInt32 Expiry int32 PaymentAddr []byte PaymentRequest sql.NullString State int16 AmountPaidMsat int64 IsAmp bool IsHodl bool IsKeysend bool CreatedAt time.Time } type InvoiceEvent struct { ID int32 CreatedAt time.Time InvoiceID int32 HtlcID sql.NullInt64 SetID []byte EventType int32 EventMetadata []byte } type InvoiceEventType struct { ID int32 Description string } type InvoiceFeature struct { Feature int32 InvoiceID int32 } type InvoiceHtlc struct { ID int32 HtlcID int64 ChanID string AmountMsat int64 TotalMppMsat sql.NullInt64 AcceptHeight int32 AcceptTime time.Time ExpiryHeight int32 State int16 ResolveTime sql.NullTime InvoiceID int32 } type InvoiceHtlcCustomRecord struct { Key int64 Value []byte HtlcID int64 } type InvoicePayment struct { ID int32 SettledAt time.Time AmountPaidMsat int64 InvoiceID int32 }