Files
espocrm/application/Espo/Resources/metadata/entityDefs/Webhook.json
bsiggel 127fa6503b chore: Update copyright year from 2025 to 2026 across core files
- Updated copyright headers in 3,055 core application files
- Changed 'Copyright (C) 2014-2025' to 'Copyright (C) 2014-2026'
- Added 123 new files from EspoCRM core updates
- Removed 4 deprecated files
- Total changes: 61,637 insertions, 54,283 deletions

This is a routine maintenance update for the new year 2026.
2026-02-07 16:05:21 +01:00

112 lines
2.7 KiB
JSON

{
"fields": {
"event": {
"type": "varchar",
"maxLength": 100,
"required": true,
"view": "views/webhook/fields/event"
},
"url": {
"type": "varchar",
"maxLength": 512,
"required": true,
"copyToClipboard": true
},
"isActive": {
"type": "bool",
"default": true
},
"user": {
"type": "link",
"view": "views/webhook/fields/user"
},
"entityType": {
"type": "varchar",
"readOnly": true,
"view": "views/fields/entity-type"
},
"type": {
"type": "enum",
"options": [
"create",
"update",
"fieldUpdate",
"delete"
],
"readOnly": true
},
"field": {
"type": "varchar",
"readOnly": true
},
"secretKey": {
"type": "varchar",
"maxLength": 100,
"readOnly": true,
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true,
"layoutListDisabled": true
},
"skipOwn": {
"type": "bool",
"tooltip": true
},
"description": {
"type": "text"
},
"createdAt": {
"type": "datetime",
"readOnly": true
},
"modifiedAt": {
"type": "datetime",
"readOnly": true
},
"createdBy": {
"type": "link",
"readOnly": true
},
"modifiedBy": {
"type": "link",
"readOnly": true
}
},
"links": {
"user": {
"type": "belongsTo",
"entity": "User"
},
"queueItems": {
"type": "hasMany",
"entity": "WebhookQueueItem",
"foreign": "webhook",
"readOnly": true
},
"createdBy": {
"type": "belongsTo",
"entity": "User"
},
"modifiedBy": {
"type": "belongsTo",
"entity": "User"
}
},
"collection": {
"orderBy": "createdAt",
"order": "desc",
"textFilterFields": ["event"]
},
"indexes": {
"event": {
"columns": ["event"]
},
"entityTypeType": {
"columns": ["entityType", "type"]
},
"entityTypeField": {
"columns": ["entityType", "field"]
}
},
"hooksDisabled": true
}