8d94013895
- New AI Quick Quote floating button: staff type a verbal description to get an instant price estimate for phone/walk-in customers; detected color names are fuzzy-matched against inventory for stock status; saves draft quote under a Walk-In / Phone customer with one click - Inline customer change on Quote Details and Job Details: always-visible native select with inline confirmation banner (no TomSelect dependency); ChangeCustomer AJAX endpoints on QuotesController and JobsController - Quote Edit page: customer dropdown is now editable (lock removed) - Fix AutoMapper missing CatalogCategory -> UpdateCategoryDto mapping that caused a crash on the catalog category Edit page - Help docs and AI knowledge base updated for all three features Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
626 B
C#
19 lines
626 B
C#
using PowderCoating.Application.DTOs.AI;
|
|
using PowderCoating.Core.Entities;
|
|
|
|
namespace PowderCoating.Application.Interfaces;
|
|
|
|
public interface IAiQuickQuoteService
|
|
{
|
|
/// <summary>
|
|
/// Analyze a verbal/phone description and return a quick pricing estimate.
|
|
/// Color name extraction is included in the result; inventory stock resolution
|
|
/// is performed by the caller so the prompt stays lean.
|
|
/// </summary>
|
|
Task<AiQuickQuoteResult> AnalyzeAsync(
|
|
AiQuickQuoteRequest request,
|
|
CompanyOperatingCosts costs,
|
|
decimal avgPowderCostPerLb,
|
|
CompanyAiContext? context = null);
|
|
}
|