NewUserEvent
v1.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 new user has been created into the Legacy (v1) platform and inserted in the DB.

It is consumed by the Customer Service when the profile is "Business" which enriches it before emitting a CustomerSubmitted event.

Consumer / Producer Diagram

Event Example

NewUserEvent Schema (json)
{
  "version": "0",
  "id": "2509dcd0-3afe-fb73-46ee-eaea996acf56",
  "detail-type": "NewUserEvent",
  "source": "flatsy.service.legacy",
  "account": "221760190323",
  "time": "2023-08-14T12:04:27Z",
  "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": "2e1117e9-0aef-4a8a-a1cf-bd2f3c59c79c",
        "data": {
          "profile": "Business",
          "basicData": {
            "loginInfo": {
              "providerID": "credentials",
              "providerKey": "sophie.martin@sfhe.fr"
            },
            "fullName": "Nove - SFHE",
            "email": "sophie.martin@sfhe.fr"
          },
          "trackingData": {
            "signInCount": 1,
            "lastSignInAt": "2023-08-14T12:04:26.763020Z",
            "createdAt": "2023-08-14T12:04:26.763021Z",
            "updatedAt": "2023-08-14T12:04:26.763021Z"
          }
        }
      },
      "_type": "flatsy.model.NewUserEvent",
      "dtype": "NewUserEvent"
    }
  }
}
Edit this pageLast updated on 2023/11/3