UserRemovedEventv1
Admin
Details
UserRemovedEvent payload
UserRemovedEvent Schema (json)
{
"$id": "UserRemovedEventPayloadTSchema",
"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"
]
}
},
"required": ["user"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5