// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.18.0 package sqlc import ( "context" ) type Querier interface { DeleteAMPHTLCCustomRecords(ctx context.Context, invoiceID int32) error DeleteAMPHTLCs(ctx context.Context, invoiceID int32) error DeleteAMPInvoiceHTLC(ctx context.Context, setID []byte) error DeleteInvoice(ctx context.Context, arg DeleteInvoiceParams) error DeleteInvoiceEvents(ctx context.Context, invoiceID int32) error DeleteInvoiceFeatures(ctx context.Context, invoiceID int32) error DeleteInvoiceHTLC(ctx context.Context, htlcID int64) error DeleteInvoiceHTLCCustomRecords(ctx context.Context, invoiceID int32) error DeleteInvoiceHTLCs(ctx context.Context, invoiceID int32) error FilterInvoicePayments(ctx context.Context, arg FilterInvoicePaymentsParams) ([]FilterInvoicePaymentsRow, error) FilterInvoices(ctx context.Context, arg FilterInvoicesParams) ([]Invoice, error) GetAMPInvoiceHTLCsByInvoiceID(ctx context.Context, invoiceID int32) ([]AmpInvoiceHtlc, error) GetAMPInvoiceHTLCsBySetID(ctx context.Context, setID []byte) ([]AmpInvoiceHtlc, error) // This method may return more than one invoice if filter using multiple fields // from different invoices. It is the caller's responsibility to ensure that // we bubble up an error in those cases. GetInvoice(ctx context.Context, arg GetInvoiceParams) ([]Invoice, error) GetInvoiceFeatures(ctx context.Context, invoiceID int32) ([]InvoiceFeature, error) GetInvoiceHTLCCustomRecords(ctx context.Context, invoiceID int32) ([]GetInvoiceHTLCCustomRecordsRow, error) GetInvoiceHTLCs(ctx context.Context, invoiceID int32) ([]InvoiceHtlc, error) GetInvoicePayments(ctx context.Context, invoiceID int32) ([]InvoicePayment, error) GetSetIDHTLCsCustomRecords(ctx context.Context, setID []byte) ([]GetSetIDHTLCsCustomRecordsRow, error) InsertAMPInvoiceHTLC(ctx context.Context, arg InsertAMPInvoiceHTLCParams) error InsertAMPInvoicePayment(ctx context.Context, arg InsertAMPInvoicePaymentParams) error InsertInvoice(ctx context.Context, arg InsertInvoiceParams) (int32, error) InsertInvoiceEvent(ctx context.Context, arg InsertInvoiceEventParams) error InsertInvoiceFeature(ctx context.Context, arg InsertInvoiceFeatureParams) error InsertInvoiceHTLC(ctx context.Context, arg InsertInvoiceHTLCParams) error InsertInvoiceHTLCCustomRecord(ctx context.Context, arg InsertInvoiceHTLCCustomRecordParams) error InsertInvoicePayment(ctx context.Context, arg InsertInvoicePaymentParams) (int32, error) SelectAMPInvoicePayments(ctx context.Context, arg SelectAMPInvoicePaymentsParams) ([]SelectAMPInvoicePaymentsRow, error) SelectInvoiceEvents(ctx context.Context, arg SelectInvoiceEventsParams) ([]InvoiceEvent, error) UpdateAMPInvoiceHTLC(ctx context.Context, arg UpdateAMPInvoiceHTLCParams) error UpdateAMPPayment(ctx context.Context, arg UpdateAMPPaymentParams) error UpdateInvoice(ctx context.Context, arg UpdateInvoiceParams) error UpdateInvoiceHTLC(ctx context.Context, arg UpdateInvoiceHTLCParams) error UpdateInvoiceHTLCs(ctx context.Context, arg UpdateInvoiceHTLCsParams) error } var _ Querier = (*Queries)(nil)