|
| 1 | +import { Mur } from './mur.model'; |
| 2 | +import { Porte } from './porte.model'; |
| 3 | +import { PlancherBas } from './plancher-bas.model'; |
| 4 | +import { PlancherHaut } from './plancher-haut.model'; |
| 5 | +import { BaieVitree } from './baie-vitree.model'; |
| 6 | +import { Ets } from './ets.model'; |
| 7 | +import { PontThermique } from './pont-thermique.model'; |
| 8 | +import { Ventilation } from './ventilation.model'; |
| 9 | +import { Climatisation } from './climatisation.model'; |
| 10 | +import { ProductionElecEnr } from './production-elec-enr.model'; |
| 11 | +import { InstallationEcs } from './installation-ecs.model'; |
| 12 | +import { InstallationChauffage } from './installation-chauffage.model'; |
| 13 | +import { Sortie } from './sortie.model'; |
| 14 | + |
| 15 | +/** |
| 16 | + * @see https://gitlab.com/observatoire-dpe/observatoire-dpe/-/blob/master/modele_donnee/DPE_complet.xsd?ref_type=heads |
| 17 | + */ |
| 18 | +export interface Dpe { |
| 19 | + hashkey: string; |
| 20 | + id: string; |
| 21 | + version: string; |
| 22 | + numero_dpe: string; |
| 23 | + statut: string; |
| 24 | + administratif: Administratif; |
| 25 | + dpe_immeuble?: DpeImmeuble; |
| 26 | + logement?: Logement; |
| 27 | + tertiaire?: Tertiaire; |
| 28 | + logement_neuf?: LogementNeuf; |
| 29 | + descriptif_enr_collection: any; // Pas traité pour l'instant |
| 30 | + descriptif_simplifie_collection: any; // Pas traité pour l'instant |
| 31 | + fiche_technique_collection: any; // Pas traité pour l'instant |
| 32 | + justificatif_collection: any; // Pas traité pour l'instant |
| 33 | + descriptif_geste_entretien_collection: any; // Pas traité pour l'instant |
| 34 | + descriptif_travaux: any; // Pas traité pour l'instant |
| 35 | +} |
| 36 | + |
| 37 | +export interface Administratif { |
| 38 | + dpe_a_remplacer?: string; |
| 39 | + reference_interne_projet?: string; |
| 40 | + motif_remplacement?: string; |
| 41 | + dpe_immeuble_associe?: string; |
| 42 | + enum_version_id: string; |
| 43 | + date_visite_diagnostiqueur: string; |
| 44 | + nom_proprietaire?: string; |
| 45 | + siren_proprietaire?: string; |
| 46 | + nom_proprietaire_installation_commune?: string; |
| 47 | + date_etablissement_dpe: string; |
| 48 | + enum_modele_dpe_id: string; |
| 49 | + diagnostiqueur: Diagnostiqueur; |
| 50 | + geolocalisation: Geolocalisation; |
| 51 | + consentement_proprietaire?: boolean; |
| 52 | + information_consentement_proprietaire?: InformationConsentementProprietaire; |
| 53 | +} |
| 54 | + |
| 55 | +export interface Diagnostiqueur { |
| 56 | + usr_logiciel_id: string; |
| 57 | + version_logiciel: string; |
| 58 | + version_moteur_calcul?: string; |
| 59 | + nom_diagnostiqueur: string; |
| 60 | + prenom_diagnostiqueur: string; |
| 61 | + mail_diagnostiqueur: string; |
| 62 | + telephone_diagnostiqueur: string; |
| 63 | + adresse_diagnostiqueur: string; |
| 64 | + entreprise_diagnostiqueur: string; |
| 65 | + numero_certification_diagnostiqueur: string; |
| 66 | + organisme_certificateur: string; |
| 67 | +} |
| 68 | + |
| 69 | +export interface DpeImmeuble { |
| 70 | + logement_visite_collection: LogementVisite[]; |
| 71 | +} |
| 72 | + |
| 73 | +export interface LogementVisite { |
| 74 | + description: string; |
| 75 | + enum_position_etage_logement_id: string; |
| 76 | + enum_typologie_logement_id: string; |
| 77 | + surface_habitable_logement: number; |
| 78 | +} |
| 79 | + |
| 80 | +export interface Geolocalisation { |
| 81 | + invar_logement?: string; |
| 82 | + numero_fiscal_local?: string; |
| 83 | + id_batiment_rnb?: string; |
| 84 | + rpls_log_id?: string; |
| 85 | + rpls_org_id?: string; |
| 86 | + idpar?: string; |
| 87 | + immatriculation_copropriete?: string; |
| 88 | + adresses?: { |
| 89 | + adresse_bien: Adresse; |
| 90 | + adresse_proprietaire: Adresse; |
| 91 | + adresse_proprietaire_installation_commune: Adresse; |
| 92 | + }; |
| 93 | +} |
| 94 | + |
| 95 | +export interface Adresse { |
| 96 | + adresse_brut: string; |
| 97 | + code_postal_brut: string; |
| 98 | + nom_commune_brut: string; |
| 99 | + label_brut: string; |
| 100 | + label_brut_avec_complement: string; |
| 101 | + enum_statut_geocodage_ban_id: string; |
| 102 | + ban_date_appel: string; |
| 103 | + ban_id?: string; |
| 104 | + ban_id_ban_adresse?: string; |
| 105 | + ban_label?: string; |
| 106 | + ban_housenumber?: string; |
| 107 | + ban_street?: string; |
| 108 | + ban_citycode?: string; |
| 109 | + ban_postcode?: string; |
| 110 | + ban_city?: string; |
| 111 | + ban_type?: string; |
| 112 | + ban_score?: string; |
| 113 | + ban_x?: string; |
| 114 | + compl_nom_residence?: string; |
| 115 | + compl_ref_batiment?: string; |
| 116 | + compl_etage_appartement?: string; |
| 117 | + compl_ref_cage_escalier?: string; |
| 118 | + compl_ref_logement?: string; |
| 119 | +} |
| 120 | + |
| 121 | +export interface InformationConsentementProprietaire { |
| 122 | + nom_proprietaire: string; |
| 123 | + personne_morale: boolean; |
| 124 | + siren_proprietaire?: string; |
| 125 | + telephone?: string; |
| 126 | + mail?: string; |
| 127 | + label_adresse: string; |
| 128 | + label_adresse_avec_complement: string; |
| 129 | +} |
| 130 | + |
| 131 | +export interface CaracteristiqueGenerale { |
| 132 | + annee_construction?: number; |
| 133 | + enum_periode_construction_id: number; |
| 134 | + enum_methode_application_dpe_log_id: number; |
| 135 | + enum_calcul_echantillonnage_id?: number; |
| 136 | + surface_habitable_logement?: number; |
| 137 | + nombre_niveau_immeuble?: number; |
| 138 | + nombre_niveau_logement?: number; |
| 139 | + hsp: number; |
| 140 | + surface_habitable_immeuble?: number; |
| 141 | + surface_tertiaire_immeuble?: number; |
| 142 | + nombre_appartement?: number; |
| 143 | + appartement_non_visite: boolean; |
| 144 | +} |
| 145 | + |
| 146 | +export interface Meteo { |
| 147 | + enum_zone_climatique_id?: number; |
| 148 | + altitude: number; |
| 149 | + enum_classe_altitude_id: number; |
| 150 | + batiment_materiaux_anciens: boolean; |
| 151 | +} |
| 152 | + |
| 153 | +export interface Logement { |
| 154 | + caracteristique_generale: CaracteristiqueGenerale; |
| 155 | + meteo: Meteo; |
| 156 | + enveloppe: Enveloppe; |
| 157 | + ventilation_collection: { ventilation: Ventilation[] }; |
| 158 | + climatisation_collection: { climatisation: Climatisation[] }; |
| 159 | + production_elec_enr?: ProductionElecEnr; |
| 160 | + installation_ecs_collection: { installation_ecs: InstallationEcs[] }; |
| 161 | + installation_chauffage_collection: { installation_chauffage: InstallationChauffage[] }; |
| 162 | + sortie: Sortie; |
| 163 | +} |
| 164 | + |
| 165 | +export interface Tertiaire extends Logement {} |
| 166 | + |
| 167 | +export interface LogementNeuf extends Logement {} |
| 168 | + |
| 169 | +export interface Enveloppe { |
| 170 | + inertie: { |
| 171 | + inertie_plancher_bas_lourd: boolean; |
| 172 | + inertie_plancher_haut_lourd: boolean; |
| 173 | + inertie_paroi_verticale_lourd: boolean; |
| 174 | + enum_classe_inertie_id: number; |
| 175 | + }; |
| 176 | + mur_collection: { mur: Mur[] }; |
| 177 | + plancher_bas_collection: { plancher_bas: PlancherBas[] }; |
| 178 | + plancher_haut_collection: { plancher_haut: PlancherHaut[] }; |
| 179 | + baie_vitree_collection: { baie_vitree: BaieVitree[] }; |
| 180 | + porte_collection: { porte: Porte[] }; |
| 181 | + ets_collection: { ets: Ets }; |
| 182 | + pont_thermique_collection: { pont_thermique: PontThermique[] }; |
| 183 | +} |
0 commit comments