export interface UpdatedStatusSubcontratist { ID_SUBCONTRATIST: string; SAVED_BY_USER: string; LINE_NUMBER: string; } export interface ResponseDataSubcontratist{ error: boolean; msg: string; response: Subcontratist; } export interface ResponseDataSubcontratistInfo{ error: boolean; msg: string; response: DownoloadSubcontratistInfo; } export interface Subcontratist { ID_SUBCONTRATIST?: string; SOCIAL_REASON: string; TAX_REFERENCE: string; RFC: string | null; CONTRACT_TYPE: string; EMAIL: string; FOREIGNER: string; TAX: string | null; STREET: string; EXTERIOR_NUMBER: number; INTERIOR_NUMBER: number | null; SUBURB: string; CITY: string | null; TOWN: string | null; POSTAL_CODE: string; FEDERAL_ENTITY: string; COUNTRY: string; TELEPHONE1: string; LADA1: string; TELEPHONE2: string | null; LADA2: string | null; SPECIALTY: string; SPECIALTY_ARR?: string[]; STATUS: string; } export interface Interventions { INTERVENTION_NAME: string; INTERVENTION_ID: string; SPECIALTY_REQUIRED: string; SUBCONTRACT_NAME: string; MEMBERS: Array; } export interface ContractsDetails { START_DATE: string; END_DATE: string; COST: string; ID_CONTRACT: string, ID_SUBCONTRATIST: string; INTERVENTIONS: Array; } export interface DownoloadSubcontratistInfo { LINE_NUMBER: number; SAVED_BY_USER?: string; CONTRACTS: Array; } export interface TypeFormSubcontract { type: 'REG' | 'UPD'; idSubcontract: string | null; idProvider: string | null; }