Align cutting families with Olist production data
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 1m17s

This commit is contained in:
Cauê Faleiros
2026-08-12 14:09:29 -03:00
parent e7edb5c483
commit a574b032e0
11 changed files with 137 additions and 30 deletions

View File

@@ -126,7 +126,7 @@ export interface CreateProductionOrdersResult {
}>;
}
export type CutFamilyKey = 'BLCS' | 'BLOS' | 'BLMC' | 'BLPM' | 'OUTROS';
export type CutFamilyKey = 'BLCS' | 'BLOS' | 'BLMC' | 'BLPM' | 'BLRM' | 'OUTROS';
export interface CutProductOverride {
familyKey?: CutFamilyKey | '';
@@ -272,7 +272,7 @@ export interface ProductionOrderImportRun {
}
export interface ProductionYieldRecommendation {
familyKey: 'BLCS' | 'BLOS' | 'BLMC' | 'BLPM';
familyKey: 'BLCS' | 'BLOS' | 'BLMC' | 'BLPM' | 'BLRM';
sampleCount: number;
yieldSampleCount: number;
rollSampleCount: number;
@@ -283,9 +283,14 @@ export interface ProductionYieldRecommendation {
updatedAt: string;
}
export interface ProductionYieldSupplierRecommendation extends ProductionYieldRecommendation {
supplier: string;
}
export interface ProductionOrderImportData {
runs: ProductionOrderImportRun[];
recommendations: ProductionYieldRecommendation[];
supplierRecommendations: ProductionYieldSupplierRecommendation[];
}
export type CatalogProductPayload = {