declare namespace com.paintbatch.enums { type Sheen = 'M' | 'G'; type Status = 'ok'; } declare namespace com.paintbatch.models { interface Demand { readonly 'paints': com.paintbatch.models.Paint[]; } interface Healthcheck { readonly 'status': com.paintbatch.enums.Status; } interface OptimizeRequest { readonly 'colors': number; readonly 'customers': number; readonly 'demands': com.paintbatch.models.Demand[]; } interface Paint { readonly 'id': number; readonly 'sheen': com.paintbatch.enums.Sheen; } interface ReadableError { readonly 'text': string; } }