UserUpdatedEventv1.0.0
Event represents when a property has been created in the Legacy Stack (processed and inserted in theDB)
Details
This event is emitted after a user has been updated in the Legacy (v1) DB.
It is consumed by the Customer Service when profile is "Business" which enriches it before emitting a CustomerUpdateSubmitted event.
Consumer / Producer Diagram
Event Example
UserUpdatedEvent Schema (json)
{
"version": "0",
"id": "61bfc7df-568d-adaf-9845-d0351883c3a1",
"detail-type": "UserUpdatedEvent",
"source": "flatsy.service.legacy",
"account": "221760190323",
"time": "2023-09-12T08:36:38Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "System",
"service": "flatsy.service.legacy",
"actor": "System",
"actorID": "System",
"entity": "Unknown",
"correlationID": null,
"entityID": "Unknown"
},
"data": {
"user": {
"id": "de28a1b5-11b9-4de9-a817-8b6a69da7b6c",
"data": {
"profile": "Business",
"basicData": {
"loginInfo": {
"providerID": "credentials",
"providerKey": "a.clausel@mobilitelogement.com"
},
"fullName": "Mobilité Logement",
"shortName": "MobLogement",
"email": "a.clausel@mobilitelogement.com",
"phone": "+33437496191",
"address": {
"address": "8 Chem. du Jubin, 69570 Dardilly",
"zip": "69570",
"city": "Dardilly",
"countryCode": "FR",
"latitude": 45.81318539999999,
"longitude": 4.7610284
},
"photoURL": "https://cdn.filestackcontent.com/XYKr9ZIuRIq38QSaWYwW?policy=eyJoYW5kbGUiOiJYWUtyOVpJdVJJcTM4UVNhV1l3VyIsImNhbGwiOlsicmVhZCJdLCJleHBpcnkiOjQ4MzU5MzkyNDJ9&signature=01f058ee78fe9672ae5bb5713721707dfc4254e6a51bb406d9827dd9ac3ef5dc"
},
"businessData": {
"businessOptions": {
"widgets": ["GRAPH", "OWNER_DEFAULT", "FLATGUIDES"],
"muteErrors": false,
"visitorDataRetentionDays": 365
},
"importOptions": {
"unavailableOnImport": true,
"makeAvailableOnApiSave": false,
"sharingAllowed": true,
"saveCollaboratorFromUbiflow": false
},
"phone2": "0437496198",
"businessHours": "<p><strong>Présentation de l'agence : <br></strong><span style=\"font-size: 13.5424px;\"><br>Dans un marché immobilier toujours plus exigeant, le service et le professionnalisme sont nos valeurs au quotidien.</span></p><p><span style=\"font-size: 13.5424px;\"><br></span></p><p><span style=\"font-size: 13.5424px;\">Depuis 1996, nos conseillers sont de véritables architectes de la mobilité, qui priorisent la mise en relation entre propriétaires et clients en mutation professionnelle.</span></p><p><span style=\"font-size: 13.5424px;\"><br></span></p><p><span style=\"font-size: 13.5424px;\">Nos clients sont principalement les salariés et cadres de grandes entreprises nationales, que nous accompagnons dans leur recherche de logement.</span></p><p><br></p><p><strong>Clés :</strong> les clés seront à récupérer auprès de prestataires de l'agence<br><br></p><p><strong>Point de contact pour les agents de visite :</strong> Aurélie ATTAL CLAUSEL <br><br></p><p><strong>Dossier :</strong> Les candidats devront envoyer leur dossier au complet avant les visites<br><br></p>",
"billingCounterparty": "MOBILITE LOGEMENT",
"csm": {
"email": "prudence.fanou@flatsy.fr",
"firstName": "Prudence",
"lastName": "Fanou",
"phone": "07 57 90 85 35",
"photo": "https://flatsy-assets.s3.eu-west-1.amazonaws.com/prudence.png"
}
},
"trackingData": {
"signInCount": 31,
"lastSignInAt": "2023-04-19T08:10:20.071376Z",
"lastSeenAt": "2023-09-11T07:36:44.852920Z",
"createdAt": "2023-04-19T08:10:20.071376Z",
"updatedAt": "2023-04-24T14:55:37.982192Z"
}
}
},
"_type": "flatsy.model.UserUpdatedEvent",
"dtype": "UserUpdatedEvent"
}
}
}Edit this pageLast updated on 2023/11/3
