// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.30.0 package generated import ( "context" ) type Querier interface { ConfirmReservation(ctx context.Context, arg ConfirmReservationParams) error CountArticles(ctx context.Context, arg CountArticlesParams) (int64, error) CountArticlesByTenant(ctx context.Context, tenantID int64) (int64, error) CountBrandsByTenant(ctx context.Context, tenantID int64) (int64, error) CountPublishedArticlesByTenant(ctx context.Context, tenantID int64) (int64, error) CreateArticle(ctx context.Context, arg CreateArticleParams) (int64, error) CreateArticleVersion(ctx context.Context, arg CreateArticleVersionParams) (int64, error) CreateAuditLog(ctx context.Context, arg CreateAuditLogParams) error CreateBrand(ctx context.Context, arg CreateBrandParams) (CreateBrandRow, error) CreateCompetitor(ctx context.Context, arg CreateCompetitorParams) (CreateCompetitorRow, error) CreateGenerationTask(ctx context.Context, arg CreateGenerationTaskParams) (int64, error) CreateKeyword(ctx context.Context, arg CreateKeywordParams) (CreateKeywordRow, error) CreateQuestion(ctx context.Context, arg CreateQuestionParams) (int64, error) CreateQuestionVersion(ctx context.Context, arg CreateQuestionVersionParams) (int64, error) CreateQuotaReservation(ctx context.Context, arg CreateQuotaReservationParams) (int64, error) DeactivateQuestionVersion(ctx context.Context, questionID int64) error GetActivePlanForTenant(ctx context.Context, tenantID int64) (GetActivePlanForTenantRow, error) GetArticleByID(ctx context.Context, arg GetArticleByIDParams) (GetArticleByIDRow, error) GetArticleVersions(ctx context.Context, articleID int64) ([]GetArticleVersionsRow, error) GetBrandByID(ctx context.Context, arg GetBrandByIDParams) (GetBrandByIDRow, error) GetCurrentBalance(ctx context.Context, arg GetCurrentBalanceParams) (int32, error) GetLatestQuestionVersionNo(ctx context.Context, questionID int64) (int32, error) GetQuotaSummary(ctx context.Context, tenantID int64) (int32, error) GetRecentArticles(ctx context.Context, tenantID int64) ([]GetRecentArticlesRow, error) GetTemplateByID(ctx context.Context, arg GetTemplateByIDParams) (GetTemplateByIDRow, error) GetTemplateSchema(ctx context.Context, id int64) (GetTemplateSchemaRow, error) GetTenantMembership(ctx context.Context, userID int64) (GetTenantMembershipRow, error) GetTenantMembershipByTenantAndUser(ctx context.Context, arg GetTenantMembershipByTenantAndUserParams) (GetTenantMembershipByTenantAndUserRow, error) GetUserByEmail(ctx context.Context, email string) (GetUserByEmailRow, error) GetUserByID(ctx context.Context, id int64) (GetUserByIDRow, error) InsertQuotaLedger(ctx context.Context, arg InsertQuotaLedgerParams) (int64, error) ListArticles(ctx context.Context, arg ListArticlesParams) ([]ListArticlesRow, error) ListBrands(ctx context.Context, tenantID int64) ([]ListBrandsRow, error) ListCompetitors(ctx context.Context, arg ListCompetitorsParams) ([]ListCompetitorsRow, error) ListKeywords(ctx context.Context, arg ListKeywordsParams) ([]ListKeywordsRow, error) ListQuestionVersions(ctx context.Context, arg ListQuestionVersionsParams) ([]BrandQuestionVersion, error) ListQuestions(ctx context.Context, arg ListQuestionsParams) ([]ListQuestionsRow, error) ListTemplates(ctx context.Context, tenantID int64) ([]ListTemplatesRow, error) RefundReservation(ctx context.Context, arg RefundReservationParams) error SoftDeleteArticle(ctx context.Context, arg SoftDeleteArticleParams) error SoftDeleteBrand(ctx context.Context, arg SoftDeleteBrandParams) error SoftDeleteCompetitor(ctx context.Context, arg SoftDeleteCompetitorParams) error SoftDeleteCompetitorsByBrand(ctx context.Context, arg SoftDeleteCompetitorsByBrandParams) error SoftDeleteKeyword(ctx context.Context, arg SoftDeleteKeywordParams) error SoftDeleteKeywordsByBrand(ctx context.Context, arg SoftDeleteKeywordsByBrandParams) error SoftDeleteQuestion(ctx context.Context, arg SoftDeleteQuestionParams) error SoftDeleteQuestionsByBrand(ctx context.Context, arg SoftDeleteQuestionsByBrandParams) error UpdateArticleCurrentVersion(ctx context.Context, arg UpdateArticleCurrentVersionParams) error UpdateArticleGenerateStatus(ctx context.Context, arg UpdateArticleGenerateStatusParams) error UpdateBrand(ctx context.Context, arg UpdateBrandParams) error UpdateCompetitor(ctx context.Context, arg UpdateCompetitorParams) error UpdateGenerationTaskStatus(ctx context.Context, arg UpdateGenerationTaskStatusParams) error UpdateKeyword(ctx context.Context, arg UpdateKeywordParams) error UpdateQuestionCurrentVersion(ctx context.Context, arg UpdateQuestionCurrentVersionParams) error UpdateQuotaReservationResource(ctx context.Context, arg UpdateQuotaReservationResourceParams) error } var _ Querier = (*Queries)(nil)