// Code generated by sqlc. DO NOT EDIT. // versions: // sqlc v1.17.2 package db import ( "context" "github.com/google/uuid" ) type Querier interface { CreateCustomers(ctx context.Context, arg CreateCustomersParams) (Customer, error) CreateMerchant(ctx context.Context, arg CreateMerchantParams) (Merchant, error) CreateProduct(ctx context.Context, arg CreateProductParams) (Product, error) CreateProductCategory(ctx context.Context, arg CreateProductCategoryParams) (ProductCategory, error) CreatePurchaseOrder(ctx context.Context, arg CreatePurchaseOrderParams) (PurchaseOrder, error) CreatePurchaseOrderDetail(ctx context.Context, arg CreatePurchaseOrderDetailParams) (PurchaseOrderDetail, error) CreateSaleOrder(ctx context.Context, arg CreateSaleOrderParams) (SaleOrder, error) CreateSaleOrderDetail(ctx context.Context, arg CreateSaleOrderDetailParams) (SaleOrderDetail, error) CreateSession(ctx context.Context, arg CreateSessionParams) (UserSession, error) CreateStockLogs(ctx context.Context, arg CreateStockLogsParams) (StockLog, error) CreateSuppliers(ctx context.Context, arg CreateSuppliersParams) (Supplier, error) CreateUser(ctx context.Context, arg CreateUserParams) (User, error) CustomersList(ctx context.Context, arg CustomersListParams) ([]Customer, error) DeleteCustomer(ctx context.Context, id uuid.UUID) error DeleteProduct(ctx context.Context, id uuid.UUID) error DeleteProductCategory(ctx context.Context, id uuid.UUID) error DeleteSupplier(ctx context.Context, id uuid.UUID) error GetMerchantById(ctx context.Context, id uuid.UUID) (Merchant, error) GetMerchantByUserId(ctx context.Context, ownerID uuid.UUID) (Merchant, error) GetPasswordByEmail(ctx context.Context, email string) (string, error) GetProduct(ctx context.Context, id uuid.UUID) (Product, error) GetPurchaseOrderById(ctx context.Context, id uuid.UUID) (PurchaseOrder, error) GetPurchaseOrderDetailsByPuchaseOrderId(ctx context.Context, purchaseOrderID uuid.UUID) (PurchaseOrderDetail, error) GetSession(ctx context.Context, id uuid.UUID) (UserSession, error) GetStockForUpdateStock(ctx context.Context, id uuid.UUID) (Product, error) GetUserByEmail(ctx context.Context, email string) (GetUserByEmailRow, error) GetUserById(ctx context.Context, id uuid.UUID) (GetUserByIdRow, error) ListProductCategoriesByMerchantID(ctx context.Context, arg ListProductCategoriesByMerchantIDParams) ([]ProductCategory, error) ListProducts(ctx context.Context, arg ListProductsParams) ([]Product, error) ListPurchaseOrderByMerchantId(ctx context.Context, merchantID uuid.UUID) ([]PurchaseOrder, error) SuppliersList(ctx context.Context, arg SuppliersListParams) ([]Supplier, error) UpdateCustomer(ctx context.Context, id uuid.UUID) (Customer, error) UpdateProduct(ctx context.Context, arg UpdateProductParams) (Product, error) UpdateProductCategory(ctx context.Context, arg UpdateProductCategoryParams) (ProductCategory, error) UpdateProductStock(ctx context.Context, arg UpdateProductStockParams) error UpdateSupplier(ctx context.Context, id uuid.UUID) (Supplier, error) } var _ Querier = (*Queries)(nil)