This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Resources/metadata/entityDefs/WebhookQueueItem.json
T
2024-02-20 13:22:03 +02:00

62 lines
1.3 KiB
JSON

{
"fields": {
"number": {
"type": "autoincrement",
"dbType": "bigint"
},
"event": {
"type": "varchar",
"maxLength": 100,
"required": true
},
"webhook": {
"type": "link"
},
"target": {
"type": "linkParent"
},
"data": {
"type": "jsonObject"
},
"createdAt": {
"type": "datetime",
"hasSeconds": true
},
"status": {
"type": "enum",
"options": ["Pending", "Success", "Failed"],
"default": "Pending",
"maxLength": 7,
"style": {
"Success": "success",
"Failed": "danger"
}
},
"processedAt": {
"type": "datetime",
"hasSeconds": true
},
"attempts": {
"type": "int",
"default": 0
},
"processAt": {
"type": "datetime"
}
},
"links": {
"target": {
"type": "belongsToParent"
},
"webhook": {
"type": "belongsTo",
"entity": "Webhook",
"foreignName": "id"
}
},
"collection": {
"orderBy": "number",
"order": "desc"
}
}