feat: improve growth analysis waiting experience

This commit is contained in:
2026-08-21 02:57:46 +03:30
parent 9f575ec151
commit 71ea59248c
11 changed files with 320 additions and 16 deletions

View File

@@ -337,7 +337,7 @@ export interface components {
schemas: {
CreateGrowthReportRequest: {
terminalId?: string;
/** @description When omitted, the request reuses the current matching report. */
/** @description When omitted, the request reuses the current matching report. Manual retries remain available until the requested scope has persisted AI copy. */
refresh?: boolean;
};
GrowthRange: {
@@ -365,7 +365,7 @@ export interface components {
/** @enum {integer} */
horizonDays: 90;
/** @enum {string} */
confidence: 'HIGH' | 'MEDIUM' | 'INSUFFICIENT_DATA';
confidence: 'HIGH' | 'MEDIUM' | 'LOW' | 'INSUFFICIENT_DATA';
suppressionReason?: string;
points: components['schemas']['GrowthForecastPoint'][];
backtest: {
@@ -498,7 +498,10 @@ export interface components {
failureCode?: string;
cached: boolean;
stale: boolean;
/** Format: date-time */
/**
* Format: date-time
* @description Current time while no AI summary exists for the scope; otherwise the next refresh boundary for that terminal scope in the Tehran day. The all-terminals selection is a separate scope.
*/
nextRefreshAt: string;
/** Format: date-time */
createdAt: string;