UserUpdatedEventv1
User account from talent app
Details
Example event payload
1{
2 "id": 6102955,
3 "createdAt": "2023-07-09T21:17:05.542Z",
4 "updatedAt": "2023-07-09T21:17:05.602Z",
5 "eventName": "UserUpdatedEvent",
6 "keyId": "6b19bdc9-8ba1-4d69-9fd3-aeb998f8b435",
7 "eventData": {
8 "name": "UserUpdatedEvent",
9 "type": "event",
10 "user": {
11 "id": "0b993dae-c75f-46bf-89da-45d551d017be",
12 "email": "xxxx@gmail.com",
13 "gender": 0,
14 "auth0Id": null,
15 "lastName": "Guerin",
16 "password": "",
17 "talentId": "993c0582-36af-4dc1-95ba-6f01921ba06c",
18 "userType": "TALENT",
19 "username": null,
20 "avatarUrl": null,
21 "birthDate": null,
22 "createdAt": "2023-07-10T01:13:18.342Z",
23 "deletedAt": null,
24 "firstName": "Anne-Laure",
25 "freeTrial": false,
26 "updatedAt": "2023-07-10T01:13:18.342Z",
27 "activatedAt": null,
28 "hasReferral": false,
29 "phoneNumber": "+14699388974",
30 "isTestAccount": false,
31 "tocAcceptedAt": null,
32 "notificationIds": []
33 },
34 "email": "zxxxx@gmail.com",
35 "keyId": "6b19bdc9-8ba1-4d69-9fd3-aeb998f8b435",
36 "version": 1
37 },
38 "status": "ACKNOWLEDGED",
39 "publisherNodeId": "phoenix-production-788774c7f-9dccm",
40 "processorNodeId": "phoenix-production-788774c7f-ptzwj",
41 "version": 1,
42 "userId": "0b993dae-c75f-46bf-89da-45d551d017be",
43 "talentId": "993c0582-36af-4dc1-95ba-6f01921ba06c"
44}UserUpdatedEvent payload
UserUpdatedEvent Schema (json)
{
"$id": "UserUpdatedEventPayloadTSchema",
"type": "object",
"properties": {
"user": {
"$id": "UserEntity",
"type": "object",
"properties": {
"createdAt": { "format": "datetime", "type": "string" },
"updatedAt": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"deletedAt": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"id": { "type": "string" },
"firstName": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"lastName": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"username": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"password": {
"anyOf": [{ "default": "", "type": "string" }, { "type": "null" }]
},
"hasPassword": { "type": "boolean" },
"gender": {
"default": 0,
"anyOf": [
{ "const": 0, "type": "number" },
{ "const": 1, "type": "number" }
]
},
"freeTrial": { "default": false, "type": "boolean" },
"isTestAccount": { "default": false, "type": "boolean" },
"hasReferral": { "default": false, "type": "boolean" },
"activatedAt": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"avatarUrl": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"email": { "type": "string" },
"phoneNumber": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"auth0Id": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"tocAcceptedAt": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"birthDate": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"availableContexts": {
"anyOf": [
{
"type": "array",
"items": {
"description": "Easily identify what context (app or service) can be displayed to the user.",
"anyOf": [
{ "const": "BACKOFFICE_SPACE", "type": "string" },
{ "const": "MUTUAL_HELP_SPACE", "type": "string" },
{ "const": "FEEDBACK_ME_SPACE", "type": "string" },
{ "const": "TALENT_SPACE", "type": "string" }
]
}
},
{ "type": "null" }
]
},
"userType": {
"anyOf": [
{
"anyOf": [
{ "const": "ADMIN", "type": "string" },
{ "const": "AGENT", "type": "string" },
{ "const": "TALENT", "type": "string" },
{ "const": "COACH", "type": "string" },
{ "const": "PROGRAM_EDITOR", "type": "string" },
{ "const": "COMMUNITY_MEMBER", "type": "string" }
]
},
{ "type": "null" }
]
},
"talent": { "anyOf": [{}, { "type": "null" }] },
"talentId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"coach": { "anyOf": [{}, { "type": "null" }] },
"coachId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"agent": { "anyOf": [{}, { "type": "null" }] },
"agentId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"programEditor": { "anyOf": [{}, { "type": "null" }] },
"programEditorId": {
"anyOf": [{ "type": "string" }, { "type": "null" }]
},
"type": { "anyOf": [{}, {}, {}, {}, { "type": "null" }] },
"notifications": { "type": "array", "items": {} },
"notificationIds": { "type": "array", "items": { "type": "string" } },
"preSave": {
"type": "Function",
"parameters": [],
"returns": { "type": "Promise", "item": { "type": "void" } }
}
},
"required": [
"createdAt",
"id",
"password",
"hasPassword",
"gender",
"freeTrial",
"isTestAccount",
"hasReferral",
"activatedAt",
"email",
"phoneNumber",
"auth0Id",
"tocAcceptedAt",
"birthDate",
"talent",
"talentId",
"coach",
"coachId",
"agent",
"agentId",
"programEditor",
"programEditorId",
"type",
"notifications",
"notificationIds",
"preSave"
]
},
"email": { "type": "string" }
},
"required": ["user", "email"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5