irve conversion : add operator prefix for phone

This commit is contained in:
Tykayn 2023-10-06 11:35:08 +02:00 committed by tykayn
parent 35f3b7ee20
commit 114cf9081d

View File

@ -40,16 +40,16 @@ const MappingIRVE: MappingConfigType = {
siren_amenageur: 'owner:ref:FR:SIREN', siren_amenageur: 'owner:ref:FR:SIREN',
nom_operateur: 'operator', nom_operateur: 'operator',
telephone_operateur: { telephone_operateur: {
key_converted: 'phone', key_converted: 'operator:phone',
convert_to_phone: true, // conversion en format international si possible convert_to_phone: true, // conversion en format international si possible
}, },
phone: { phone: {
key_converted: 'phone', key_converted: 'operator:phone',
convert_to_phone: true, // conversion en format international si possible convert_to_phone: true, // conversion en format international si possible
}, },
contact_operateur: 'email', // ici, on souhaite convertir la clé contact_operateur=bidule en email=bidule contact_operateur: 'operator:email', // ici, on souhaite convertir la clé contact_operateur=bidule en email=bidule
// id_station_itinerance: 'ref:EU:EVSE', id_station_itinerance: 'ref:EU:EVSE',
id_station_local: 'ref', id_station_local: 'ref',
/** /**