merge upstream

This commit is contained in:
2026-05-05 10:13:11 +03:30
16 changed files with 1347 additions and 299 deletions

View File

@@ -13,11 +13,12 @@ export class ClaimPartPricing {
partId: string;
/**
* Legacy string or structured `{ part, side }` from expert reply DTOs (V1/V2).
* Unified outer-part snapshot `{ id?, name, side, label_fa, catalogKey? }` (same as
* `damage.selectedParts` / capture). Legacy: string or `{ part?, side? }` (expert UI).
* Must be Mixed — objects cannot cast to String.
*/
@Prop({ type: MongooseSchema.Types.Mixed })
carPartDamage?: string | { part?: string; side?: string };
carPartDamage?: unknown;
@Prop({ type: String })
typeOfDamage?: string;