Initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"portalOwnershipCheckerClassName": "Espo\\Modules\\Crm\\Classes\\AclPortal\\Account\\OwnershipChecker"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"accessCheckerClassName": "Espo\\Modules\\Crm\\Classes\\Acl\\Call\\AccessChecker",
|
||||
"assignmentCheckerClassName": "Espo\\Modules\\Crm\\Classes\\Acl\\Meeting\\AssignmentChecker",
|
||||
"readOwnerUserField": "users",
|
||||
"contactLink": "contacts",
|
||||
"accountLink": "account"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"ownershipCheckerClassName": "Espo\\Modules\\Crm\\Classes\\Acl\\CampaignLogRecord\\OwnershipChecker"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"ownershipCheckerClassName": "Espo\\Modules\\Crm\\Classes\\Acl\\CampaignTrackingUrl\\OwnershipChecker"
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"linkCheckerClassNameMap": {
|
||||
"lead": "Espo\\Modules\\Crm\\Classes\\Acl\\Case\\LinkCheckers\\LeadLinkChecker",
|
||||
"account": "Espo\\Modules\\Crm\\Classes\\Acl\\Case\\LinkCheckers\\AccountLinkChecker",
|
||||
"contact": "Espo\\Modules\\Crm\\Classes\\Acl\\Case\\LinkCheckers\\ContactLinkChecker",
|
||||
"contacts": "Espo\\Modules\\Crm\\Classes\\Acl\\Case\\LinkCheckers\\ContactLinkChecker"
|
||||
},
|
||||
"portalOwnershipCheckerClassName": "Espo\\Modules\\Crm\\Classes\\AclPortal\\Case\\OwnershipChecker",
|
||||
"contactLink": "contacts",
|
||||
"accountLink": "account"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"portalOwnershipCheckerClassName": "Espo\\Modules\\Crm\\Classes\\AclPortal\\Contact\\OwnershipChecker",
|
||||
"accountLink": "accounts"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"contactLink": "contacts",
|
||||
"accountLink": "accounts"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"portalAccessCheckerClassName": "Espo\\Modules\\Crm\\Classes\\AclPortal\\KnowledgeBaseArticle\\AccessChecker"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ownershipCheckerClassName": "Espo\\Modules\\Crm\\Classes\\Acl\\MassEmail\\OwnershipChecker",
|
||||
"linkCheckerClassNameMap": {
|
||||
"inboundEmail": "Espo\\Modules\\Crm\\Classes\\Acl\\MassEmail\\LinkCheckers\\InboundEmailLinkChecker"
|
||||
},
|
||||
"accessCheckerClassName": "Espo\\Modules\\Crm\\Classes\\Acl\\MassEmail\\AccessChecker"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"accessCheckerClassName": "Espo\\Modules\\Crm\\Classes\\Acl\\Meeting\\AccessChecker",
|
||||
"assignmentCheckerClassName": "Espo\\Modules\\Crm\\Classes\\Acl\\Meeting\\AssignmentChecker",
|
||||
"readOwnerUserField": "users",
|
||||
"contactLink": "contacts",
|
||||
"accountLink": "account"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"contactLink": "contacts",
|
||||
"accountLink": "account"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"linkCheckerClassNameMap": {
|
||||
"parent": "Espo\\Modules\\Crm\\Classes\\Acl\\Task\\LinkCheckers\\ParentLinkChecker",
|
||||
"account": "Espo\\Modules\\Crm\\Classes\\Acl\\Task\\LinkCheckers\\AccountLinkChecker"
|
||||
},
|
||||
"contactLink": "contacts",
|
||||
"accountLink": "account"
|
||||
}
|
||||
20
application/Espo/Modules/Crm/Resources/metadata/app/acl.json
Normal file
20
application/Espo/Modules/Crm/Resources/metadata/app/acl.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"mandatory": {
|
||||
"scopeLevel": {
|
||||
"MassEmail": "Campaign",
|
||||
"CampaignLogRecord": "Campaign",
|
||||
"CampaignTrackingUrl": "Campaign",
|
||||
"EmailQueueItem": "Campaign"
|
||||
}
|
||||
},
|
||||
"strictDefault": {
|
||||
"scopeFieldLevel": {
|
||||
"Meeting": {
|
||||
"uid": false
|
||||
},
|
||||
"Call": {
|
||||
"uid": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"mandatory": {
|
||||
"scopeLevel": {
|
||||
"MassEmail": "Campaign",
|
||||
"CampaignLogRecord": "Campaign",
|
||||
"CampaignTrackingUrl": "Campaign",
|
||||
"EmailQueueItem": false
|
||||
},
|
||||
"scopeFieldLevel": {
|
||||
"Case": {
|
||||
"isInternal": false
|
||||
},
|
||||
"Meeting": {
|
||||
"uid": false
|
||||
},
|
||||
"Call": {
|
||||
"uid": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"strictDefault": {
|
||||
"scopeFieldLevel": {
|
||||
"KnowledgeBaseArticle": {
|
||||
"portals": false,
|
||||
"order": {
|
||||
"read": "yes",
|
||||
"edit": "no"
|
||||
},
|
||||
"status": false,
|
||||
"assignedUser": false
|
||||
},
|
||||
"Call": {
|
||||
"users": {
|
||||
"read": "yes",
|
||||
"edit": "no"
|
||||
},
|
||||
"leads": false
|
||||
},
|
||||
"Meeting": {
|
||||
"users": {
|
||||
"read": "yes",
|
||||
"edit": "no"
|
||||
},
|
||||
"leads": false
|
||||
},
|
||||
"Case": {
|
||||
"status": {
|
||||
"read": "yes",
|
||||
"edit": "no"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"additionalAttributeList": [
|
||||
"color"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
":entityType/activities/:id/:targetEntityType": {
|
||||
"params": {
|
||||
"controller": "Activities",
|
||||
"action": "activities"
|
||||
},
|
||||
"order": 1
|
||||
},
|
||||
":entityType/history/:id/:targetEntityType": {
|
||||
"params": {
|
||||
"controller": "Activities",
|
||||
"action": "history"
|
||||
},
|
||||
"order": 1
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"entityLinkMapping": {
|
||||
"Contact": {
|
||||
"Account": "account"
|
||||
},
|
||||
"Opportunity": {
|
||||
"Account": "account",
|
||||
"Contact": "contact"
|
||||
},
|
||||
"Case": {
|
||||
"Account": "account",
|
||||
"Contact": "contact"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,348 @@
|
||||
{
|
||||
"Account": {
|
||||
"updateDuplicateCheck": {
|
||||
"location": "recordDefs",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"duplicateCheckFieldList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"tooltip": true,
|
||||
"view": "views/admin/entity-manager/fields/duplicate-check-field-list"
|
||||
}
|
||||
},
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"Contact": {
|
||||
"updateDuplicateCheck": {
|
||||
"location": "recordDefs",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"duplicateCheckFieldList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"tooltip": true,
|
||||
"view": "views/admin/entity-manager/fields/duplicate-check-field-list"
|
||||
}
|
||||
},
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"Lead": {
|
||||
"updateDuplicateCheck": {
|
||||
"location": "recordDefs",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"duplicateCheckFieldList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true,
|
||||
"view": "views/admin/entity-manager/fields/duplicate-check-field-list"
|
||||
}
|
||||
},
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"Opportunity": {
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"Document": {
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"Case": {
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"KnowledgeBaseArticle": {
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"Meeting": {
|
||||
"activityStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"historyStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"completedStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"canceledStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Call": {
|
||||
"activityStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"historyStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"completedStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"canceledStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Task": {
|
||||
"completedStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"canceledStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"TargetList": {
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"@Event": {
|
||||
"activityStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"historyStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"completedStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"canceledStatusList": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "multiEnum",
|
||||
"required": true,
|
||||
"tooltip": true,
|
||||
"view": "crm:views/admin/entity-manager/fields/status-list"
|
||||
}
|
||||
},
|
||||
"collaborators": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"assignedUsers": {
|
||||
"location": "scopes",
|
||||
"fieldDefs": {
|
||||
"type": "bool",
|
||||
"tooltip": true
|
||||
}
|
||||
},
|
||||
"aclContactLink": {
|
||||
"location": "aclDefs",
|
||||
"param": "contactLink",
|
||||
"fieldDefs": {
|
||||
"type": "enum",
|
||||
"tooltip": true,
|
||||
"view": "views/admin/entity-manager/fields/acl-contact-link"
|
||||
}
|
||||
},
|
||||
"aclAccountLink": {
|
||||
"location": "aclDefs",
|
||||
"param": "accountLink",
|
||||
"fieldDefs": {
|
||||
"type": "enum",
|
||||
"tooltip": true,
|
||||
"view": "views/admin/entity-manager/fields/acl-account-link"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"functionClassNameMap": {
|
||||
"ext\\account\\findByEmailAddress": "Espo\\Modules\\Crm\\Classes\\FormulaFunctions\\ExtGroup\\AccountGroup\\FindByEmailAddressType",
|
||||
"ext\\calendar\\userIsBusy": "Espo\\Modules\\Crm\\Classes\\FormulaFunctions\\ExtGroup\\CalendarGroup\\UserIsBusyType"
|
||||
},
|
||||
"functionList": [
|
||||
"__APPEND__",
|
||||
{
|
||||
"name": "ext\\account\\findByEmailAddress",
|
||||
"insertText": "ext\\account\\findByEmailAddress(EMAIL_ADDRESS)",
|
||||
"returnType": "string"
|
||||
},
|
||||
{
|
||||
"name": "ext\\calendar\\userIsBusy",
|
||||
"insertText": "ext\\calendar\\userIsBusy(USER_ID, FROM, TO)",
|
||||
"returnType": "bool"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"fullcalendar": {
|
||||
"path": "client/modules/crm/lib/fullcalendar.js",
|
||||
"devPath": "client/modules/crm/lib/original/fullcalendar.js",
|
||||
"exportsTo": "window",
|
||||
"exportsAs": "FullCalendar",
|
||||
"sourceMap": true
|
||||
},
|
||||
"@fullcalendar/moment": {
|
||||
"path": "client/modules/crm/lib/fullcalendar-moment.js",
|
||||
"devPath": "client/modules/crm/lib/original/fullcalendar-moment.js",
|
||||
"exportsTo": "FullCalendar",
|
||||
"exportsAs": "Moment",
|
||||
"sourceMap": true
|
||||
},
|
||||
"@fullcalendar/moment-timezone": {
|
||||
"path": "client/modules/crm/lib/fullcalendar-moment-timezone.js",
|
||||
"devPath": "client/modules/crm/lib/original/fullcalendar-moment-timezone.js",
|
||||
"exportsTo": "FullCalendar",
|
||||
"exportsAs": "MomentTimezone",
|
||||
"sourceMap": true
|
||||
},
|
||||
"vis-timeline": {
|
||||
"path": "client/modules/crm/lib/vis-timeline.js",
|
||||
"devPath": "client/modules/crm/lib/original/vis-timeline.js",
|
||||
"sourceMap": true
|
||||
},
|
||||
"vis-data": {
|
||||
"path": "client/modules/crm/lib/vis-data.js",
|
||||
"devPath": "client/modules/crm/lib/original/vis-data.js",
|
||||
"aliases": ["vis-data/peer/umd/vis-data.js"],
|
||||
"sourceMap": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"aclDependencies": {
|
||||
"Meeting": {
|
||||
"anyScopeList": ["Call"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"aclDependencies": {},
|
||||
"frontendHiddenPathList": [
|
||||
"__APPEND__",
|
||||
["app", "calendar", "additionalAttributeList"]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"event": {
|
||||
"grouped": true,
|
||||
"providerClassName": "Espo\\Modules\\Crm\\Tools\\Activities\\PopupNotificationsProvider",
|
||||
"useWebSocket": true,
|
||||
"portalDisabled": true,
|
||||
"view": "crm:views/meeting/popup-notification"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"invitation": {
|
||||
"scopeList": ["Meeting", "Call"],
|
||||
"module": "Crm"
|
||||
},
|
||||
"cancellation": {
|
||||
"scopeList": ["Meeting", "Call"],
|
||||
"module": "Crm"
|
||||
},
|
||||
"reminder": {
|
||||
"scopeList": ["Meeting", "Call", "Task"],
|
||||
"module": "Crm"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"categories": {
|
||||
"popupNotifications.event": {},
|
||||
"calendarUpdate": {
|
||||
"accessCheckCommand": "AclCheck --userId=:userId --scope=Calendar"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"aclPortal": "crm:acl-portal/account",
|
||||
"views": {
|
||||
"detail": "crm:views/account/detail"
|
||||
},
|
||||
"sidePanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
],
|
||||
"detailSmall": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bottomPanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"contacts": {
|
||||
"filterList": [
|
||||
"all",
|
||||
"accountActive"
|
||||
],
|
||||
"layout": "listForAccount",
|
||||
"orderBy": "name",
|
||||
"createAttributeMap": {
|
||||
"billingAddressCity": "addressCity",
|
||||
"billingAddressStreet": "addressStreet",
|
||||
"billingAddressPostalCode": "addressPostalCode",
|
||||
"billingAddressState": "addressState",
|
||||
"billingAddressCountry": "addressCountry",
|
||||
"id": "accountId",
|
||||
"name": "accountName"
|
||||
}
|
||||
},
|
||||
"opportunities": {
|
||||
"layout": "listForAccount"
|
||||
},
|
||||
"campaignLogRecords": {
|
||||
"rowActionsView": "views/record/row-actions/empty",
|
||||
"select": false,
|
||||
"create": false
|
||||
},
|
||||
"targetLists": {
|
||||
"rowActionsView": "crm:views/record/row-actions/relationship-target",
|
||||
"layout": "listForTarget",
|
||||
"view": "crm:views/record/panels/target-lists"
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
{
|
||||
"name": "recentlyCreated"
|
||||
}
|
||||
],
|
||||
"boolFilterList": [
|
||||
"onlyMy"
|
||||
],
|
||||
"additionalLayouts": {
|
||||
"detailConvert": {
|
||||
"type": "detail"
|
||||
}
|
||||
},
|
||||
"color": "#edc755",
|
||||
"iconClass": "fas fa-building"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"controller": "crm:controllers/activities"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"colors": {
|
||||
"Meeting": "#558BBD",
|
||||
"Call": "#CF605D",
|
||||
"Task": "#70c173"
|
||||
},
|
||||
"scopeList": ["Meeting", "Call", "Task"],
|
||||
"modeList": ["month", "agendaWeek", "timeline", "agendaDay"],
|
||||
"sharedViewModeList": ["basicWeek", "month", "basicDay"],
|
||||
"additionalColorList": ["#AB78AD", "#CC9B45"],
|
||||
"iconClass": "far fa-calendar-alt",
|
||||
"slotDuration": 30
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"acl": "crm:acl/call",
|
||||
"views":{
|
||||
"detail":"crm:views/call/detail"
|
||||
},
|
||||
"recordViews":{
|
||||
"list": "crm:views/call/record/list",
|
||||
"detail": "crm:views/call/record/detail",
|
||||
"editSmall": "crm:views/call/record/edit-small"
|
||||
},
|
||||
"modalViews": {
|
||||
"detail":"crm:views/meeting/modals/detail"
|
||||
},
|
||||
"viewSetupHandlers": {
|
||||
"record/detail": [
|
||||
"__APPEND__",
|
||||
"crm:handlers/event/reminders-handler"
|
||||
],
|
||||
"record/edit": [
|
||||
"__APPEND__",
|
||||
"crm:handlers/event/reminders-handler"
|
||||
]
|
||||
},
|
||||
"sidePanels":{
|
||||
"detail":[
|
||||
{
|
||||
"name":"attendees",
|
||||
"label":"Attendees",
|
||||
"view":"crm:views/meeting/record/panels/attendees",
|
||||
"sticked": true,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
],
|
||||
"detailSmall":[
|
||||
{
|
||||
"name":"attendees",
|
||||
"label":"Attendees",
|
||||
"view":"crm:views/meeting/record/panels/attendees",
|
||||
"sticked": true,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
],
|
||||
"edit":[
|
||||
{
|
||||
"name":"attendees",
|
||||
"label":"Attendees",
|
||||
"view":"crm:views/meeting/record/panels/attendees",
|
||||
"sticked": true,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
],
|
||||
"editSmall":[
|
||||
{
|
||||
"name":"attendees",
|
||||
"label":"Attendees",
|
||||
"view":"crm:views/meeting/record/panels/attendees",
|
||||
"sticked": true,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"bottomPanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "scheduler",
|
||||
"label": "Scheduler",
|
||||
"view": "crm:views/meeting/record/panels/scheduler",
|
||||
"disabled": false,
|
||||
"order": 3
|
||||
}
|
||||
],
|
||||
"edit": [
|
||||
{
|
||||
"name": "scheduler",
|
||||
"label": "Scheduler",
|
||||
"view": "crm:views/meeting/record/panels/scheduler",
|
||||
"disabled": false,
|
||||
"order": 1
|
||||
}
|
||||
],
|
||||
"editSmall": [
|
||||
{
|
||||
"name": "scheduler",
|
||||
"label": "Scheduler",
|
||||
"view": "crm:views/meeting/record/panels/scheduler",
|
||||
"disabled": false,
|
||||
"order": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"filterList": [
|
||||
{
|
||||
"name":"planned"
|
||||
},
|
||||
{
|
||||
"name":"held",
|
||||
"style": "success"
|
||||
},
|
||||
{
|
||||
"name":"todays"
|
||||
}
|
||||
],
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"activityDefs": {
|
||||
"link": "calls",
|
||||
"activitiesCreate": true,
|
||||
"historyCreate": true
|
||||
},
|
||||
"forcePatchAttributeDependencyMap": {
|
||||
"dateEnd": ["dateStart"],
|
||||
"dateEndDate": ["dateStartDate"]
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"contacts": {
|
||||
"selectHandler": "handlers/select-related/same-account-many"
|
||||
}
|
||||
},
|
||||
"additionalLayouts": {
|
||||
"bottomPanelsEditSmall": {
|
||||
"type": "bottomPanelsEditSmall"
|
||||
}
|
||||
},
|
||||
"iconClass": "fas fa-phone"
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"menu": {
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Target Lists",
|
||||
"link": "#TargetList",
|
||||
"acl": "read",
|
||||
"style": "default",
|
||||
"aclScope": "TargetList"
|
||||
}
|
||||
],
|
||||
"dropdown": [
|
||||
{
|
||||
"label": "Mass Emails",
|
||||
"link": "#MassEmail",
|
||||
"acl": "read",
|
||||
"aclScope": "MassEmail"
|
||||
},
|
||||
{
|
||||
"label": "Email Templates",
|
||||
"link": "#EmailTemplate",
|
||||
"acl": "read",
|
||||
"aclScope": "EmailTemplate"
|
||||
},
|
||||
{
|
||||
"label": "Tracking URLs",
|
||||
"labelTranslation": "Campaign.links.trackingUrls",
|
||||
"link": "#CampaignTrackingUrl",
|
||||
"acl": "read",
|
||||
"aclScope": "CampaignTrackingUrl"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"recordViews": {
|
||||
"detail": "crm:views/campaign/record/detail"
|
||||
},
|
||||
"views": {
|
||||
"detail": "crm:views/campaign/detail"
|
||||
},
|
||||
"sidePanels":{
|
||||
"detail":[
|
||||
{
|
||||
"name": "statistics",
|
||||
"label": "Statistics",
|
||||
"view": "crm:views/campaign/record/panels/campaign-stats",
|
||||
"hidden": false,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"campaignLogRecords": {
|
||||
"view": "crm:views/campaign/record/panels/campaign-log-records",
|
||||
"layout": "listForCampaign",
|
||||
"rowActionsView": "views/record/row-actions/remove-only",
|
||||
"selectDisabled": false,
|
||||
"createDisabled": true
|
||||
},
|
||||
"massEmails": {
|
||||
"createAttributeMap": {
|
||||
"targetListsIds": "targetListsIds",
|
||||
"targetListsNames": "targetListsNames",
|
||||
"excludingTargetListsIds": "excludingTargetListsIds",
|
||||
"excludingTargetListsNames": "excludingTargetListsNames"
|
||||
},
|
||||
"createHandler": "crm:handlers/campaign/mass-emails-create",
|
||||
"selectDisabled": true,
|
||||
"recordListView": "crm:views/mass-email/record/list-for-campaign",
|
||||
"rowActionsView": "crm:views/mass-email/record/row-actions/for-campaign"
|
||||
},
|
||||
"trackingUrls": {
|
||||
"selectDisabled": true,
|
||||
"rowActionsView": "views/record/row-actions/relationship-no-unlink"
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
"active"
|
||||
],
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"iconClass": "fas fa-chart-line"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"acl": "crm:acl/campaign-tracking-url"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"acl": "crm:acl/campaign-tracking-url",
|
||||
"recordViews": {
|
||||
"edit": "crm:views/campaign-tracking-url/record/edit",
|
||||
"editQuick": "crm:views/campaign-tracking-url/record/edit-small"
|
||||
},
|
||||
"defaultSidePanel": {
|
||||
"edit": false,
|
||||
"editSmall": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"recordViews": {
|
||||
"detail": "crm:views/case/record/detail"
|
||||
},
|
||||
"detailActionList": [
|
||||
{
|
||||
"name": "close",
|
||||
"label": "Close",
|
||||
"handler": "crm:handlers/case/detail-actions",
|
||||
"actionFunction": "close",
|
||||
"checkVisibilityFunction": "isCloseAvailable"
|
||||
},
|
||||
{
|
||||
"name": "reject",
|
||||
"label": "Reject",
|
||||
"handler": "crm:handlers/case/detail-actions",
|
||||
"actionFunction": "reject",
|
||||
"checkVisibilityFunction": "isRejectAvailable"
|
||||
}
|
||||
],
|
||||
"sidePanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"view": "crm:views/case/record/panels/activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
],
|
||||
"detailSmall": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"view": "crm:views/case/record/panels/activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bottomPanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"view": "crm:views/case/record/panels/activities",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"filterList": [
|
||||
{
|
||||
"name":"open"
|
||||
},
|
||||
{
|
||||
"name":"closed",
|
||||
"style": "success"
|
||||
}
|
||||
],
|
||||
"relationshipPanels": {
|
||||
"articles": {
|
||||
"createDisabled": true,
|
||||
"editDisabled": true,
|
||||
"removeDisabled": true,
|
||||
"rowActionList": [
|
||||
"sendInEmail"
|
||||
]
|
||||
},
|
||||
"contacts": {
|
||||
"createAttributeMap": {
|
||||
"accountId": "accountId",
|
||||
"accountName": "accountName"
|
||||
},
|
||||
"selectHandler": "handlers/select-related/same-account-many"
|
||||
},
|
||||
"contact": {
|
||||
"createAttributeMap": {
|
||||
"accountId": "accountId",
|
||||
"accountName": "accountName"
|
||||
},
|
||||
"selectHandler": "handlers/select-related/same-account-many"
|
||||
}
|
||||
},
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"selectDefaultFilters": {
|
||||
"filter": "open"
|
||||
},
|
||||
"allowInternalNotes": true,
|
||||
"additionalLayouts": {
|
||||
"detailPortal": {
|
||||
"type": "detail"
|
||||
},
|
||||
"detailSmallPortal": {
|
||||
"type": "detail"
|
||||
},
|
||||
"listPortal": {
|
||||
"type": "list"
|
||||
}
|
||||
},
|
||||
"iconClass": "fas fa-briefcase"
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"aclPortal": "crm:acl-portal/contact",
|
||||
"views": {
|
||||
"detail": "crm:views/contact/detail"
|
||||
},
|
||||
"recordViews": {
|
||||
"detail": "crm:views/contact/record/detail",
|
||||
"detailQuick": "crm:views/contact/record/detail-small"
|
||||
},
|
||||
"sidePanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
],
|
||||
"detailSmall": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bottomPanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"campaignLogRecords": {
|
||||
"rowActionsView": "views/record/row-actions/empty",
|
||||
"select": false,
|
||||
"create": false
|
||||
},
|
||||
"opportunities": {
|
||||
"layout": "listForContact",
|
||||
"createAttributeMap": {
|
||||
"accountId": "accountId",
|
||||
"accountName": "accountName",
|
||||
"id": "contactId",
|
||||
"name": "contactName"
|
||||
},
|
||||
"selectHandler": "handlers/select-related/same-account"
|
||||
},
|
||||
"cases": {
|
||||
"createAttributeMap": {
|
||||
"accountId": "accountId",
|
||||
"accountName": "accountName",
|
||||
"id": "contactId",
|
||||
"name": "contactName"
|
||||
},
|
||||
"selectHandler": "handlers/select-related/same-account"
|
||||
},
|
||||
"targetLists": {
|
||||
"create": false,
|
||||
"rowActionsView": "crm:views/record/row-actions/relationship-target",
|
||||
"layout": "listForTarget",
|
||||
"view": "crm:views/record/panels/target-lists"
|
||||
},
|
||||
"meetings": {
|
||||
"createHandler": "handlers/create-related/set-parent"
|
||||
},
|
||||
"calls": {
|
||||
"createHandler": "handlers/create-related/set-parent"
|
||||
}
|
||||
},
|
||||
"boolFilterList": [
|
||||
"onlyMy"
|
||||
],
|
||||
"additionalLayouts": {
|
||||
"detailConvert": {
|
||||
"type": "detail"
|
||||
},
|
||||
"listForAccount": {
|
||||
"type": "listSmall"
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
"portalUsers"
|
||||
],
|
||||
"color": "#a4c5e0",
|
||||
"iconClass": "fas fa-id-badge"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"aclPortal": "crm:acl-portal/document",
|
||||
"controller": "controllers/record",
|
||||
"views": {
|
||||
"list": "crm:views/document/list"
|
||||
},
|
||||
"modalViews": {
|
||||
"select": "crm:views/document/modals/select-records"
|
||||
},
|
||||
"viewSetupHandlers": {
|
||||
"list": ["crm:view-setup-handlers/document/record-list-drag-n-drop"]
|
||||
},
|
||||
"filterList": [
|
||||
"active",
|
||||
"draft"
|
||||
],
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"selectDefaultFilters": {
|
||||
"filter": "active"
|
||||
},
|
||||
"iconClass": "far fa-file-alt"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"controller": "controllers/record-tree",
|
||||
"collection": "collections/tree",
|
||||
"menu": {
|
||||
"listTree": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "List View",
|
||||
"link": "#DocumentFolder\/list",
|
||||
"acl": "read",
|
||||
"style": "default"
|
||||
},
|
||||
{
|
||||
"label": "Documents",
|
||||
"link": "#Document",
|
||||
"acl": "read",
|
||||
"style": "default",
|
||||
"aclScope": "Document"
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Tree View",
|
||||
"link": "#DocumentFolder",
|
||||
"acl": "read",
|
||||
"style": "default"
|
||||
},
|
||||
{
|
||||
"label": "Documents",
|
||||
"link": "#Document",
|
||||
"acl": "read",
|
||||
"style": "default",
|
||||
"aclScope": "Document"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"children": {
|
||||
"selectDisabled": true,
|
||||
"unlinkDisabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"views": {
|
||||
"list": "crm:views/email-queue-item/list"
|
||||
},
|
||||
"recordViews": {
|
||||
"list": "crm:views/email-queue-item/record/list"
|
||||
},
|
||||
"createDisabled": true,
|
||||
"mergeDisabled": true,
|
||||
"massUpdateDisabled": true
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"views": {
|
||||
"list": "crm:views/knowledge-base-article/list"
|
||||
},
|
||||
"recordViews":{
|
||||
"editQuick":"crm:views/knowledge-base-article/record/edit-quick",
|
||||
"detailQuick":"crm:views/knowledge-base-article/record/detail-quick",
|
||||
"detail":"crm:views/knowledge-base-article/record/detail",
|
||||
"edit":"crm:views/knowledge-base-article/record/edit",
|
||||
"list":"crm:views/knowledge-base-article/record/list"
|
||||
},
|
||||
"modalViews": {
|
||||
"select": "crm:views/knowledge-base-article/modals/select-records"
|
||||
},
|
||||
"rowActionDefs": {
|
||||
"moveToTop": {
|
||||
"label": "Move to Top",
|
||||
"handler": "crm:handlers/knowledge-base-article/move",
|
||||
"acl": "edit"
|
||||
},
|
||||
"moveUp": {
|
||||
"label": "Move Up",
|
||||
"handler": "crm:handlers/knowledge-base-article/move",
|
||||
"acl": "edit"
|
||||
},
|
||||
"moveDown": {
|
||||
"label": "Move Down",
|
||||
"handler": "crm:handlers/knowledge-base-article/move",
|
||||
"acl": "edit"
|
||||
},
|
||||
"moveToBottom": {
|
||||
"labelTranslation": "KnowledgeBaseArticle.labels.Move to Bottom",
|
||||
"handler": "crm:handlers/knowledge-base-article/move",
|
||||
"acl": "edit"
|
||||
},
|
||||
"sendInEmail": {
|
||||
"label": "Send in Email",
|
||||
"handler": "crm:handlers/knowledge-base-article/send-in-email"
|
||||
}
|
||||
},
|
||||
"rowActionList": [
|
||||
"moveToTop",
|
||||
"moveUp",
|
||||
"moveDown",
|
||||
"moveToBottom"
|
||||
],
|
||||
"filterList": [
|
||||
{
|
||||
"name": "published",
|
||||
"accessDataList": [
|
||||
{
|
||||
"inPortalDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"boolFilterList": [
|
||||
{
|
||||
"name": "onlyMy",
|
||||
"accessDataList": [
|
||||
{
|
||||
"inPortalDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"relationshipPanels": {
|
||||
"cases": {
|
||||
"create": false,
|
||||
"rowActionsView": "views/record/row-actions/relationship-view-and-unlink"
|
||||
}
|
||||
},
|
||||
"additionalLayouts": {
|
||||
"detailPortal": {
|
||||
"type": "detail"
|
||||
},
|
||||
"detailSmallPortal": {
|
||||
"type": "detail"
|
||||
},
|
||||
"listPortal": {
|
||||
"type": "list"
|
||||
}
|
||||
},
|
||||
"iconClass": "fas fa-book"
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"controller": "controllers/record-tree",
|
||||
"collection": "collections/tree",
|
||||
"menu": {
|
||||
"listTree": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "List View",
|
||||
"link": "#KnowledgeBaseCategory\/list",
|
||||
"acl": "read",
|
||||
"style": "default"
|
||||
},
|
||||
{
|
||||
"label": "Articles",
|
||||
"link": "#KnowledgeBaseArticle",
|
||||
"acl": "read",
|
||||
"style": "default",
|
||||
"aclScope": "KnowledgeBaseArticle"
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Tree View",
|
||||
"link": "#KnowledgeBaseCategory",
|
||||
"acl": "read",
|
||||
"style": "default"
|
||||
},
|
||||
{
|
||||
"label": "Articles",
|
||||
"link": "#KnowledgeBaseArticle",
|
||||
"acl": "read",
|
||||
"style": "default",
|
||||
"aclScope": "KnowledgeBaseArticle"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"children": {
|
||||
"selectDisabled": true,
|
||||
"unlinkDisabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,181 @@
|
||||
{
|
||||
"controller": "crm:controllers/lead",
|
||||
"views": {
|
||||
"detail": "crm:views/lead/detail"
|
||||
},
|
||||
"recordViews": {
|
||||
"detail": "crm:views/lead/record/detail"
|
||||
},
|
||||
"sidePanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "convertedTo",
|
||||
"label": "Converted To",
|
||||
"view": "crm:views/lead/record/panels/converted-to",
|
||||
"notRefreshable": true,
|
||||
"hidden": true,
|
||||
"style": "success",
|
||||
"isForm": true
|
||||
},
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
],
|
||||
"edit": [
|
||||
{
|
||||
"name": "convertedTo",
|
||||
"label": "Converted To",
|
||||
"view": "crm:views/lead/record/panels/converted-to",
|
||||
"notRefreshable": true,
|
||||
"hidden": true,
|
||||
"style": "success",
|
||||
"isForm": true
|
||||
}
|
||||
],
|
||||
"detailSmall": [
|
||||
{
|
||||
"name": "convertedTo",
|
||||
"label": "Converted To",
|
||||
"view": "crm:views/lead/record/panels/converted-to",
|
||||
"notRefreshable": true,
|
||||
"hidden": true,
|
||||
"style": "success",
|
||||
"isForm": true
|
||||
},
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
],
|
||||
"editSmall": [
|
||||
{
|
||||
"name": "convertedTo",
|
||||
"label": "Converted To",
|
||||
"view": "crm:views/lead/record/panels/converted-to",
|
||||
"notRefreshable": true,
|
||||
"hidden": true,
|
||||
"style": "success",
|
||||
"isForm": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"bottomPanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"campaignLogRecords": {
|
||||
"rowActionsView": "views/record/row-actions/empty",
|
||||
"select": false,
|
||||
"create": false
|
||||
},
|
||||
"targetLists": {
|
||||
"create": false,
|
||||
"rowActionsView": "crm:views/record/row-actions/relationship-target",
|
||||
"layout": "listForTarget",
|
||||
"view": "crm:views/record/panels/target-lists"
|
||||
},
|
||||
"meetings": {
|
||||
"createHandler": "handlers/create-related/set-parent"
|
||||
},
|
||||
"calls": {
|
||||
"createHandler": "handlers/create-related/set-parent"
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
{
|
||||
"name": "actual"
|
||||
},
|
||||
{
|
||||
"name": "converted",
|
||||
"style": "success"
|
||||
}
|
||||
],
|
||||
"boolFilterList": [
|
||||
"onlyMy"
|
||||
],
|
||||
"dynamicLogic": {
|
||||
"fields": {
|
||||
"name": {
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isEmpty",
|
||||
"attribute": "accountName"
|
||||
},
|
||||
{
|
||||
"type": "isEmpty",
|
||||
"attribute": "emailAddress"
|
||||
},
|
||||
{
|
||||
"type": "isEmpty",
|
||||
"attribute": "phoneNumber"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"convertedAt": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "and",
|
||||
"value": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "status",
|
||||
"value": "Converted"
|
||||
},
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "convertedAt"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"panels": {
|
||||
"convertedTo": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "status",
|
||||
"value": "Converted"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"color": "#d6a2c9",
|
||||
"iconClass": "fas fa-address-card"
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"acl": "crm:acl/mass-email",
|
||||
"recordViews": {
|
||||
"detail": "crm:views/mass-email/record/detail",
|
||||
"edit": "crm:views/mass-email/record/edit",
|
||||
"editQuick": "crm:views/mass-email/record/edit-small"
|
||||
},
|
||||
"views": {
|
||||
"detail": "crm:views/mass-email/detail"
|
||||
},
|
||||
"defaultSidePanel": {
|
||||
"edit": false,
|
||||
"editSmall": false
|
||||
},
|
||||
"menu": {
|
||||
"list": {
|
||||
"dropdown": [
|
||||
{
|
||||
"labelTranslation": "Global.scopeNamesPlural.EmailQueueItem",
|
||||
"link": "#EmailQueueItem",
|
||||
"accessDataList": [
|
||||
{
|
||||
"isAdminOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"filterList": [
|
||||
{
|
||||
"name":"actual"
|
||||
},
|
||||
{
|
||||
"name":"complete",
|
||||
"style": "success"
|
||||
}
|
||||
],
|
||||
"relationshipPanels": {
|
||||
"queueItems": {
|
||||
"unlinkDisabled": true,
|
||||
"viewDisabled": true,
|
||||
"editDisabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"acl": "crm:acl/meeting",
|
||||
"views":{
|
||||
"detail":"crm:views/meeting/detail"
|
||||
},
|
||||
"recordViews":{
|
||||
"list":"crm:views/meeting/record/list",
|
||||
"detail": "crm:views/meeting/record/detail",
|
||||
"editSmall": "crm:views/meeting/record/edit-small"
|
||||
},
|
||||
"modalViews": {
|
||||
"detail":"crm:views/meeting/modals/detail"
|
||||
},
|
||||
"viewSetupHandlers": {
|
||||
"record/detail": [
|
||||
"__APPEND__",
|
||||
"crm:handlers/event/reminders-handler"
|
||||
],
|
||||
"record/edit": [
|
||||
"__APPEND__",
|
||||
"crm:handlers/event/reminders-handler"
|
||||
]
|
||||
},
|
||||
"sidePanels":{
|
||||
"detail":[
|
||||
{
|
||||
"name":"attendees",
|
||||
"label":"Attendees",
|
||||
"view":"crm:views/meeting/record/panels/attendees",
|
||||
"options":{
|
||||
"fieldList":[
|
||||
"users",
|
||||
"contacts",
|
||||
"leads"
|
||||
]
|
||||
},
|
||||
"sticked": true,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
],
|
||||
"detailSmall":[
|
||||
{
|
||||
"name":"attendees",
|
||||
"label":"Attendees",
|
||||
"view":"crm:views/meeting/record/panels/attendees",
|
||||
"sticked": true,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
],
|
||||
"edit":[
|
||||
{
|
||||
"name":"attendees",
|
||||
"label":"Attendees",
|
||||
"view":"crm:views/meeting/record/panels/attendees",
|
||||
"sticked": true,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
],
|
||||
"editSmall":[
|
||||
{
|
||||
"name":"attendees",
|
||||
"label":"Attendees",
|
||||
"view":"crm:views/meeting/record/panels/attendees",
|
||||
"sticked": true,
|
||||
"isForm": true,
|
||||
"notRefreshable": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"bottomPanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "scheduler",
|
||||
"label": "Scheduler",
|
||||
"view": "crm:views/meeting/record/panels/scheduler",
|
||||
"order": 3
|
||||
}
|
||||
],
|
||||
"edit": [
|
||||
{
|
||||
"name": "scheduler",
|
||||
"label": "Scheduler",
|
||||
"view": "crm:views/meeting/record/panels/scheduler",
|
||||
"order": 1
|
||||
}
|
||||
],
|
||||
"editSmall": [
|
||||
{
|
||||
"name": "scheduler",
|
||||
"label": "Scheduler",
|
||||
"view": "crm:views/meeting/record/panels/scheduler",
|
||||
"order": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"filterList": [
|
||||
{
|
||||
"name":"planned"
|
||||
},
|
||||
{
|
||||
"name":"held",
|
||||
"style": "success"
|
||||
},
|
||||
{
|
||||
"name":"todays"
|
||||
}
|
||||
],
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"activityDefs": {
|
||||
"link": "meetings",
|
||||
"activitiesCreate": true,
|
||||
"historyCreate": true
|
||||
},
|
||||
"forcePatchAttributeDependencyMap": {
|
||||
"dateEnd": ["dateStart"],
|
||||
"dateEndDate": ["dateStartDate"]
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"contacts": {
|
||||
"selectHandler": "handlers/select-related/same-account-many"
|
||||
}
|
||||
},
|
||||
"additionalLayouts": {
|
||||
"bottomPanelsEditSmall": {
|
||||
"type": "bottomPanelsEditSmall"
|
||||
}
|
||||
},
|
||||
"dynamicLogic":{
|
||||
"fields": {
|
||||
"duration": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "isAllDay"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"iconClass": "fas fa-calendar-check"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"itemViews": {
|
||||
"EventConfirmation": "crm:views/stream/notes/event-confirmation"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"itemViews": {
|
||||
"EventAttendee": "crm:views/notification/items/event-attendee"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"controller": "controllers/record",
|
||||
"modelDefaultsPreparator": "crm:handlers/opportunity/defaults-preparator",
|
||||
"views":{
|
||||
"detail":"crm:views/opportunity/detail"
|
||||
},
|
||||
"recordViews":{
|
||||
"edit":"crm:views/opportunity/record/edit",
|
||||
"editSmall":"crm:views/opportunity/record/edit-small",
|
||||
"list":"crm:views/opportunity/record/list",
|
||||
"kanban": "crm:views/opportunity/record/kanban"
|
||||
},
|
||||
"sidePanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"view": "crm:views/opportunity/record/panels/activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
],
|
||||
"detailSmall": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"view": "crm:views/opportunity/record/panels/activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history"
|
||||
},
|
||||
{
|
||||
"name": "tasks",
|
||||
"reference": "tasks"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bottomPanels": {
|
||||
"detail": [
|
||||
{
|
||||
"name": "activities",
|
||||
"reference": "activities",
|
||||
"disabled": true,
|
||||
"view": "crm:views/opportunity/record/panels/activities"
|
||||
},
|
||||
{
|
||||
"name": "history",
|
||||
"reference": "history",
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"filterList": [
|
||||
{
|
||||
"name":"open"
|
||||
},
|
||||
{
|
||||
"name":"won",
|
||||
"style": "success"
|
||||
}
|
||||
],
|
||||
"boolFilterList": ["onlyMy"],
|
||||
"additionalLayouts": {
|
||||
"detailConvert": {
|
||||
"type": "detail"
|
||||
},
|
||||
"listForAccount": {
|
||||
"type": "listSmall"
|
||||
},
|
||||
"listForContact": {
|
||||
"type": "listSmall"
|
||||
}
|
||||
},
|
||||
"kanbanViewMode": true,
|
||||
"relationshipPanels": {
|
||||
"contacts": {
|
||||
"createAttributeMap": {
|
||||
"accountId": "accountId",
|
||||
"accountName": "accountName"
|
||||
},
|
||||
"createHandler": "crm:handlers/opportunity/contacts-create",
|
||||
"selectHandler": "handlers/select-related/same-account-many"
|
||||
},
|
||||
"contact": {
|
||||
"createAttributeMap": {
|
||||
"accountId": "accountId",
|
||||
"accountName": "accountName"
|
||||
},
|
||||
"selectHandler": "handlers/select-related/same-account-many"
|
||||
},
|
||||
"documents": {
|
||||
"selectHandler": "handlers/select-related/same-account-many"
|
||||
}
|
||||
},
|
||||
"color": "#9fc77e",
|
||||
"iconClass": "fas fa-dollar-sign"
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"controller":"controllers/record",
|
||||
"boolFilterList":[
|
||||
"onlyMy"
|
||||
],
|
||||
"sidePanels":{
|
||||
"detail":[
|
||||
{
|
||||
"name":"optedOut",
|
||||
"label":"Opted Out",
|
||||
"view":"crm:views/target-list/record/panels/opted-out"
|
||||
}
|
||||
]
|
||||
},
|
||||
"views": {
|
||||
"list": "views/list-with-categories"
|
||||
},
|
||||
"recordViews":{
|
||||
"detail": "crm:views/target-list/record/detail"
|
||||
},
|
||||
"modalViews": {
|
||||
"select": "views/modals/select-records-with-categories"
|
||||
},
|
||||
"relationshipPanels":{
|
||||
"contacts":{
|
||||
"actionList":[
|
||||
{
|
||||
"label":"Unlink All",
|
||||
"action":"unlinkAllRelated",
|
||||
"acl":"edit",
|
||||
"data":{
|
||||
"link":"contacts"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rowActionsView":"crm:views/target-list/record/row-actions/default",
|
||||
"view":"crm:views/target-list/record/panels/relationship",
|
||||
"removeDisabled": true,
|
||||
"massSelect": true
|
||||
},
|
||||
"leads":{
|
||||
"actionList":[
|
||||
{
|
||||
"label":"Unlink All",
|
||||
"action":"unlinkAllRelated",
|
||||
"acl":"edit",
|
||||
"data":{
|
||||
"link":"leads"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rowActionsView":"crm:views/target-list/record/row-actions/default",
|
||||
"view":"crm:views/target-list/record/panels/relationship",
|
||||
"removeDisabled": true,
|
||||
"massSelect": true
|
||||
},
|
||||
"accounts":{
|
||||
"actionList":[
|
||||
{
|
||||
"label":"Unlink All",
|
||||
"action":"unlinkAllRelated",
|
||||
"acl":"edit",
|
||||
"data":{
|
||||
"link":"accounts"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rowActionsView":"crm:views/target-list/record/row-actions/default",
|
||||
"view":"crm:views/target-list/record/panels/relationship",
|
||||
"removeDisabled": true,
|
||||
"massSelect": true
|
||||
},
|
||||
"users":{
|
||||
"create":false,
|
||||
"actionList":[
|
||||
{
|
||||
"label":"Unlink All",
|
||||
"action":"unlinkAllRelated",
|
||||
"acl":"edit",
|
||||
"data":{
|
||||
"link":"users"
|
||||
}
|
||||
}
|
||||
],
|
||||
"rowActionsView":"crm:views/target-list/record/row-actions/default",
|
||||
"view":"crm:views/target-list/record/panels/relationship",
|
||||
"removeDisabled": true,
|
||||
"massSelect": true
|
||||
}
|
||||
},
|
||||
"iconClass":"fas fa-crosshairs"
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"controller": "controllers/record-tree",
|
||||
"collection": "collections/tree",
|
||||
"menu": {
|
||||
"listTree": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "List View",
|
||||
"link": "#TargetListCategory\/list",
|
||||
"acl": "read"
|
||||
},
|
||||
{
|
||||
"labelTranslation": "Global.scopeNamesPlural.TargetList",
|
||||
"link": "#TargetList",
|
||||
"acl": "read",
|
||||
"aclScope": "TargetList"
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Tree View",
|
||||
"link": "#TargetListCategory",
|
||||
"acl": "read"
|
||||
},
|
||||
{
|
||||
"labelTranslation": "Global.scopeNamesPlural.TargetList",
|
||||
"link": "#TargetList",
|
||||
"acl": "read",
|
||||
"aclScope": "TargetList"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"relationshipPanels": {
|
||||
"children": {
|
||||
"selectDisabled": true,
|
||||
"unlinkDisabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"controller": "crm:controllers/task",
|
||||
"recordViews": {
|
||||
"list": "crm:views/task/record/list",
|
||||
"detail": "crm:views/task/record/detail"
|
||||
},
|
||||
"views": {
|
||||
"list": "crm:views/task/list",
|
||||
"detail": "crm:views/task/detail"
|
||||
},
|
||||
"modalViews": {
|
||||
"detail": "crm:views/task/modals/detail"
|
||||
},
|
||||
"viewSetupHandlers": {
|
||||
"record/detail": [
|
||||
"__APPEND__",
|
||||
"crm:handlers/task/reminders-handler"
|
||||
],
|
||||
"record/edit": [
|
||||
"__APPEND__",
|
||||
"crm:handlers/task/reminders-handler"
|
||||
]
|
||||
},
|
||||
"menu": {
|
||||
"detail": {
|
||||
"buttons": [
|
||||
{
|
||||
"label": "Complete",
|
||||
"name": "setCompletedMain",
|
||||
"iconHtml": "<span class=\"fas fa-check fa-sm\"></span>",
|
||||
"acl": "edit",
|
||||
"handler": "crm:handlers/task/menu",
|
||||
"actionFunction": "complete",
|
||||
"checkVisibilityFunction": "isCompleteAvailable"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"modalDetailActionList": [
|
||||
{
|
||||
"name": "complete",
|
||||
"label": "Complete",
|
||||
"acl": "edit",
|
||||
"handler": "crm:handlers/task/detail-actions",
|
||||
"actionFunction": "complete",
|
||||
"checkVisibilityFunction": "isCompleteAvailable"
|
||||
}
|
||||
],
|
||||
"filterList": [
|
||||
"actual",
|
||||
{
|
||||
"name": "completed",
|
||||
"style": "success"
|
||||
},
|
||||
{
|
||||
"name": "todays"
|
||||
},
|
||||
{
|
||||
"name": "overdue",
|
||||
"style": "danger"
|
||||
},
|
||||
{
|
||||
"name": "deferred"
|
||||
}
|
||||
],
|
||||
"boolFilterList": [
|
||||
"onlyMy"
|
||||
],
|
||||
"iconClass": "fas fa-tasks",
|
||||
"kanbanViewMode": true
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"view":"crm:views/dashlets/activities",
|
||||
"options": {
|
||||
"view": "crm:views/dashlets/options/activities",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"enabledScopeList": {
|
||||
"type": "multiEnum",
|
||||
"translation": "Global.scopeNamesPlural",
|
||||
"required": true
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"futureDays": {
|
||||
"type": "int",
|
||||
"min": 0,
|
||||
"required": true
|
||||
},
|
||||
"includeShared": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"displayRecords": 10,
|
||||
"autorefreshInterval": 0.5,
|
||||
"futureDays": 3,
|
||||
"enabledScopeList": ["Meeting", "Call", "Task"],
|
||||
"includeShared": false
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
{"name": "enabledScopeList"}
|
||||
],
|
||||
[
|
||||
{"name": "futureDays"},
|
||||
{"name": "includeShared"}
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"accessDataList": [
|
||||
{
|
||||
"inPortalDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"view":"crm:views/dashlets/calendar",
|
||||
"aclScope": "Calendar",
|
||||
"options": {
|
||||
"view": "crm:views/dashlets/options/calendar",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"enabledScopeList": {
|
||||
"type": "multiEnum",
|
||||
"translation": "Global.scopeNamesPlural",
|
||||
"required": true
|
||||
},
|
||||
"mode": {
|
||||
"type": "enum",
|
||||
"options": ["basicWeek", "agendaWeek", "timeline", "month", "basicDay", "agendaDay"]
|
||||
},
|
||||
"users": {
|
||||
"type": "linkMultiple",
|
||||
"entity": "User",
|
||||
"view": "crm:views/calendar/fields/users",
|
||||
"sortable": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"entity": "Team",
|
||||
"view": "crm:views/calendar/fields/teams"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"autorefreshInterval": 0.5,
|
||||
"mode": "basicWeek",
|
||||
"enabledScopeList": ["Meeting", "Call", "Task"]
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "mode"},
|
||||
{"name": "enabledScopeList"}
|
||||
],
|
||||
[
|
||||
{"name": "users"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "teams"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"accessDataList": [
|
||||
{
|
||||
"inPortalDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"view":"crm:views/dashlets/calls",
|
||||
"aclScope": "Call",
|
||||
"entityType": "Call",
|
||||
"options": {
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"expandedLayout": {
|
||||
"type": "base",
|
||||
"view": "views/dashlets/fields/records/expanded-layout"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"orderBy": "dateStart",
|
||||
"order": "asc",
|
||||
"displayRecords": 5,
|
||||
"populateAssignedUser": true,
|
||||
"expandedLayout": {
|
||||
"rows": [
|
||||
[
|
||||
{
|
||||
"name": "name",
|
||||
"link": true
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "dateStart",
|
||||
"soft": true
|
||||
},
|
||||
{
|
||||
"name": "parent"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"searchData": {
|
||||
"bool": {
|
||||
"onlyMy": true
|
||||
},
|
||||
"primary": "planned",
|
||||
"advanced": {
|
||||
"1": {
|
||||
"type": "or",
|
||||
"value": {
|
||||
"1": {
|
||||
"type": "today",
|
||||
"field": "dateStart",
|
||||
"dateTime": true
|
||||
},
|
||||
"2": {
|
||||
"type": "future",
|
||||
"field": "dateEnd",
|
||||
"dateTime": true
|
||||
},
|
||||
"3": {
|
||||
"type": "lastXDays",
|
||||
"field": "dateStart",
|
||||
"value": 5,
|
||||
"dateTime": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "expandedLayout"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"accessDataList": [
|
||||
{
|
||||
"inPortalDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
{
|
||||
"view": "views/dashlets/abstract/record-list",
|
||||
"aclScope": "Case",
|
||||
"entityType": "Case",
|
||||
"options": {
|
||||
"view": "views/dashlets/options/record-list",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"expandedLayout": {
|
||||
"type": "base",
|
||||
"view": "views/dashlets/fields/records/expanded-layout"
|
||||
},
|
||||
"includeShared": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"orderBy": "number",
|
||||
"order": "desc",
|
||||
"displayRecords": 5,
|
||||
"populateAssignedUser": true,
|
||||
"includeShared": false,
|
||||
"expandedLayout": {
|
||||
"rows": [
|
||||
[
|
||||
{
|
||||
"name": "number"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"link": true
|
||||
},
|
||||
{
|
||||
"name": "type"
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "status"
|
||||
},
|
||||
{
|
||||
"name": "priority",
|
||||
"soft": true
|
||||
},
|
||||
{
|
||||
"name": "account"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"searchData": {
|
||||
"bool": {
|
||||
"onlyMy": true
|
||||
},
|
||||
"primary": "open"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
{"name": "includeShared"}
|
||||
],
|
||||
[
|
||||
{"name": "expandedLayout"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"view": "views/dashlets/abstract/record-list",
|
||||
"aclScope": "Lead",
|
||||
"entityType": "Lead",
|
||||
"options": {
|
||||
"view": "views/dashlets/options/record-list",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"expandedLayout": {
|
||||
"type": "base",
|
||||
"view": "views/dashlets/fields/records/expanded-layout"
|
||||
},
|
||||
"includeShared": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc",
|
||||
"displayRecords": 5,
|
||||
"populateAssignedUser": true,
|
||||
"includeShared": false,
|
||||
"expandedLayout": {
|
||||
"rows": [
|
||||
[
|
||||
{
|
||||
"name": "name",
|
||||
"link": true
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "status"
|
||||
},
|
||||
{
|
||||
"name": "source",
|
||||
"soft": true,
|
||||
"small": true
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"searchData": {
|
||||
"bool": {
|
||||
"onlyMy": true
|
||||
},
|
||||
"primary": "actual"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
{"name": "includeShared"}
|
||||
],
|
||||
[
|
||||
{"name": "expandedLayout"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"view":"crm:views/dashlets/meetings",
|
||||
"aclScope": "Meeting",
|
||||
"entityType": "Meeting",
|
||||
"options": {
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"expandedLayout": {
|
||||
"type": "base",
|
||||
"view": "views/dashlets/fields/records/expanded-layout"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"orderBy": "dateStart",
|
||||
"order": "asc",
|
||||
"displayRecords": 5,
|
||||
"populateAssignedUser": true,
|
||||
"expandedLayout": {
|
||||
"rows": [
|
||||
[
|
||||
{
|
||||
"name": "name",
|
||||
"link": true
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "dateStart",
|
||||
"soft": true
|
||||
},
|
||||
{
|
||||
"name": "parent"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"searchData": {
|
||||
"bool": {
|
||||
"onlyMy": true
|
||||
},
|
||||
"primary": "planned",
|
||||
"advanced": {
|
||||
"1": {
|
||||
"type": "or",
|
||||
"value": {
|
||||
"1": {
|
||||
"type": "today",
|
||||
"field": "dateStart",
|
||||
"dateTime": true
|
||||
},
|
||||
"2": {
|
||||
"type": "future",
|
||||
"field": "dateEnd",
|
||||
"dateTime": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "expandedLayout"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"accessDataList": [
|
||||
{
|
||||
"inPortalDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"view": "views/dashlets/abstract/record-list",
|
||||
"aclScope": "Opportunity",
|
||||
"entityType": "Opportunity",
|
||||
"options": {
|
||||
"view": "views/dashlets/options/record-list",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"expandedLayout": {
|
||||
"type": "base",
|
||||
"view": "views/dashlets/fields/records/expanded-layout"
|
||||
},
|
||||
"includeShared": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"orderBy": "closeDate",
|
||||
"order": "asc",
|
||||
"displayRecords": 5,
|
||||
"populateAssignedUser": true,
|
||||
"includeShared": false,
|
||||
"expandedLayout": {
|
||||
"rows": [
|
||||
[
|
||||
{
|
||||
"name": "name",
|
||||
"link": true
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "stage"
|
||||
},
|
||||
{
|
||||
"name": "amount"
|
||||
},
|
||||
{
|
||||
"name": "closeDate",
|
||||
"soft": true
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"searchData": {
|
||||
"bool": {
|
||||
"onlyMy": true
|
||||
},
|
||||
"primary": "open"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
{"name": "includeShared"}
|
||||
],
|
||||
[
|
||||
{"name": "expandedLayout"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"view":"crm:views/dashlets/opportunities-by-lead-source",
|
||||
"aclScope": "Opportunity",
|
||||
"options": {
|
||||
"view": "crm:views/dashlets/options/chart",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"dateFrom": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"dateTo": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"dateFilter": {
|
||||
"type": "enum",
|
||||
"options": ["currentYear", "currentQuarter", "currentMonth", "currentFiscalYear", "currentFiscalQuarter", "ever", "between"],
|
||||
"default": "currentYear",
|
||||
"translation": "Global.options.dateSearchRanges"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "dateFilter"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "dateFrom"},
|
||||
{"name": "dateTo"}
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaults": {
|
||||
"dateFilter": "currentYear"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"view":"crm:views/dashlets/opportunities-by-stage",
|
||||
"aclScope": "Opportunity",
|
||||
"options": {
|
||||
"view": "crm:views/dashlets/options/chart",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"dateFrom": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"dateTo": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"dateFilter": {
|
||||
"type": "enum",
|
||||
"options": ["currentYear", "currentQuarter", "currentMonth", "currentFiscalYear", "currentFiscalQuarter", "ever", "between"],
|
||||
"default": "currentYear",
|
||||
"translation": "Global.options.dateSearchRanges"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "dateFilter"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "dateFrom"},
|
||||
{"name": "dateTo"}
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaults": {
|
||||
"dateFilter": "currentYear"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"view":"crm:views/dashlets/sales-by-month",
|
||||
"aclScope": "Opportunity",
|
||||
"options": {
|
||||
"view": "crm:views/dashlets/options/chart",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"dateFrom": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"dateTo": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"dateFilter": {
|
||||
"type": "enum",
|
||||
"options": ["currentYear", "currentQuarter", "currentFiscalYear", "currentFiscalQuarter", "between"],
|
||||
"default": "currentYear",
|
||||
"translation": "Global.options.dateSearchRanges"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "dateFilter"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "dateFrom"},
|
||||
{"name": "dateTo"}
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaults": {
|
||||
"dateFilter": "currentYear"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"view":"crm:views/dashlets/sales-pipeline",
|
||||
"aclScope": "Opportunity",
|
||||
"options": {
|
||||
"view": "crm:views/dashlets/options/sales-pipeline",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"dateFrom": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"dateTo": {
|
||||
"type": "date",
|
||||
"required": true
|
||||
},
|
||||
"dateFilter": {
|
||||
"type": "enum",
|
||||
"options": ["currentYear", "currentQuarter", "currentMonth", "currentFiscalYear", "currentFiscalQuarter", "ever", "between"],
|
||||
"default": "currentYear",
|
||||
"translation": "Global.options.dateSearchRanges"
|
||||
},
|
||||
"useLastStage": {
|
||||
"type": "bool"
|
||||
},
|
||||
"team": {
|
||||
"type": "link",
|
||||
"entity": "Team",
|
||||
"view": "crm:views/dashlets/options/sales-pipeline/fields/team"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
false
|
||||
],
|
||||
[
|
||||
{"name": "dateFilter"},
|
||||
{"name": "useLastStage"}
|
||||
],
|
||||
[
|
||||
{"name": "dateFrom"},
|
||||
{"name": "dateTo"}
|
||||
],
|
||||
[
|
||||
{"name": "team"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"defaults": {
|
||||
"dateFilter": "currentYear",
|
||||
"teamId": null,
|
||||
"teamName": null
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"view": "crm:views/dashlets/tasks",
|
||||
"aclScope": "Task",
|
||||
"entityType": "Task",
|
||||
"options": {
|
||||
"view": "views/dashlets/options/record-list",
|
||||
"fields": {
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"autorefreshInterval": {
|
||||
"type": "enumFloat",
|
||||
"options": [0, 0.5, 1, 2, 5, 10]
|
||||
},
|
||||
"displayRecords": {
|
||||
"type": "int",
|
||||
"min": 1,
|
||||
"max": 20
|
||||
},
|
||||
"expandedLayout": {
|
||||
"type": "base",
|
||||
"view": "views/dashlets/fields/records/expanded-layout"
|
||||
},
|
||||
"includeShared": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"orderBy": "dateUpcoming",
|
||||
"order": "asc",
|
||||
"displayRecords": 5,
|
||||
"includeShared": false,
|
||||
"expandedLayout": {
|
||||
"rows": [
|
||||
[
|
||||
{
|
||||
"name": "name",
|
||||
"link": true
|
||||
}
|
||||
],
|
||||
[
|
||||
{
|
||||
"name": "status"
|
||||
},
|
||||
{
|
||||
"name": "dateEnd",
|
||||
"soft": true
|
||||
},
|
||||
{
|
||||
"name": "parent"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"searchData": {
|
||||
"bool": {
|
||||
"onlyMy": true
|
||||
},
|
||||
"primary": "actualStartingNotInFuture"
|
||||
}
|
||||
},
|
||||
"layout": [
|
||||
{
|
||||
"rows": [
|
||||
[
|
||||
{"name": "title"},
|
||||
{"name": "autorefreshInterval"}
|
||||
],
|
||||
[
|
||||
{"name": "displayRecords"},
|
||||
{"name": "includeShared"}
|
||||
],
|
||||
[
|
||||
{"name": "expandedLayout"},
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"accessDataList": [
|
||||
{
|
||||
"inPortalDisabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"fields": {
|
||||
"inboundEmail": {
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"inboundEmail": {
|
||||
"readOnly": true
|
||||
},
|
||||
"collaborators": {
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"fields": {
|
||||
"inboundEmail": {
|
||||
"readOnly": true
|
||||
},
|
||||
"portalUser": {
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"fields": {
|
||||
"tasks": {
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"tasks": {
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"fields": {
|
||||
"order": {
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"fields": {
|
||||
"email": {
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"collaborators": {
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,377 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"maxLength": 249,
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters",
|
||||
"audited": true
|
||||
},
|
||||
"website": {
|
||||
"type": "url",
|
||||
"strip": true
|
||||
},
|
||||
"emailAddress": {
|
||||
"type": "email",
|
||||
"isPersonalData": true
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "phone",
|
||||
"typeList": ["Office", "Mobile", "Fax", "Other"],
|
||||
"defaultType": "Office"
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"options": ["", "Customer", "Investor", "Partner", "Reseller"],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"industry": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"",
|
||||
"Advertising",
|
||||
"Aerospace",
|
||||
"Agriculture",
|
||||
"Apparel & Accessories",
|
||||
"Architecture",
|
||||
"Automotive",
|
||||
"Banking",
|
||||
"Biotechnology",
|
||||
"Building Materials & Equipment",
|
||||
"Chemical",
|
||||
"Construction",
|
||||
"Consulting",
|
||||
"Computer",
|
||||
"Culture",
|
||||
"Creative",
|
||||
"Defense",
|
||||
"Education",
|
||||
"Electronics",
|
||||
"Electric Power",
|
||||
"Energy",
|
||||
"Entertainment & Leisure",
|
||||
"Finance",
|
||||
"Food & Beverage",
|
||||
"Grocery",
|
||||
"Healthcare",
|
||||
"Hospitality",
|
||||
"Insurance",
|
||||
"Legal",
|
||||
"Manufacturing",
|
||||
"Mass Media",
|
||||
"Marketing",
|
||||
"Mining",
|
||||
"Music",
|
||||
"Publishing",
|
||||
"Petroleum",
|
||||
"Real Estate",
|
||||
"Retail",
|
||||
"Service",
|
||||
"Sports",
|
||||
"Software",
|
||||
"Support",
|
||||
"Shipping",
|
||||
"Travel",
|
||||
"Technology",
|
||||
"Telecommunications",
|
||||
"Television",
|
||||
"Transportation",
|
||||
"Testing, Inspection & Certification",
|
||||
"Venture Capital",
|
||||
"Wholesale",
|
||||
"Water"
|
||||
],
|
||||
"isSorted": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"sicCode": {
|
||||
"type": "varchar",
|
||||
"maxLength": 40,
|
||||
"pattern": "$noBadCharacters",
|
||||
"noSpellCheck": true
|
||||
},
|
||||
"contactRole": {
|
||||
"type": "varchar",
|
||||
"notStorable": true,
|
||||
"utility": true,
|
||||
"orderDisabled": true,
|
||||
"maxLength": 100,
|
||||
"pattern": "$noBadCharacters",
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutSearchDisabled": true,
|
||||
"fieldManagerParamList": [
|
||||
"pattern"
|
||||
]
|
||||
},
|
||||
"contactIsInactive": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"default": false,
|
||||
"utility": true
|
||||
},
|
||||
"billingAddress": {
|
||||
"type": "address"
|
||||
},
|
||||
"billingAddressStreet": {
|
||||
"type": "text",
|
||||
"maxLength": 255,
|
||||
"dbType": "varchar"
|
||||
},
|
||||
"billingAddressCity": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"billingAddressState": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"billingAddressCountry": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"billingAddressPostalCode": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"shippingAddress": {
|
||||
"type": "address",
|
||||
"view": "crm:views/account/fields/shipping-address"
|
||||
},
|
||||
"shippingAddressStreet": {
|
||||
"type": "text",
|
||||
"maxLength": 255,
|
||||
"dbType": "varchar"
|
||||
},
|
||||
"shippingAddressCity": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"shippingAddressState": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"shippingAddressCountry": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"shippingAddressPostalCode": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"campaign": {
|
||||
"type": "link"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "linkMultiple",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"importDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"noLoad": true
|
||||
},
|
||||
"targetList": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"entity": "TargetList",
|
||||
"directAccessDisabled": true
|
||||
},
|
||||
"originalLead": {
|
||||
"type": "linkOne",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/link-one"
|
||||
},
|
||||
"targetListIsOptedOut": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"readOnly": true,
|
||||
"utility": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "accounts",
|
||||
"columnAttributeMap": {
|
||||
"role": "contactRole",
|
||||
"isInactive": "contactIsInactive"
|
||||
}
|
||||
},
|
||||
"contactsPrimary": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "account",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"opportunities": {
|
||||
"type": "hasMany",
|
||||
"entity": "Opportunity",
|
||||
"foreign": "account"
|
||||
},
|
||||
"cases": {
|
||||
"type": "hasMany",
|
||||
"entity": "Case",
|
||||
"foreign": "account"
|
||||
},
|
||||
"documents": {
|
||||
"type": "hasMany",
|
||||
"entity": "Document",
|
||||
"foreign": "accounts",
|
||||
"audited": true
|
||||
},
|
||||
"meetingsPrimary": {
|
||||
"type": "hasMany",
|
||||
"entity": "Meeting",
|
||||
"foreign": "account",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"emailsPrimary": {
|
||||
"type": "hasMany",
|
||||
"entity": "Email",
|
||||
"foreign": "account",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"callsPrimary": {
|
||||
"type": "hasMany",
|
||||
"entity": "Call",
|
||||
"foreign": "account",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"tasksPrimary": {
|
||||
"type": "hasMany",
|
||||
"entity": "Task",
|
||||
"foreign": "account",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"meetings": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Meeting",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"calls": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Call",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"tasks": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Task",
|
||||
"foreign": "parent"
|
||||
},
|
||||
"emails": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Email",
|
||||
"foreign": "parent",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"campaign": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Campaign",
|
||||
"foreign": "accounts"
|
||||
},
|
||||
"campaignLogRecords": {
|
||||
"type": "hasChildren",
|
||||
"entity": "CampaignLogRecord",
|
||||
"foreign": "parent"
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "accounts",
|
||||
"columnAttributeMap": {
|
||||
"optedOut": "targetListIsOptedOut"
|
||||
}
|
||||
},
|
||||
"portalUsers": {
|
||||
"type": "hasMany",
|
||||
"entity": "User",
|
||||
"foreign": "accounts"
|
||||
},
|
||||
"originalLead": {
|
||||
"type": "hasOne",
|
||||
"entity": "Lead",
|
||||
"foreign": "createdAccount"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc",
|
||||
"textFilterFields": ["name", "emailAddress"]
|
||||
},
|
||||
"indexes": {
|
||||
"createdAt": {
|
||||
"columns": ["createdAt", "deleted"]
|
||||
},
|
||||
"createdAtId": {
|
||||
"unique": true,
|
||||
"columns": ["createdAt", "id"]
|
||||
},
|
||||
"name": {
|
||||
"columns": ["name", "deleted"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
}
|
||||
},
|
||||
"optimisticConcurrencyControl": true
|
||||
}
|
||||
@@ -0,0 +1,434 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": ["Planned", "Held", "Not Held"],
|
||||
"default": "Planned",
|
||||
"style": {
|
||||
"Held": "success",
|
||||
"Not Held": "info"
|
||||
},
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"audited": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"dateStart": {
|
||||
"type": "datetime",
|
||||
"required": true,
|
||||
"default": "javascript: return this.dateTime.getNow(15);",
|
||||
"audited": true,
|
||||
"view": "crm:views/call/fields/date-start"
|
||||
},
|
||||
"dateEnd": {
|
||||
"type": "datetime",
|
||||
"required": true,
|
||||
"after": "dateStart",
|
||||
"afterOrEqual": true
|
||||
},
|
||||
"duration": {
|
||||
"type": "duration",
|
||||
"start": "dateStart",
|
||||
"end": "dateEnd",
|
||||
"options": [300, 600, 900, 1800, 2700, 3600, 7200],
|
||||
"default": 300,
|
||||
"notStorable": true,
|
||||
"select": {
|
||||
"select": "TIMESTAMPDIFF_SECOND:(dateStart, dateEnd)"
|
||||
},
|
||||
"order": {
|
||||
"order": [
|
||||
["TIMESTAMPDIFF_SECOND:(dateStart, dateEnd)", "{direction}"]
|
||||
]
|
||||
}
|
||||
},
|
||||
"reminders": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"view": "crm:views/meeting/fields/reminders",
|
||||
"layoutListDisabled": true,
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\Valid",
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\MaxCount"
|
||||
],
|
||||
"dynamicLogicDisabled": true,
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"direction": {
|
||||
"type": "enum",
|
||||
"options": ["Outbound", "Inbound"],
|
||||
"default": "Outbound"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"parent": {
|
||||
"type": "linkParent",
|
||||
"entityList": ["Account", "Lead", "Contact", "Opportunity", "Case"]
|
||||
},
|
||||
"account": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"uid": {
|
||||
"type": "varchar",
|
||||
"maxLength": 255,
|
||||
"index": true,
|
||||
"readOnly": true,
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"acceptanceStatus": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"options": ["None", "Accepted", "Tentative", "Declined"],
|
||||
"style": {
|
||||
"Accepted": "success",
|
||||
"Declined": "danger",
|
||||
"Tentative": "warning"
|
||||
},
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"orderDisabled": true,
|
||||
"importDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"customizationDefaultDisabled": true,
|
||||
"customizationRequiredDisabled": true,
|
||||
"customizationIsSortedDisabled": true,
|
||||
"customizationReadOnlyDisabled": true,
|
||||
"customizationAuditedDisabled": true,
|
||||
"customizationOptionsReferenceDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"where": {
|
||||
"=": {
|
||||
"whereClause": {
|
||||
"OR": [
|
||||
{
|
||||
"id=s": {
|
||||
"from": "CallContact",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id=s": {
|
||||
"from": "CallLead",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id=s": {
|
||||
"from": "CallUser",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"<>": {
|
||||
"whereClause": {
|
||||
"AND": [
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "CallContact",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "CallLead",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "CallUser",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"IN": {
|
||||
"whereClause": {
|
||||
"OR": [
|
||||
{
|
||||
"id=s": {
|
||||
"from": "CallContact",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id=s": {
|
||||
"from": "CallLead",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id=s": {
|
||||
"from": "CallUser",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"NOT IN": {
|
||||
"whereClause": {
|
||||
"AND": [
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "CallContact",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "CallLead",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "CallUser",
|
||||
"select": ["callId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"view": "crm:views/meeting/fields/acceptance-status"
|
||||
},
|
||||
"users": {
|
||||
"type": "linkMultiple",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"view": "crm:views/meeting/fields/users",
|
||||
"columns": {
|
||||
"status": "acceptanceStatus"
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"orderBy": "name",
|
||||
"duplicatorClassName": "Espo\\Modules\\Crm\\Classes\\FieldDuplicators\\Meeting\\Attendees",
|
||||
"audited": true
|
||||
},
|
||||
"contacts": {
|
||||
"type": "linkMultiple",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"view": "crm:views/call/fields/contacts",
|
||||
"columns": {
|
||||
"status": "acceptanceStatus"
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"orderBy": "name",
|
||||
"duplicatorClassName": "Espo\\Modules\\Crm\\Classes\\FieldDuplicators\\Meeting\\Attendees",
|
||||
"audited": true
|
||||
},
|
||||
"leads": {
|
||||
"type": "linkMultiple",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"view": "crm:views/call/fields/leads",
|
||||
"columns": {
|
||||
"status": "acceptanceStatus"
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"orderBy": "name",
|
||||
"duplicatorClassName": "Espo\\Modules\\Crm\\Classes\\FieldDuplicators\\Meeting\\Attendees",
|
||||
"audited": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"phoneNumbersMap": {
|
||||
"type": "jsonObject",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"utility": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"required": true,
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"account": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Account"
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"users": {
|
||||
"type": "hasMany",
|
||||
"entity": "User",
|
||||
"foreign": "calls",
|
||||
"additionalColumns": {
|
||||
"status": {
|
||||
"type": "varchar",
|
||||
"len": "36",
|
||||
"default": "None"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "calls",
|
||||
"additionalColumns": {
|
||||
"status": {
|
||||
"type": "varchar",
|
||||
"len": "36",
|
||||
"default": "None"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"leads": {
|
||||
"type": "hasMany",
|
||||
"entity": "Lead",
|
||||
"foreign": "calls",
|
||||
"additionalColumns": {
|
||||
"status": {
|
||||
"type": "varchar",
|
||||
"len": "36",
|
||||
"default": "None"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsToParent",
|
||||
"foreign": "calls"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "dateStart",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"dateStartStatus": {
|
||||
"columns": ["dateStart", "status"]
|
||||
},
|
||||
"dateStart": {
|
||||
"columns": ["dateStart", "deleted"]
|
||||
},
|
||||
"status": {
|
||||
"columns": ["status", "deleted"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
},
|
||||
"assignedUserStatus": {
|
||||
"columns": ["assignedUserId", "status"]
|
||||
}
|
||||
},
|
||||
"repositoryClassName": "Espo\\Core\\Repositories\\Event"
|
||||
}
|
||||
@@ -0,0 +1,357 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Planning",
|
||||
"Active",
|
||||
"Inactive",
|
||||
"Complete"
|
||||
],
|
||||
"default": "Planning",
|
||||
"style": {
|
||||
"Active": "primary",
|
||||
"Inactive": "info",
|
||||
"Complete": "success"
|
||||
},
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"customizationOptionsDisabled": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Email",
|
||||
"Newsletter",
|
||||
"Informational Email",
|
||||
"Web",
|
||||
"Television",
|
||||
"Radio",
|
||||
"Mail"
|
||||
],
|
||||
"default": "Email",
|
||||
"maxLength": 64,
|
||||
"customizationOptionsDisabled": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"startDate": {
|
||||
"type": "date",
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Campaign\\StartDate\\BeforeEndDate"
|
||||
]
|
||||
},
|
||||
"endDate": {
|
||||
"type": "date",
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Campaign\\EndDate\\AfterStartDate"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"excludingTargetLists": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"sentCount": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"openedCount": {
|
||||
"view": "crm:views/campaign/fields/int-with-percentage",
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"clickedCount": {
|
||||
"view": "crm:views/campaign/fields/int-with-percentage",
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"optedInCount": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"optedOutCount": {
|
||||
"view": "crm:views/campaign/fields/int-with-percentage",
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"bouncedCount": {
|
||||
"view": "crm:views/campaign/fields/int-with-percentage",
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"hardBouncedCount": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"softBouncedCount": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"leadCreatedCount": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"openedPercentage": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"utility": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"clickedPercentage": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"utility": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"optedOutPercentage": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"utility": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"bouncedPercentage": {
|
||||
"type": "int",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"utility": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"revenue": {
|
||||
"type": "currency",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"readOnly": true,
|
||||
"loaderClassName": "Espo\\Modules\\Crm\\Classes\\FieldProcessing\\Campaign\\StatsLoader"
|
||||
},
|
||||
"budget": {
|
||||
"type": "currency"
|
||||
},
|
||||
"contactsTemplate": {
|
||||
"type": "link",
|
||||
"view": "crm:views/campaign/fields/template",
|
||||
"targetEntityType": "Contact"
|
||||
},
|
||||
"leadsTemplate": {
|
||||
"type": "link",
|
||||
"view": "crm:views/campaign/fields/template",
|
||||
"targetEntityType": "Lead"
|
||||
},
|
||||
"accountsTemplate": {
|
||||
"type": "link",
|
||||
"view": "crm:views/campaign/fields/template",
|
||||
"targetEntityType": "Account"
|
||||
},
|
||||
"usersTemplate": {
|
||||
"type": "link",
|
||||
"view": "crm:views/campaign/fields/template",
|
||||
"targetEntityType": "User"
|
||||
},
|
||||
"mailMergeOnlyWithAddress": {
|
||||
"type": "bool",
|
||||
"default": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "campaigns"
|
||||
},
|
||||
"excludingTargetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "campaignsExcluding",
|
||||
"relationName": "campaignTargetListExcluding"
|
||||
},
|
||||
"accounts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Account",
|
||||
"foreign": "campaign"
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "campaign"
|
||||
},
|
||||
"leads": {
|
||||
"type": "hasMany",
|
||||
"entity": "Lead",
|
||||
"foreign": "campaign"
|
||||
},
|
||||
"opportunities": {
|
||||
"type": "hasMany",
|
||||
"entity": "Opportunity",
|
||||
"foreign": "campaign"
|
||||
},
|
||||
"campaignLogRecords": {
|
||||
"type": "hasMany",
|
||||
"entity": "CampaignLogRecord",
|
||||
"foreign": "campaign"
|
||||
},
|
||||
"trackingUrls": {
|
||||
"type": "hasMany",
|
||||
"entity": "CampaignTrackingUrl",
|
||||
"foreign": "campaign"
|
||||
},
|
||||
"massEmails": {
|
||||
"type": "hasMany",
|
||||
"entity": "MassEmail",
|
||||
"foreign": "campaign"
|
||||
},
|
||||
"contactsTemplate": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Template",
|
||||
"noJoin": true
|
||||
},
|
||||
"leadsTemplate": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Template",
|
||||
"noJoin": true
|
||||
},
|
||||
"accountsTemplate": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Template",
|
||||
"noJoin": true
|
||||
},
|
||||
"usersTemplate": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Template",
|
||||
"noJoin": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"createdAt": {
|
||||
"columns": ["createdAt", "deleted"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"fields": {
|
||||
"action": {
|
||||
"type": "enum",
|
||||
"required": true,
|
||||
"maxLength": 50,
|
||||
"options": ["Sent", "Opened", "Opted Out", "Bounced", "Clicked", "Opted In", "Lead Created"]
|
||||
},
|
||||
"actionDate": {
|
||||
"type": "datetime",
|
||||
"required": true
|
||||
},
|
||||
"data": {
|
||||
"type": "jsonObject",
|
||||
"view": "crm:views/campaign-log-record/fields/data"
|
||||
},
|
||||
"stringData": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100
|
||||
},
|
||||
"stringAdditionalData": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100
|
||||
},
|
||||
"application": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"maxLength": 36,
|
||||
"default": "Espo"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"campaign": {
|
||||
"type": "link"
|
||||
},
|
||||
"parent": {
|
||||
"type": "linkParent"
|
||||
},
|
||||
"object": {
|
||||
"type": "linkParent"
|
||||
},
|
||||
"queueItem": {
|
||||
"type": "link"
|
||||
},
|
||||
"isTest": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"campaign": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Campaign",
|
||||
"foreign": "campaignLogRecords"
|
||||
},
|
||||
"queueItem": {
|
||||
"type": "belongsTo",
|
||||
"entity": "EmailQueueItem",
|
||||
"noJoin": true
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsToParent",
|
||||
"entityList": ["Account", "Contact", "Lead", "Opportunity", "User"]
|
||||
},
|
||||
"object": {
|
||||
"type": "belongsToParent",
|
||||
"entityList": ["Email", "CampaignTrackingUrl"]
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"textFilterFields": ["queueItem.id", "queueItem.emailAddress"],
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"actionDate": {
|
||||
"columns": ["actionDate", "deleted"]
|
||||
},
|
||||
"action": {
|
||||
"columns": ["action", "deleted"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"url": {
|
||||
"type": "url",
|
||||
"tooltip": true
|
||||
},
|
||||
"urlToUse": {
|
||||
"type": "varchar",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"readOnly": true,
|
||||
"copyToClipboard": true
|
||||
},
|
||||
"campaign": {
|
||||
"type": "link",
|
||||
"readOnlyAfterCreate": true
|
||||
},
|
||||
"action": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Redirect",
|
||||
"Show Message"
|
||||
],
|
||||
"default": "Redirect",
|
||||
"maxLength": 12
|
||||
},
|
||||
"message": {
|
||||
"type": "text",
|
||||
"tooltip": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"campaign": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Campaign",
|
||||
"foreign": "trackingUrls"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "name",
|
||||
"order": "asc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,225 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"number": {
|
||||
"type": "autoincrement",
|
||||
"index": true
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": ["New", "Assigned", "Pending", "Closed", "Rejected", "Duplicate"],
|
||||
"default": "New",
|
||||
"style": {
|
||||
"Closed": "success",
|
||||
"Assigned": "primary",
|
||||
"Duplicate": "info",
|
||||
"Pending": "warning",
|
||||
"Rejected": "info"
|
||||
},
|
||||
"audited": true,
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"fieldManagerAdditionalParamList": [
|
||||
{
|
||||
"name": "notActualOptions",
|
||||
"view": "views/admin/field-manager/fields/not-actual-options"
|
||||
}
|
||||
],
|
||||
"notActualOptions": ["Closed", "Rejected", "Duplicate"],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"priority": {
|
||||
"type": "enum",
|
||||
"options": ["Low", "Normal", "High", "Urgent"],
|
||||
"default": "Normal",
|
||||
"displayAsLabel": true,
|
||||
"style": {
|
||||
"High": "warning",
|
||||
"Urgent": "danger"
|
||||
},
|
||||
"audited": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"options": ["", "Question", "Incident", "Problem"],
|
||||
"audited": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text",
|
||||
"preview": true,
|
||||
"attachmentField": "attachments",
|
||||
"cutHeight": 500
|
||||
},
|
||||
"account": {
|
||||
"type": "link"
|
||||
},
|
||||
"lead": {
|
||||
"type": "link"
|
||||
},
|
||||
"contact": {
|
||||
"type": "link"
|
||||
},
|
||||
"contacts": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/link-multiple-with-primary",
|
||||
"orderBy": "name",
|
||||
"detailLayoutIncompatibleFieldList": ["contact"],
|
||||
"primaryLink": "contact"
|
||||
},
|
||||
"inboundEmail": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"originalEmail": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"entity": "Email",
|
||||
"customizationDisabled": true,
|
||||
"layoutAvailabilityList": [],
|
||||
"directAccessDisabled": true
|
||||
},
|
||||
"isInternal": {
|
||||
"type": "bool"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"attachments": {
|
||||
"type": "attachmentMultiple"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"inboundEmail": {
|
||||
"type": "belongsTo",
|
||||
"entity": "InboundEmail"
|
||||
},
|
||||
"account": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Account",
|
||||
"foreign": "cases",
|
||||
"deferredLoad": true
|
||||
},
|
||||
"lead": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Lead",
|
||||
"foreign": "cases",
|
||||
"deferredLoad": true
|
||||
},
|
||||
"contact": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Contact",
|
||||
"foreign": "casesPrimary",
|
||||
"deferredLoad": true
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "cases",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"meetings": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Meeting",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"calls": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Call",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"tasks": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Task",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"emails": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Email",
|
||||
"foreign": "parent",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"articles": {
|
||||
"type": "hasMany",
|
||||
"entity": "KnowledgeBaseArticle",
|
||||
"foreign": "cases",
|
||||
"audited": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "number",
|
||||
"order": "desc",
|
||||
"textFilterFields": ["name", "number", "description"],
|
||||
"fullTextSearch": true
|
||||
},
|
||||
"indexes": {
|
||||
"status": {
|
||||
"columns": ["status", "deleted"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
},
|
||||
"assignedUserStatus": {
|
||||
"columns": ["assignedUserId", "status"]
|
||||
}
|
||||
},
|
||||
"optimisticConcurrencyControl": true
|
||||
}
|
||||
@@ -0,0 +1,723 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "personName",
|
||||
"isPersonalData": true
|
||||
},
|
||||
"salutationName": {
|
||||
"type": "enum",
|
||||
"options": ["", "Mr.", "Ms.", "Mrs.", "Dr."]
|
||||
},
|
||||
"firstName": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100
|
||||
},
|
||||
"lastName": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100,
|
||||
"required": true
|
||||
},
|
||||
"accountAnyId": {
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"customizationDisabled": true,
|
||||
"utility": true,
|
||||
"type": "varchar",
|
||||
"where": {
|
||||
"=": {
|
||||
"whereClause": {
|
||||
"id=s": {
|
||||
"from": "AccountContact",
|
||||
"select": ["contactId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"accountId": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"<>": {
|
||||
"whereClause": {
|
||||
"id!=s": {
|
||||
"from": "AccountContact",
|
||||
"select": ["contactId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"accountId": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"IN": {
|
||||
"whereClause": {
|
||||
"id=s": {
|
||||
"from": "AccountContact",
|
||||
"select": ["contactId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"accountId": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NOT IN": {
|
||||
"whereClause": {
|
||||
"id!=s": {
|
||||
"from": "AccountContact",
|
||||
"select": ["contactId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"accountId": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"IS NULL": {
|
||||
"whereClause": {
|
||||
"accountId": null
|
||||
}
|
||||
},
|
||||
"IS NOT NULL": {
|
||||
"whereClause": {
|
||||
"accountId!=": null
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100,
|
||||
"view": "crm:views/contact/fields/title",
|
||||
"directUpdateDisabled": true,
|
||||
"notStorable": true,
|
||||
"select": {
|
||||
"select": "accountContactPrimary.role",
|
||||
"leftJoins": [
|
||||
[
|
||||
"AccountContact",
|
||||
"accountContactPrimary",
|
||||
{
|
||||
"contact.id:": "accountContactPrimary.contactId",
|
||||
"contact.accountId:": "accountContactPrimary.accountId",
|
||||
"accountContactPrimary.deleted": false
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"order": {
|
||||
"order": [
|
||||
["accountContactPrimary.role", "{direction}"]
|
||||
],
|
||||
"leftJoins": [
|
||||
[
|
||||
"AccountContact",
|
||||
"accountContactPrimary",
|
||||
{
|
||||
"contact.id:": "accountContactPrimary.contactId",
|
||||
"contact.accountId:": "accountContactPrimary.accountId",
|
||||
"accountContactPrimary.deleted": false
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"where": {
|
||||
"LIKE": {
|
||||
"whereClause": {
|
||||
"id=s": {
|
||||
"from": "AccountContact",
|
||||
"select": ["contactId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"role*": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"NOT LIKE": {
|
||||
"whereClause": {
|
||||
"id!=s": {
|
||||
"from": "AccountContact",
|
||||
"select": ["contactId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"role*": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"=": {
|
||||
"whereClause": {
|
||||
"id=s": {
|
||||
"from": "AccountContact",
|
||||
"select": ["contactId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"role": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"<>": {
|
||||
"whereClause": {
|
||||
"id!=s": {
|
||||
"from": "AccountContact",
|
||||
"select": ["contactId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"role": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"IS NULL": {
|
||||
"whereClause": {
|
||||
"NOT": {
|
||||
"EXISTS": {
|
||||
"from": "Contact",
|
||||
"fromAlias": "sq",
|
||||
"select": ["id"],
|
||||
"leftJoins": [
|
||||
[
|
||||
"accounts",
|
||||
"m",
|
||||
{},
|
||||
{"onlyMiddle": true}
|
||||
]
|
||||
],
|
||||
"whereClause": {
|
||||
"AND": [
|
||||
{"m.role!=": null},
|
||||
{"m.role!=": ""},
|
||||
{"sq.id:": "contact.id"}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"IS NOT NULL": {
|
||||
"whereClause": {
|
||||
"EXISTS": {
|
||||
"from": "Contact",
|
||||
"fromAlias": "sq",
|
||||
"select": ["id"],
|
||||
"leftJoins": [
|
||||
[
|
||||
"accounts",
|
||||
"m",
|
||||
{},
|
||||
{"onlyMiddle": true}
|
||||
]
|
||||
],
|
||||
"whereClause": {
|
||||
"AND": [
|
||||
{"m.role!=": null},
|
||||
{"m.role!=": ""},
|
||||
{"sq.id:": "contact.id"}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"customizationOptionsDisabled": true,
|
||||
"textFilterDisabled": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"emailAddress": {
|
||||
"type": "email",
|
||||
"isPersonalData": true
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "phone",
|
||||
"typeList": ["Mobile", "Office", "Home", "Fax", "Other"],
|
||||
"defaultType": "Mobile",
|
||||
"isPersonalData": true
|
||||
},
|
||||
"doNotCall": {
|
||||
"type": "bool"
|
||||
},
|
||||
"address": {
|
||||
"type": "address",
|
||||
"isPersonalData": true
|
||||
},
|
||||
"addressStreet": {
|
||||
"type": "text",
|
||||
"maxLength": 255,
|
||||
"dbType": "varchar"
|
||||
},
|
||||
"addressCity": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressState": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressCountry": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressPostalCode": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"account": {
|
||||
"type": "link",
|
||||
"view": "crm:views/contact/fields/account"
|
||||
},
|
||||
"accounts": {
|
||||
"type": "linkMultiple",
|
||||
"view": "crm:views/contact/fields/accounts",
|
||||
"columns": {
|
||||
"role": "contactRole",
|
||||
"isInactive": "contactIsInactive"
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"orderBy": "name",
|
||||
"detailLayoutIncompatibleFieldList": ["account"]
|
||||
},
|
||||
"accountRole": {
|
||||
"type": "varchar",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"layoutAvailabilityList": ["listForAccount"],
|
||||
"exportDisabled": true,
|
||||
"importDisabled": true,
|
||||
"view": "crm:views/contact/fields/account-role",
|
||||
"customizationOptionsDisabled": true,
|
||||
"textFilterDisabled": true
|
||||
},
|
||||
"accountIsInactive": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"mergeDisabled": true,
|
||||
"foreignAccessDisabled": true,
|
||||
"select": {
|
||||
"select": "accountContactPrimary.isInactive",
|
||||
"leftJoins": [
|
||||
[
|
||||
"AccountContact",
|
||||
"accountContactPrimary",
|
||||
{
|
||||
"contact.id:": "accountContactPrimary.contactId",
|
||||
"contact.accountId:": "accountContactPrimary.accountId",
|
||||
"accountContactPrimary.deleted": false
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"order": {
|
||||
"order": [
|
||||
["accountContactPrimary.isInactive", "{direction}"]
|
||||
],
|
||||
"leftJoins": [
|
||||
[
|
||||
"AccountContact",
|
||||
"accountContactPrimary",
|
||||
{
|
||||
"contact.id:": "accountContactPrimary.contactId",
|
||||
"contact.accountId:": "accountContactPrimary.accountId",
|
||||
"accountContactPrimary.deleted": false
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"where": {
|
||||
"= TRUE": {
|
||||
"leftJoins": [
|
||||
[
|
||||
"AccountContact",
|
||||
"accountContactFilterIsInactive",
|
||||
{
|
||||
"accountContactFilterIsInactive.contactId:": "id",
|
||||
"accountContactFilterIsInactive.accountId:": "accountId",
|
||||
"accountContactFilterIsInactive.deleted": false
|
||||
}
|
||||
]
|
||||
],
|
||||
"whereClause": {
|
||||
"accountContactFilterIsInactive.isInactive": true
|
||||
}
|
||||
},
|
||||
"= FALSE": {
|
||||
"leftJoins": [
|
||||
[
|
||||
"AccountContact",
|
||||
"accountContactFilterIsInactive",
|
||||
{
|
||||
"accountContactFilterIsInactive.contactId:": "id",
|
||||
"accountContactFilterIsInactive.accountId:": "accountId",
|
||||
"accountContactFilterIsInactive.deleted": false
|
||||
}
|
||||
]
|
||||
],
|
||||
"whereClause": {
|
||||
"OR": [
|
||||
{
|
||||
"accountContactFilterIsInactive.isInactive!=": true
|
||||
},
|
||||
{
|
||||
"accountContactFilterIsInactive.isInactive=": null
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"layoutListDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true
|
||||
},
|
||||
"accountType": {
|
||||
"type": "foreign",
|
||||
"link": "account",
|
||||
"field": "type",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/foreign-enum"
|
||||
},
|
||||
"opportunityRole": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"options": ["", "Decision Maker", "Evaluator", "Influencer"],
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"customizationRequiredDisabled": true,
|
||||
"customizationIsSortedDisabled": true,
|
||||
"customizationAuditedDisabled": true,
|
||||
"customizationReadOnlyDisabled": true,
|
||||
"converterClassName": "Espo\\Classes\\FieldConverters\\RelationshipRole",
|
||||
"converterData": {
|
||||
"column": "role",
|
||||
"link": "opportunities",
|
||||
"relationName": "contactOpportunity",
|
||||
"nearKey": "contactId"
|
||||
},
|
||||
"view": "crm:views/contact/fields/opportunity-role"
|
||||
},
|
||||
"acceptanceStatus": {
|
||||
"type": "varchar",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"utility": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"acceptanceStatusMeetings": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"layoutAvailabilityList": ["filters"],
|
||||
"importDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"view": "crm:views/lead/fields/acceptance-status",
|
||||
"link": "meetings",
|
||||
"column": "status",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"acceptanceStatusCalls": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"layoutAvailabilityList": ["filters"],
|
||||
"importDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"view": "crm:views/lead/fields/acceptance-status",
|
||||
"link": "calls",
|
||||
"column": "status",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"campaign": {
|
||||
"type": "link"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "linkMultiple",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"importDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"noLoad": true
|
||||
},
|
||||
"targetList": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"entity": "TargetList",
|
||||
"directAccessDisabled": true
|
||||
},
|
||||
"portalUser": {
|
||||
"type": "linkOne",
|
||||
"readOnly": true,
|
||||
"notStorable": true,
|
||||
"view": "views/fields/link-one"
|
||||
},
|
||||
"hasPortalUser": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"readOnly": true,
|
||||
"mergeDisabled": true,
|
||||
"customizationDefaultDisabled": true,
|
||||
"customizationReadOnlyDisabled": true,
|
||||
"foreignAccessDisabled": true,
|
||||
"select": {
|
||||
"select": "IS_NOT_NULL:(portalUser.id)",
|
||||
"leftJoins": [["portalUser", "portalUser"]]
|
||||
},
|
||||
"where": {
|
||||
"= TRUE": {
|
||||
"whereClause": {
|
||||
"portalUser.id!=": null
|
||||
},
|
||||
"leftJoins": [["portalUser", "portalUser"]]
|
||||
},
|
||||
"= FALSE": {
|
||||
"whereClause": {
|
||||
"portalUser.id=": null
|
||||
},
|
||||
"leftJoins": [["portalUser", "portalUser"]]
|
||||
}
|
||||
},
|
||||
"order": {
|
||||
"order": [
|
||||
["portalUser.id", "{direction}"]
|
||||
],
|
||||
"leftJoins": [["portalUser", "portalUser"]],
|
||||
"additionalSelect": ["portalUser.id"]
|
||||
}
|
||||
},
|
||||
"originalLead": {
|
||||
"type": "linkOne",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/link-one"
|
||||
},
|
||||
"targetListIsOptedOut": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"readOnly": true,
|
||||
"utility": true
|
||||
},
|
||||
"originalEmail": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"entity": "Email",
|
||||
"customizationDisabled": true,
|
||||
"layoutAvailabilityList": [],
|
||||
"directAccessDisabled": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"account": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Account",
|
||||
"deferredLoad": true
|
||||
},
|
||||
"accounts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Account",
|
||||
"foreign": "contacts",
|
||||
"additionalColumns": {
|
||||
"role": {
|
||||
"type": "varchar",
|
||||
"len": 100
|
||||
},
|
||||
"isInactive": {
|
||||
"type": "bool",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"layoutRelationshipsDisabled": true,
|
||||
"columnAttributeMap": {
|
||||
"role": "accountRole",
|
||||
"isInactive": "accountIsInactive"
|
||||
}
|
||||
},
|
||||
"opportunities": {
|
||||
"type": "hasMany",
|
||||
"entity": "Opportunity",
|
||||
"foreign": "contacts",
|
||||
"columnAttributeMap": {
|
||||
"role": "opportunityRole"
|
||||
}
|
||||
},
|
||||
"opportunitiesPrimary": {
|
||||
"type": "hasMany",
|
||||
"entity": "Opportunity",
|
||||
"foreign": "contact",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"casesPrimary": {
|
||||
"type": "hasMany",
|
||||
"entity": "Case",
|
||||
"foreign": "contact",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"cases": {
|
||||
"type": "hasMany",
|
||||
"entity": "Case",
|
||||
"foreign": "contacts"
|
||||
},
|
||||
"meetings": {
|
||||
"type": "hasMany",
|
||||
"entity": "Meeting",
|
||||
"foreign": "contacts",
|
||||
"audited": true,
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"calls": {
|
||||
"type": "hasMany",
|
||||
"entity": "Call",
|
||||
"foreign": "contacts",
|
||||
"audited": true,
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"tasks": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Task",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"emails": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Email",
|
||||
"foreign": "parent",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"campaign": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Campaign",
|
||||
"foreign": "contacts"
|
||||
},
|
||||
"campaignLogRecords": {
|
||||
"type": "hasChildren",
|
||||
"entity": "CampaignLogRecord",
|
||||
"foreign": "parent"
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "contacts",
|
||||
"columnAttributeMap": {
|
||||
"optedOut": "targetListIsOptedOut"
|
||||
}
|
||||
},
|
||||
"portalUser": {
|
||||
"type": "hasOne",
|
||||
"entity": "User",
|
||||
"foreign": "contact"
|
||||
},
|
||||
"originalLead": {
|
||||
"type": "hasOne",
|
||||
"entity": "Lead",
|
||||
"foreign": "createdContact"
|
||||
},
|
||||
"documents": {
|
||||
"type": "hasMany",
|
||||
"entity": "Document",
|
||||
"foreign": "contacts",
|
||||
"audited": true
|
||||
},
|
||||
"tasksPrimary": {
|
||||
"type": "hasMany",
|
||||
"entity": "Task",
|
||||
"foreign": "contact",
|
||||
"layoutRelationshipsDisabled": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc",
|
||||
"textFilterFields": ["name", "emailAddress"]
|
||||
},
|
||||
"indexes": {
|
||||
"createdAt": {
|
||||
"columns": ["createdAt", "deleted"]
|
||||
},
|
||||
"createdAtId": {
|
||||
"unique": true,
|
||||
"columns": ["createdAt", "id"]
|
||||
},
|
||||
"firstName": {
|
||||
"columns": ["firstName", "deleted"]
|
||||
},
|
||||
"name": {
|
||||
"columns": ["firstName", "lastName"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,171 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"view": "crm:views/document/fields/name",
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"file": {
|
||||
"type": "file",
|
||||
"required": true,
|
||||
"view": "crm:views/document/fields/file",
|
||||
"accept": [
|
||||
".pdf",
|
||||
".odt",
|
||||
".ods",
|
||||
".odp",
|
||||
".docx",
|
||||
".xlsx",
|
||||
".pptx",
|
||||
".doc",
|
||||
".xls",
|
||||
".ppt",
|
||||
".rtf",
|
||||
".csv",
|
||||
".md",
|
||||
".txt"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Draft",
|
||||
"Active",
|
||||
"Canceled",
|
||||
"Expired"
|
||||
],
|
||||
"style": {
|
||||
"Active": "primary",
|
||||
"Canceled": "info",
|
||||
"Expired": "danger"
|
||||
},
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"default": "Active",
|
||||
"audited": true,
|
||||
"fieldManagerAdditionalParamList": [
|
||||
{
|
||||
"name": "activeOptions",
|
||||
"view": "views/admin/field-manager/fields/not-actual-options"
|
||||
}
|
||||
],
|
||||
"activeOptions": ["Active"],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"options": ["", "Contract", "NDA", "EULA", "License Agreement"],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"publishDate": {
|
||||
"type": "date",
|
||||
"required": true,
|
||||
"default": "javascript: return this.dateTime.getToday();"
|
||||
},
|
||||
"expirationDate": {
|
||||
"type": "date",
|
||||
"after": "publishDate"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"accounts": {
|
||||
"type": "linkMultiple",
|
||||
"importDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"noLoad": true,
|
||||
"directUpdateDisabled": true,
|
||||
"layoutAvailabilityList": [
|
||||
"filters"
|
||||
]
|
||||
},
|
||||
"folder": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"accounts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Account",
|
||||
"foreign": "documents"
|
||||
},
|
||||
"opportunities": {
|
||||
"type": "hasMany",
|
||||
"entity": "Opportunity",
|
||||
"foreign": "documents"
|
||||
},
|
||||
"leads": {
|
||||
"type": "hasMany",
|
||||
"entity": "Lead",
|
||||
"foreign": "documents"
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "documents"
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"folder": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "documents",
|
||||
"entity": "DocumentFolder"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"parent": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"childList": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "children",
|
||||
"entity": "DocumentFolder"
|
||||
},
|
||||
"children": {
|
||||
"type": "hasMany",
|
||||
"foreign": "parent",
|
||||
"entity": "DocumentFolder",
|
||||
"readOnly": true
|
||||
},
|
||||
"documents": {
|
||||
"type": "hasMany",
|
||||
"foreign": "folder",
|
||||
"entity": "Document"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "name",
|
||||
"order": "asc"
|
||||
},
|
||||
"additionalTables": {
|
||||
"DocumentFolderPath": {
|
||||
"attributes": {
|
||||
"id": {
|
||||
"type": "id",
|
||||
"dbType": "integer",
|
||||
"len": 11,
|
||||
"autoincrement": true
|
||||
},
|
||||
"ascendorId": {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
},
|
||||
"descendorId" : {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"repositoryClassName": "Espo\\Core\\Repositories\\CategoryTree"
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"fields": {
|
||||
"account": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationDisabled": true
|
||||
},
|
||||
"parent": {
|
||||
"entityList": ["Account", "Lead", "Contact", "Opportunity", "Case"]
|
||||
},
|
||||
"tasks": {
|
||||
"type": "linkMultiple",
|
||||
"readOnly": true,
|
||||
"columns": {
|
||||
"status": "status"
|
||||
},
|
||||
"view": "crm:views/task/fields/tasks",
|
||||
"customizationDefaultDisabled": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"account": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Account"
|
||||
},
|
||||
"tasks": {
|
||||
"type": "hasMany",
|
||||
"entity": "Task",
|
||||
"foreign": "email"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"fields": {
|
||||
"massEmail": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": ["Pending", "Sent", "Failed", "Sending"],
|
||||
"readOnly": true
|
||||
},
|
||||
"attemptCount": {
|
||||
"type": "int",
|
||||
"readOnly": true,
|
||||
"default": 0
|
||||
},
|
||||
"target": {
|
||||
"type": "linkParent",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"sentAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"index": true
|
||||
},
|
||||
"emailAddress": {
|
||||
"type": "varchar",
|
||||
"readOnly": true
|
||||
},
|
||||
"isTest": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"massEmail": {
|
||||
"type": "belongsTo",
|
||||
"entity": "MassEmail",
|
||||
"foreign": "queueItems"
|
||||
},
|
||||
"target": {
|
||||
"type": "belongsToParent"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"textFilterFields": ["id", "emailAddress"],
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,157 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Draft",
|
||||
"In Review",
|
||||
"Published",
|
||||
"Archived"
|
||||
],
|
||||
"style": {
|
||||
"Published": "primary",
|
||||
"Archived": "info"
|
||||
},
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"view": "crm:views/knowledge-base-article/fields/status",
|
||||
"default": "Draft",
|
||||
"fieldManagerAdditionalParamList": [
|
||||
{
|
||||
"name": "activeOptions",
|
||||
"view": "views/admin/field-manager/fields/not-actual-options"
|
||||
}
|
||||
],
|
||||
"activeOptions": ["Published"],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"language": {
|
||||
"type": "enum",
|
||||
"view": "crm:views/knowledge-base-article/fields/language",
|
||||
"customizationOptionsDisabled": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"options": ["Article"],
|
||||
"default": "Article"
|
||||
},
|
||||
"portals": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"publishDate": {
|
||||
"type": "date"
|
||||
},
|
||||
"expirationDate": {
|
||||
"type": "date",
|
||||
"after": "publishDate"
|
||||
},
|
||||
"order": {
|
||||
"type": "int",
|
||||
"disableFormatting": true,
|
||||
"textFilterDisabled": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"categories": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/link-multiple-category-tree"
|
||||
},
|
||||
"attachments": {
|
||||
"type": "attachmentMultiple"
|
||||
},
|
||||
"body": {
|
||||
"type": "wysiwyg"
|
||||
},
|
||||
"bodyPlain": {
|
||||
"type": "text",
|
||||
"readOnly": true,
|
||||
"directUpdateDisabled": true,
|
||||
"fieldManagerParamList": []
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"cases": {
|
||||
"type": "hasMany",
|
||||
"entity": "Case",
|
||||
"foreign": "articles"
|
||||
},
|
||||
"portals": {
|
||||
"type": "hasMany",
|
||||
"entity": "Portal",
|
||||
"foreign": "articles"
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"categories": {
|
||||
"type": "hasMany",
|
||||
"foreign": "articles",
|
||||
"entity": "KnowledgeBaseCategory"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "order",
|
||||
"order": "asc",
|
||||
"textFilterFields": [
|
||||
"name",
|
||||
"bodyPlain"
|
||||
],
|
||||
"fullTextSearch": true
|
||||
},
|
||||
"optimisticConcurrencyControl": true
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"order": {
|
||||
"type": "int",
|
||||
"minValue": 1,
|
||||
"readOnly": true,
|
||||
"disableFormatting": true,
|
||||
"textFilterDisabled": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"parent": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"childList": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "children",
|
||||
"entity": "KnowledgeBaseCategory"
|
||||
},
|
||||
"children": {
|
||||
"type": "hasMany",
|
||||
"foreign": "parent",
|
||||
"entity": "KnowledgeBaseCategory"
|
||||
},
|
||||
"articles": {
|
||||
"type": "hasMany",
|
||||
"foreign": "categories",
|
||||
"entity": "KnowledgeBaseArticle"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "parent",
|
||||
"orderByColumn": "parentId",
|
||||
"order": "asc"
|
||||
},
|
||||
"additionalTables": {
|
||||
"KnowledgeBaseCategoryPath": {
|
||||
"attributes": {
|
||||
"id": {
|
||||
"type": "id",
|
||||
"dbType": "integer",
|
||||
"len": 11,
|
||||
"autoincrement": true
|
||||
},
|
||||
"ascendorId": {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
},
|
||||
"descendorId" : {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"repositoryClassName": "Espo\\Core\\Repositories\\CategoryTree"
|
||||
}
|
||||
@@ -0,0 +1,417 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "personName",
|
||||
"isPersonalData": true,
|
||||
"dependeeAttributeList": [
|
||||
"emailAddress",
|
||||
"phoneNumber",
|
||||
"accountName"
|
||||
]
|
||||
},
|
||||
"salutationName": {
|
||||
"type": "enum",
|
||||
"options": ["", "Mr.", "Ms.", "Mrs.", "Dr."]
|
||||
},
|
||||
"firstName": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100
|
||||
},
|
||||
"lastName": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100
|
||||
},
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"New",
|
||||
"Assigned",
|
||||
"In Process",
|
||||
"Converted",
|
||||
"Recycled",
|
||||
"Dead"
|
||||
],
|
||||
"default": "New",
|
||||
"style": {
|
||||
"In Process": "primary",
|
||||
"Converted": "success",
|
||||
"Recycled": "info",
|
||||
"Dead": "info"
|
||||
},
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"audited": true,
|
||||
"fieldManagerAdditionalParamList": [
|
||||
{
|
||||
"name": "notActualOptions",
|
||||
"view": "views/admin/field-manager/fields/not-actual-options"
|
||||
}
|
||||
],
|
||||
"notActualOptions": ["Converted", "Recycled", "Dead"],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"source": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"",
|
||||
"Call",
|
||||
"Email",
|
||||
"Existing Customer",
|
||||
"Partner",
|
||||
"Public Relations",
|
||||
"Web Site",
|
||||
"Campaign",
|
||||
"Other"
|
||||
],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"industry": {
|
||||
"type": "enum",
|
||||
"view": "crm:views/lead/fields/industry",
|
||||
"customizationOptionsDisabled": true,
|
||||
"optionsReference": "Account.industry",
|
||||
"isSorted": true
|
||||
},
|
||||
"opportunityAmount": {
|
||||
"type": "currency",
|
||||
"min": 0,
|
||||
"decimal": false,
|
||||
"audited": true
|
||||
},
|
||||
"opportunityAmountConverted": {
|
||||
"type": "currencyConverted",
|
||||
"readOnly": true
|
||||
},
|
||||
"website": {
|
||||
"type": "url",
|
||||
"strip": true
|
||||
},
|
||||
"address": {
|
||||
"type": "address",
|
||||
"isPersonalData": true
|
||||
},
|
||||
"addressStreet": {
|
||||
"type": "text",
|
||||
"maxLength": 255,
|
||||
"dbType": "varchar"
|
||||
},
|
||||
"addressCity": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressState": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressCountry": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressPostalCode": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"emailAddress": {
|
||||
"type": "email",
|
||||
"isPersonalData": true
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "phone",
|
||||
"typeList": ["Mobile", "Office", "Home", "Fax", "Other"],
|
||||
"defaultType": "Mobile",
|
||||
"isPersonalData": true
|
||||
},
|
||||
"doNotCall": {
|
||||
"type": "bool"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"convertedAt": {
|
||||
"type": "datetime",
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"readOnly": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"accountName": {
|
||||
"type": "varchar",
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"acceptanceStatus": {
|
||||
"type": "varchar",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"utility": true,
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"acceptanceStatusMeetings": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"layoutAvailabilityList": ["filters"],
|
||||
"importDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"view": "crm:views/lead/fields/acceptance-status",
|
||||
"link": "meetings",
|
||||
"column": "status",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"acceptanceStatusCalls": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"layoutAvailabilityList": ["filters"],
|
||||
"importDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"view": "crm:views/lead/fields/acceptance-status",
|
||||
"link": "calls",
|
||||
"column": "status",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"campaign": {
|
||||
"type": "link"
|
||||
},
|
||||
"createdAccount": {
|
||||
"type": "link",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true
|
||||
},
|
||||
"createdContact": {
|
||||
"type": "link",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"view": "crm:views/lead/fields/created-contact"
|
||||
},
|
||||
"createdOpportunity": {
|
||||
"type": "link",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"view": "crm:views/lead/fields/created-opportunity"
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "linkMultiple",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"importDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"noLoad": true
|
||||
},
|
||||
"targetList": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"entity": "TargetList",
|
||||
"directAccessDisabled": true
|
||||
},
|
||||
"targetListIsOptedOut": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"readOnly": true,
|
||||
"utility": true
|
||||
},
|
||||
"originalEmail": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"entity": "Email",
|
||||
"customizationDisabled": true,
|
||||
"layoutAvailabilityList": [],
|
||||
"directAccessDisabled": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"meetings": {
|
||||
"type": "hasMany",
|
||||
"entity": "Meeting",
|
||||
"foreign": "leads",
|
||||
"audited": true,
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"calls": {
|
||||
"type": "hasMany",
|
||||
"entity": "Call",
|
||||
"foreign": "leads",
|
||||
"audited": true,
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"tasks": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Task",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"cases": {
|
||||
"type": "hasMany",
|
||||
"entity": "Case",
|
||||
"foreign": "lead",
|
||||
"audited": true
|
||||
},
|
||||
"emails": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Email",
|
||||
"foreign": "parent",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"createdAccount": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Account",
|
||||
"foreign": "originalLead"
|
||||
},
|
||||
"createdContact": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Contact",
|
||||
"foreign": "originalLead"
|
||||
},
|
||||
"createdOpportunity": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Opportunity",
|
||||
"foreign": "originalLead"
|
||||
},
|
||||
"campaign": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Campaign",
|
||||
"foreign": "leads"
|
||||
},
|
||||
"campaignLogRecords": {
|
||||
"type": "hasChildren",
|
||||
"entity": "CampaignLogRecord",
|
||||
"foreign": "parent"
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "leads",
|
||||
"columnAttributeMap": {
|
||||
"optedOut": "targetListIsOptedOut"
|
||||
}
|
||||
},
|
||||
"documents": {
|
||||
"type": "hasMany",
|
||||
"entity": "Document",
|
||||
"foreign": "leads",
|
||||
"audited": true
|
||||
}
|
||||
},
|
||||
"convertEntityList": [
|
||||
"Account",
|
||||
"Contact",
|
||||
"Opportunity"
|
||||
],
|
||||
"convertFields": {
|
||||
"Contact": {
|
||||
},
|
||||
"Account": {
|
||||
"name": "accountName",
|
||||
"billingAddressStreet": "addressStreet",
|
||||
"billingAddressCity": "addressCity",
|
||||
"billingAddressState": "addressState",
|
||||
"billingAddressPostalCode": "addressPostalCode",
|
||||
"billingAddressCountry": "addressCountry"
|
||||
},
|
||||
"Opportunity": {
|
||||
"amount": "opportunityAmount",
|
||||
"leadSource": "source"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc",
|
||||
"textFilterFields": ["name", "accountName", "emailAddress"]
|
||||
},
|
||||
"indexes": {
|
||||
"firstName": {
|
||||
"columns": ["firstName", "deleted"]
|
||||
},
|
||||
"name": {
|
||||
"columns": ["firstName", "lastName"]
|
||||
},
|
||||
"status": {
|
||||
"columns": ["status", "deleted"]
|
||||
},
|
||||
"createdAt": {
|
||||
"columns": ["createdAt", "deleted"]
|
||||
},
|
||||
"createdAtStatus": {
|
||||
"columns": ["createdAt", "status"]
|
||||
},
|
||||
"createdAtId": {
|
||||
"unique": true,
|
||||
"columns": ["createdAt", "id"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
},
|
||||
"assignedUserStatus": {
|
||||
"columns": ["assignedUserId", "status"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Draft",
|
||||
"Pending",
|
||||
"Complete",
|
||||
"In Process",
|
||||
"Failed"
|
||||
],
|
||||
"style": {
|
||||
"In Process": "warning",
|
||||
"Pending": "primary",
|
||||
"Failed": "danger",
|
||||
"Complete": "success"
|
||||
},
|
||||
"default": "Pending"
|
||||
},
|
||||
"storeSentEmails": {
|
||||
"type": "bool",
|
||||
"default": false,
|
||||
"tooltip": true
|
||||
},
|
||||
"optOutEntirely": {
|
||||
"type": "bool",
|
||||
"default": false,
|
||||
"tooltip": true
|
||||
},
|
||||
"fromAddress": {
|
||||
"type": "varchar",
|
||||
"view": "crm:views/mass-email/fields/from-address"
|
||||
},
|
||||
"fromName": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"replyToAddress": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"replyToName": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"startAt": {
|
||||
"type": "datetime",
|
||||
"required": true
|
||||
},
|
||||
"emailTemplate": {
|
||||
"type": "link",
|
||||
"required": true,
|
||||
"createButton": true,
|
||||
"view": "crm:views/mass-email/fields/email-template"
|
||||
},
|
||||
"campaign": {
|
||||
"type": "link",
|
||||
"readOnlyAfterCreate": true
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "linkMultiple",
|
||||
"required": true,
|
||||
"tooltip": true
|
||||
},
|
||||
"excludingTargetLists": {
|
||||
"type": "linkMultiple",
|
||||
"tooltip": true
|
||||
},
|
||||
"inboundEmail": {
|
||||
"type": "link"
|
||||
},
|
||||
"smtpAccount": {
|
||||
"type": "base",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"view": "crm:views/mass-email/fields/smtp-account"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"emailTemplate": {
|
||||
"type": "belongsTo",
|
||||
"entity": "EmailTemplate"
|
||||
},
|
||||
"campaign": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Campaign",
|
||||
"foreign": "massEmails"
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "massEmails"
|
||||
},
|
||||
"excludingTargetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "massEmailsExcluding",
|
||||
"relationName": "massEmailTargetListExcluding"
|
||||
},
|
||||
"inboundEmail": {
|
||||
"type": "belongsTo",
|
||||
"entity": "InboundEmail"
|
||||
},
|
||||
"queueItems": {
|
||||
"type": "hasMany",
|
||||
"entity": "EmailQueueItem",
|
||||
"foreign": "massEmail"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,452 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": ["Planned", "Held", "Not Held"],
|
||||
"default": "Planned",
|
||||
"style": {
|
||||
"Held": "success",
|
||||
"Not Held": "info"
|
||||
},
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"audited": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"dateStart": {
|
||||
"type": "datetimeOptional",
|
||||
"view": "crm:views/meeting/fields/date-start",
|
||||
"required": true,
|
||||
"default": "javascript: return this.dateTime.getNow(15);",
|
||||
"audited": true
|
||||
},
|
||||
"dateEnd": {
|
||||
"type": "datetimeOptional",
|
||||
"view": "crm:views/meeting/fields/date-end",
|
||||
"required": true,
|
||||
"after": "dateStart",
|
||||
"suppressValidationList": ["required"]
|
||||
},
|
||||
"isAllDay": {
|
||||
"type": "bool",
|
||||
"layoutListDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true
|
||||
},
|
||||
"duration": {
|
||||
"type": "duration",
|
||||
"start": "dateStart",
|
||||
"end": "dateEnd",
|
||||
"options": [900, 1800, 3600, 7200, 10800, 86400],
|
||||
"default": 3600,
|
||||
"notStorable": true,
|
||||
"select": {
|
||||
"select": "TIMESTAMPDIFF_SECOND:(dateStart, dateEnd)"
|
||||
},
|
||||
"order": {
|
||||
"order": [
|
||||
["TIMESTAMPDIFF_SECOND:(dateStart, dateEnd)", "{direction}"]
|
||||
]
|
||||
}
|
||||
},
|
||||
"reminders": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"view": "crm:views/meeting/fields/reminders",
|
||||
"layoutListDisabled": true,
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\Valid",
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\MaxCount"
|
||||
],
|
||||
"dynamicLogicDisabled": true,
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"parent": {
|
||||
"type": "linkParent",
|
||||
"entityList": ["Account", "Lead", "Contact", "Opportunity", "Case"]
|
||||
},
|
||||
"account": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"uid": {
|
||||
"type": "varchar",
|
||||
"maxLength": 255,
|
||||
"index": true,
|
||||
"readOnly": true,
|
||||
"duplicateIgnore": true
|
||||
},
|
||||
"joinUrl": {
|
||||
"type": "url",
|
||||
"dbType": "text",
|
||||
"maxLength": 320,
|
||||
"readOnly": true,
|
||||
"copyToClipboard": true,
|
||||
"duplicateIgnore": true,
|
||||
"default": null,
|
||||
"customizationDefaultDisabled": true
|
||||
},
|
||||
"acceptanceStatus": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"options": ["None", "Accepted", "Tentative", "Declined"],
|
||||
"style": {
|
||||
"Accepted": "success",
|
||||
"Declined": "danger",
|
||||
"Tentative": "warning"
|
||||
},
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"importDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"customizationDefaultDisabled": true,
|
||||
"customizationRequiredDisabled": true,
|
||||
"customizationIsSortedDisabled": true,
|
||||
"customizationReadOnlyDisabled": true,
|
||||
"customizationAuditedDisabled": true,
|
||||
"customizationOptionsReferenceDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"filtersEnabled": true,
|
||||
"where": {
|
||||
"=": {
|
||||
"whereClause": {
|
||||
"OR": [
|
||||
{
|
||||
"id=s": {
|
||||
"from": "ContactMeeting",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id=s": {
|
||||
"from": "LeadMeeting",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id=s": {
|
||||
"from": "MeetingUser",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"<>": {
|
||||
"whereClause": {
|
||||
"AND": [
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "ContactMeeting",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "LeadMeeting",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "MeetingUser",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"IN": {
|
||||
"whereClause": {
|
||||
"OR": [
|
||||
{
|
||||
"id=s": {
|
||||
"from": "ContactMeeting",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id=s": {
|
||||
"from": "LeadMeeting",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id=s": {
|
||||
"from": "MeetingUser",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"NOT IN": {
|
||||
"whereClause": {
|
||||
"AND": [
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "ContactMeeting",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "LeadMeeting",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id!=s": {
|
||||
"from": "MeetingUser",
|
||||
"select": ["meetingId"],
|
||||
"whereClause": {
|
||||
"deleted": false,
|
||||
"status": "{value}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"view": "crm:views/meeting/fields/acceptance-status"
|
||||
},
|
||||
"users": {
|
||||
"type": "linkMultiple",
|
||||
"view": "crm:views/meeting/fields/users",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"columns": {
|
||||
"status": "acceptanceStatus"
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"orderBy": "name",
|
||||
"audited": true,
|
||||
"duplicatorClassName": "Espo\\Modules\\Crm\\Classes\\FieldDuplicators\\Meeting\\Attendees"
|
||||
},
|
||||
"contacts": {
|
||||
"type": "linkMultiple",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"view": "crm:views/meeting/fields/contacts",
|
||||
"columns": {
|
||||
"status": "acceptanceStatus"
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"orderBy": "name",
|
||||
"audited": true,
|
||||
"duplicatorClassName": "Espo\\Modules\\Crm\\Classes\\FieldDuplicators\\Meeting\\Attendees"
|
||||
},
|
||||
"leads": {
|
||||
"type": "linkMultiple",
|
||||
"view": "crm:views/meeting/fields/attendees",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"columns": {
|
||||
"status": "acceptanceStatus"
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"orderBy": "name",
|
||||
"audited": true,
|
||||
"duplicatorClassName": "Espo\\Modules\\Crm\\Classes\\FieldDuplicators\\Meeting\\Attendees"
|
||||
},
|
||||
"sourceEmail": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"importDisabled": true,
|
||||
"entity": "Email",
|
||||
"directAccessDisabled": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"required": true,
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"account": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Account"
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"users": {
|
||||
"type": "hasMany",
|
||||
"entity": "User",
|
||||
"foreign": "meetings",
|
||||
"additionalColumns": {
|
||||
"status": {
|
||||
"type": "varchar",
|
||||
"len": "36",
|
||||
"default": "None"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "meetings",
|
||||
"additionalColumns": {
|
||||
"status": {
|
||||
"type": "varchar",
|
||||
"len": "36",
|
||||
"default": "None"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"leads": {
|
||||
"type": "hasMany",
|
||||
"entity": "Lead",
|
||||
"foreign": "meetings",
|
||||
"additionalColumns": {
|
||||
"status": {
|
||||
"type": "varchar",
|
||||
"len": "36",
|
||||
"default": "None"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"status": "acceptanceStatus"
|
||||
}
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsToParent",
|
||||
"foreign": "meetings"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "dateStart",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"dateStartStatus": {
|
||||
"columns": ["dateStart", "status"]
|
||||
},
|
||||
"dateStart": {
|
||||
"columns": ["dateStart", "deleted"]
|
||||
},
|
||||
"status": {
|
||||
"columns": ["status", "deleted"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
},
|
||||
"assignedUserStatus": {
|
||||
"columns": ["assignedUserId", "status"]
|
||||
}
|
||||
},
|
||||
"repositoryClassName": "Espo\\Core\\Repositories\\Event"
|
||||
}
|
||||
@@ -0,0 +1,399 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"amount": {
|
||||
"type": "currency",
|
||||
"required": true,
|
||||
"min": 0,
|
||||
"decimal": false,
|
||||
"audited": true
|
||||
},
|
||||
"amountConverted": {
|
||||
"type": "currencyConverted",
|
||||
"readOnly": true
|
||||
},
|
||||
"amountWeightedConverted": {
|
||||
"type": "float",
|
||||
"readOnly": true,
|
||||
"notStorable": true,
|
||||
"select": {
|
||||
"select": "DIV:(MUL:(amount, probability, amountCurrencyRate.rate), 100)",
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"where": {
|
||||
"=": {
|
||||
"whereClause": {
|
||||
"DIV:(MUL:(amount, probability, amountCurrencyRate.rate), 100)=": "{value}"
|
||||
},
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"<": {
|
||||
"whereClause": {
|
||||
"DIV:(MUL:(amount, probability, amountCurrencyRate.rate), 100)<": "{value}"
|
||||
},
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
">": {
|
||||
"whereClause": {
|
||||
"DIV:(MUL:(amount, probability, amountCurrencyRate.rate), 100)>": "{value}"
|
||||
},
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"<=": {
|
||||
"whereClause": {
|
||||
"DIV:(MUL:(amount, probability, amountCurrencyRate.rate), 100)<=": "{value}"
|
||||
},
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
">=": {
|
||||
"whereClause": {
|
||||
"DIV:(MUL:(amount, probability, amountCurrencyRate.rate), 100)>=": "{value}"
|
||||
},
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"<>": {
|
||||
"whereClause": {
|
||||
"DIV:(MUL:(amount, probability, amountCurrencyRate.rate), 100)!=": "{value}"
|
||||
},
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IS NULL": {
|
||||
"whereClause": {
|
||||
"IS_NULL:(amount)": true
|
||||
},
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"IS NOT NULL": {
|
||||
"whereClause": {
|
||||
"IS_NOT_NULL:(amount)": true
|
||||
},
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"order": {
|
||||
"order": [
|
||||
["DIV:(MUL:(amount, probability, amountCurrencyRate.rate), 100)", "{direction}"]
|
||||
],
|
||||
"leftJoins": [
|
||||
[
|
||||
"Currency",
|
||||
"amountCurrencyRate",
|
||||
{"amountCurrencyRate.id:": "amountCurrency"}
|
||||
]
|
||||
]
|
||||
},
|
||||
"view": "views/fields/currency-converted"
|
||||
},
|
||||
"account": {
|
||||
"type": "link"
|
||||
},
|
||||
"contacts": {
|
||||
"type": "linkMultiple",
|
||||
"view": "crm:views/opportunity/fields/contacts",
|
||||
"columns": {
|
||||
"role": "opportunityRole"
|
||||
},
|
||||
"additionalAttributeList": ["columns"],
|
||||
"primaryLink": "contact",
|
||||
"orderBy": "name",
|
||||
"detailLayoutIncompatibleFieldList": ["contact"]
|
||||
},
|
||||
"contact": {
|
||||
"type": "link"
|
||||
},
|
||||
"stage": {
|
||||
"type": "enum",
|
||||
"options": ["Prospecting", "Qualification", "Proposal", "Negotiation", "Closed Won", "Closed Lost"],
|
||||
"view": "crm:views/opportunity/fields/stage",
|
||||
"default": "Prospecting",
|
||||
"audited": true,
|
||||
"probabilityMap": {
|
||||
"Prospecting": 10,
|
||||
"Qualification": 20,
|
||||
"Proposal": 50,
|
||||
"Negotiation": 80,
|
||||
"Closed Won": 100,
|
||||
"Closed Lost": 0
|
||||
},
|
||||
"style": {
|
||||
"Proposal": "primary",
|
||||
"Negotiation": "warning",
|
||||
"Closed Won": "success",
|
||||
"Closed Lost": "info"
|
||||
},
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"fieldManagerAdditionalParamList": [
|
||||
{
|
||||
"name": "probabilityMap",
|
||||
"view": "crm:views/opportunity/admin/field-manager/fields/probability-map"
|
||||
}
|
||||
],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"lastStage": {
|
||||
"type": "enum",
|
||||
"view": "crm:views/opportunity/fields/last-stage",
|
||||
"customizationOptionsDisabled": true,
|
||||
"customizationDefaultDisabled": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"probability": {
|
||||
"type": "int",
|
||||
"min": 0,
|
||||
"max": 100
|
||||
},
|
||||
"leadSource": {
|
||||
"type": "enum",
|
||||
"view": "crm:views/opportunity/fields/lead-source",
|
||||
"customizationOptionsDisabled": true,
|
||||
"optionsReference": "Lead.source"
|
||||
},
|
||||
"closeDate": {
|
||||
"type": "date",
|
||||
"required": true,
|
||||
"audited": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"campaign": {
|
||||
"type": "link"
|
||||
},
|
||||
"originalLead": {
|
||||
"type": "linkOne",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/link-one"
|
||||
},
|
||||
"contactRole": {
|
||||
"type": "enum",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directUpdateDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutAvailabilityList": ["listForContact"],
|
||||
"customizationDefaultDisabled": true,
|
||||
"customizationRequiredDisabled": true,
|
||||
"customizationIsSortedDisabled": true,
|
||||
"customizationAuditedDisabled": true,
|
||||
"customizationReadOnlyDisabled": true,
|
||||
"customizationOptionsDisabled": true,
|
||||
"converterClassName": "Espo\\Classes\\FieldConverters\\RelationshipRole",
|
||||
"converterData": {
|
||||
"column": "role",
|
||||
"link": "contacts",
|
||||
"relationName": "contactOpportunity",
|
||||
"nearKey": "opportunityId"
|
||||
},
|
||||
"view": "crm:views/opportunity/fields/contact-role",
|
||||
"optionsReference": "Contact.opportunityRole"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"required": false,
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"account": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Account",
|
||||
"foreign": "opportunities"
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "opportunities",
|
||||
"additionalColumns": {
|
||||
"role": {
|
||||
"type": "varchar",
|
||||
"len": 50
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"role": "contactRole"
|
||||
}
|
||||
},
|
||||
"contact": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Contact",
|
||||
"foreign": "opportunitiesPrimary"
|
||||
},
|
||||
"meetings": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Meeting",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"calls": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Call",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"tasks": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Task",
|
||||
"foreign": "parent",
|
||||
"audited": true
|
||||
},
|
||||
"emails": {
|
||||
"type": "hasChildren",
|
||||
"entity": "Email",
|
||||
"foreign": "parent",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"documents": {
|
||||
"type": "hasMany",
|
||||
"entity": "Document",
|
||||
"foreign": "opportunities",
|
||||
"audited": true
|
||||
},
|
||||
"campaign": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Campaign",
|
||||
"foreign": "opportunities"
|
||||
},
|
||||
"originalLead": {
|
||||
"type": "hasOne",
|
||||
"entity": "Lead",
|
||||
"foreign": "createdOpportunity"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"stage": {
|
||||
"columns": ["stage", "deleted"]
|
||||
},
|
||||
"lastStage": {
|
||||
"columns": ["lastStage"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
},
|
||||
"createdAt": {
|
||||
"columns": ["createdAt", "deleted"]
|
||||
},
|
||||
"createdAtStage": {
|
||||
"columns": ["createdAt", "stage"]
|
||||
},
|
||||
"createdAtId": {
|
||||
"unique": true,
|
||||
"columns": ["createdAt", "id"]
|
||||
},
|
||||
"assignedUserStage": {
|
||||
"columns": ["assignedUserId", "stage"]
|
||||
}
|
||||
},
|
||||
"optimisticConcurrencyControl": true
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"links": {
|
||||
"articles": {
|
||||
"type": "hasMany",
|
||||
"entity": "KnowledgeBaseArticle",
|
||||
"foreign": "portals"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"fields": {
|
||||
"remindAt": {
|
||||
"type": "datetime",
|
||||
"index": true
|
||||
},
|
||||
"startAt": {
|
||||
"type": "datetime",
|
||||
"index": true
|
||||
},
|
||||
"type": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Popup",
|
||||
"Email"
|
||||
],
|
||||
"maxLength": 36,
|
||||
"index": true,
|
||||
"default": "Popup"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "enumInt",
|
||||
"options": [0, 60, 120, 300, 600, 900, 1800, 3600, 7200, 18000, 86400, 604800],
|
||||
"default": 0
|
||||
},
|
||||
"user": {
|
||||
"type": "link"
|
||||
},
|
||||
"entity": {
|
||||
"type": "linkParent"
|
||||
},
|
||||
"isSubmitted": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"user": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"entity": {
|
||||
"type": "belongsToParent"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "remindAt",
|
||||
"order": "desc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"jobSchedulingMap": {
|
||||
"ProcessMassEmail": "10,30,50 * * * *",
|
||||
"ControlKnowledgeBaseArticleStatus": "10 1 * * *"
|
||||
},
|
||||
"jobs": {
|
||||
"SubmitPopupReminders": {
|
||||
"name": "Submit Popup Reminders",
|
||||
"isSystem": true,
|
||||
"scheduling": "* * * * *"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "personName"
|
||||
},
|
||||
"salutationName": {
|
||||
"type": "enum",
|
||||
"options": ["", "Mr.", "Mrs.", "Ms.", "Dr.", "Drs."]
|
||||
},
|
||||
"firstName": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100,
|
||||
"default":""
|
||||
},
|
||||
"lastName": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100,
|
||||
"required": true,
|
||||
"default":""
|
||||
},
|
||||
"title": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100
|
||||
},
|
||||
"accountName": {
|
||||
"type": "varchar",
|
||||
"maxLength": 100
|
||||
},
|
||||
"website": {
|
||||
"type": "url"
|
||||
},
|
||||
"address": {
|
||||
"type": "address"
|
||||
},
|
||||
"addressStreet": {
|
||||
"type": "text",
|
||||
"maxLength": 255,
|
||||
"dbType": "varchar"
|
||||
},
|
||||
"addressCity": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressState": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressCountry": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"addressPostalCode": {
|
||||
"type": "varchar"
|
||||
},
|
||||
"emailAddress": {
|
||||
"type": "email"
|
||||
},
|
||||
"phoneNumber": {
|
||||
"type": "phone",
|
||||
"typeList": ["Mobile", "Office", "Home", "Fax", "Other"],
|
||||
"defaultType": "Mobile"
|
||||
},
|
||||
"doNotCall": {
|
||||
"type": "bool"
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"firstName": {
|
||||
"columns": ["firstName", "deleted"]
|
||||
},
|
||||
"name": {
|
||||
"columns": ["firstName", "lastName"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,231 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"category": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"entryCount": {
|
||||
"type": "int",
|
||||
"readOnly": true,
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"layoutMassUpdateDisabled": true
|
||||
},
|
||||
"optedOutCount": {
|
||||
"type": "int",
|
||||
"readOnly": true,
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"layoutMassUpdateDisabled": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"sourceCampaign": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true,
|
||||
"customizationDisabled": true,
|
||||
"layoutAvailabilityList": []
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"includingActionList": {
|
||||
"type": "multiEnum",
|
||||
"view": "crm:views/target-list/fields/including-action-list",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"layoutLinkDisabled": true,
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"utility": true
|
||||
},
|
||||
"excludingActionList": {
|
||||
"type": "multiEnum",
|
||||
"view": "crm:views/target-list/fields/including-action-list",
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"layoutLinkDisabled": true,
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"utility": true
|
||||
},
|
||||
"targetStatus": {
|
||||
"type": "enum",
|
||||
"options": ["Listed", "Opted Out"],
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"readOnly": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"importDisabled": true,
|
||||
"view": "crm:views/target-list/fields/target-status"
|
||||
},
|
||||
"isOptedOut": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"readOnly": true,
|
||||
"layoutListDisabled": true,
|
||||
"layoutDetailDisabled": true,
|
||||
"layoutMassUpdateDisabled": true,
|
||||
"layoutFiltersDisabled": true,
|
||||
"exportDisabled": true,
|
||||
"importDisabled": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"category": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "category",
|
||||
"entity": "TargetListCategory"
|
||||
},
|
||||
"campaigns": {
|
||||
"type": "hasMany",
|
||||
"entity": "Campaign",
|
||||
"foreign": "targetLists",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"massEmails": {
|
||||
"type": "hasMany",
|
||||
"entity": "MassEmail",
|
||||
"foreign": "targetLists",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"campaignsExcluding": {
|
||||
"type": "hasMany",
|
||||
"entity": "Campaign",
|
||||
"foreign": "excludingTargetLists",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"massEmailsExcluding": {
|
||||
"type": "hasMany",
|
||||
"entity": "MassEmail",
|
||||
"foreign": "excludingTargetLists",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"accounts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Account",
|
||||
"foreign": "targetLists",
|
||||
"additionalColumns": {
|
||||
"optedOut": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"optedOut": "isOptedOut"
|
||||
}
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "targetLists",
|
||||
"additionalColumns": {
|
||||
"optedOut": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"optedOut": "isOptedOut"
|
||||
}
|
||||
},
|
||||
"leads": {
|
||||
"type": "hasMany",
|
||||
"entity": "Lead",
|
||||
"foreign": "targetLists",
|
||||
"additionalColumns": {
|
||||
"optedOut": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"optedOut": "isOptedOut"
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
"type": "hasMany",
|
||||
"entity": "User",
|
||||
"foreign": "targetLists",
|
||||
"additionalColumns": {
|
||||
"optedOut": {
|
||||
"type": "bool"
|
||||
}
|
||||
},
|
||||
"columnAttributeMap": {
|
||||
"optedOut": "isOptedOut"
|
||||
}
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"createdAt": {
|
||||
"columns": ["createdAt", "deleted"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true
|
||||
},
|
||||
"order": {
|
||||
"type": "int",
|
||||
"minValue": 1,
|
||||
"readOnly": true,
|
||||
"textFilterDisabled": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple"
|
||||
},
|
||||
"parent": {
|
||||
"type": "link",
|
||||
"view": "views/fields/link-category-tree"
|
||||
},
|
||||
"childList": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsTo",
|
||||
"foreign": "children",
|
||||
"entity": "TargetListCategory"
|
||||
},
|
||||
"children": {
|
||||
"type": "hasMany",
|
||||
"foreign": "parent",
|
||||
"entity": "TargetListCategory",
|
||||
"readOnly": true
|
||||
},
|
||||
"targetLists": {
|
||||
"type": "hasMany",
|
||||
"foreign": "category",
|
||||
"entity": "TargetList"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "parent",
|
||||
"order": "asc"
|
||||
},
|
||||
"additionalTables": {
|
||||
"TargetListCategoryPath": {
|
||||
"attributes": {
|
||||
"id": {
|
||||
"type": "id",
|
||||
"dbType": "integer",
|
||||
"len": 11,
|
||||
"autoincrement": true
|
||||
},
|
||||
"ascendorId": {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
},
|
||||
"descendorId" : {
|
||||
"type": "foreignId",
|
||||
"index": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"repositoryClassName": "Espo\\Core\\Repositories\\CategoryTree"
|
||||
}
|
||||
@@ -0,0 +1,228 @@
|
||||
{
|
||||
"fields": {
|
||||
"name": {
|
||||
"type": "varchar",
|
||||
"required": true,
|
||||
"pattern": "$noBadCharacters"
|
||||
},
|
||||
"status": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Not Started",
|
||||
"Started",
|
||||
"Completed",
|
||||
"Canceled",
|
||||
"Deferred"
|
||||
],
|
||||
"style": {
|
||||
"Completed": "success",
|
||||
"Started": "primary",
|
||||
"Canceled": "info"
|
||||
},
|
||||
"default": "Not Started",
|
||||
"displayAsLabel": true,
|
||||
"labelType": "state",
|
||||
"audited": true,
|
||||
"fieldManagerAdditionalParamList": [
|
||||
{
|
||||
"name": "notActualOptions",
|
||||
"view": "views/admin/field-manager/fields/not-actual-options"
|
||||
}
|
||||
],
|
||||
"notActualOptions": ["Completed", "Canceled", "Deferred"],
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"priority": {
|
||||
"type": "enum",
|
||||
"options": [
|
||||
"Low",
|
||||
"Normal",
|
||||
"High",
|
||||
"Urgent"
|
||||
],
|
||||
"default": "Normal",
|
||||
"displayAsLabel": true,
|
||||
"style": {
|
||||
"High": "warning",
|
||||
"Urgent": "danger"
|
||||
},
|
||||
"audited": true,
|
||||
"customizationOptionsReferenceDisabled": true
|
||||
},
|
||||
"dateStart": {
|
||||
"type": "datetimeOptional",
|
||||
"before": "dateEnd"
|
||||
},
|
||||
"dateEnd": {
|
||||
"type": "datetimeOptional",
|
||||
"after": "dateStart",
|
||||
"view": "crm:views/task/fields/date-end",
|
||||
"audited": true
|
||||
},
|
||||
"dateStartDate": {
|
||||
"type": "date",
|
||||
"utility": true
|
||||
},
|
||||
"dateEndDate": {
|
||||
"type": "date",
|
||||
"utility": true
|
||||
},
|
||||
"dateCompleted": {
|
||||
"type": "datetime",
|
||||
"readOnly": true
|
||||
},
|
||||
"isOverdue": {
|
||||
"type": "bool",
|
||||
"readOnly": true,
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"view": "crm:views/task/fields/is-overdue",
|
||||
"utility": true
|
||||
},
|
||||
"reminders": {
|
||||
"type": "jsonArray",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"view": "crm:views/meeting/fields/reminders",
|
||||
"dateField": "dateEnd",
|
||||
"validatorClassNameList": [
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\Valid",
|
||||
"Espo\\Modules\\Crm\\Classes\\FieldValidators\\Event\\Reminders\\MaxCount"
|
||||
],
|
||||
"duplicateIgnore": true,
|
||||
"dynamicLogicDisabled": true
|
||||
},
|
||||
"description": {
|
||||
"type": "text",
|
||||
"preview": true,
|
||||
"attachmentField": "attachments",
|
||||
"cutHeight": 500
|
||||
},
|
||||
"parent": {
|
||||
"type": "linkParent",
|
||||
"entityList": ["Account", "Contact", "Lead", "Opportunity", "Case"]
|
||||
},
|
||||
"account": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"contact": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"customizationReadOnlyDisabled": true
|
||||
},
|
||||
"originalEmail": {
|
||||
"type": "link",
|
||||
"notStorable": true,
|
||||
"entity": "Email",
|
||||
"utility": true,
|
||||
"orderDisabled": true,
|
||||
"directAccessDisabled": true
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"modifiedAt": {
|
||||
"type": "datetime",
|
||||
"readOnly": true,
|
||||
"fieldManagerParamList": [
|
||||
"useNumericFormat"
|
||||
]
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "link",
|
||||
"readOnly": true,
|
||||
"view": "views/fields/user",
|
||||
"fieldManagerParamList": []
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "link",
|
||||
"required": true,
|
||||
"view": "views/fields/assigned-user"
|
||||
},
|
||||
"teams": {
|
||||
"type": "linkMultiple",
|
||||
"view": "views/fields/teams"
|
||||
},
|
||||
"attachments": {
|
||||
"type": "attachmentMultiple",
|
||||
"sourceList": ["Document"]
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"modifiedBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
},
|
||||
"assignedUser": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User",
|
||||
"foreign": "tasks"
|
||||
},
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "entityTeam",
|
||||
"layoutRelationshipsDisabled": true
|
||||
},
|
||||
"parent": {
|
||||
"type": "belongsToParent",
|
||||
"foreign": "tasks"
|
||||
},
|
||||
"account": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Account"
|
||||
},
|
||||
"contact": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Contact"
|
||||
},
|
||||
"email": {
|
||||
"type": "belongsTo",
|
||||
"entity": "Email",
|
||||
"foreign": "tasks",
|
||||
"noForeignName": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
"orderBy": "createdAt",
|
||||
"order": "desc"
|
||||
},
|
||||
"indexes": {
|
||||
"dateStartStatus": {
|
||||
"columns": ["dateStart", "status"]
|
||||
},
|
||||
"dateEndStatus": {
|
||||
"columns": ["dateEnd", "status"]
|
||||
},
|
||||
"dateStart": {
|
||||
"columns": ["dateStart", "deleted"]
|
||||
},
|
||||
"status": {
|
||||
"columns": ["status", "deleted"]
|
||||
},
|
||||
"assignedUser": {
|
||||
"columns": ["assignedUserId", "deleted"]
|
||||
},
|
||||
"assignedUserStatus": {
|
||||
"columns": ["assignedUserId", "status"]
|
||||
}
|
||||
},
|
||||
"repositoryClassName": "Espo\\Core\\Repositories\\Event",
|
||||
"optimisticConcurrencyControl": true
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"fields": {
|
||||
"targetListIsOptedOut": {
|
||||
"type": "bool",
|
||||
"notStorable": true,
|
||||
"orderDisabled": true,
|
||||
"readOnly": true,
|
||||
"utility": true,
|
||||
"fieldManagerParamList": []
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"targetLists": {
|
||||
"type": "hasMany",
|
||||
"entity": "TargetList",
|
||||
"foreign": "users",
|
||||
"columnAttributeMap": {
|
||||
"optedOut": "targetListIsOptedOut"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
{
|
||||
"fields": {
|
||||
"targetLists": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Email"
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Newsletter"
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Informational Email"
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Mail"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"excludingTargetLists": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Email"
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Newsletter"
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Informational Email"
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Mail"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"contactsTemplate": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Mail"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"leadsTemplate": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Mail"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"accountsTemplate": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Mail"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"usersTemplate": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Mail"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"mailMergeOnlyWithAddress": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Mail"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"panels": {
|
||||
"massEmails": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": [
|
||||
"Email",
|
||||
"Newsletter",
|
||||
"Informational Email"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"trackingUrls": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": ["Email", "Newsletter"]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"mailMerge": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": ["Mail"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"fields": {
|
||||
"url": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "action",
|
||||
"value": "Redirect"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "action",
|
||||
"value": "Redirect"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"message": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "action",
|
||||
"value": "Show Message"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "action",
|
||||
"value": "Show Message"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"fields": {
|
||||
"number": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"fields": {
|
||||
"title": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "accountId"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"portalUser": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "portalUserId",
|
||||
"data": {
|
||||
"field": "portalUser"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"fields": {
|
||||
"status": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "and",
|
||||
"value": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "status",
|
||||
"value": "Complete"
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "status",
|
||||
"value": "In Process"
|
||||
},
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "status",
|
||||
"value": "Failed"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"status": [
|
||||
{
|
||||
"optionList": [
|
||||
"Draft",
|
||||
"Pending"
|
||||
],
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "status",
|
||||
"value": [
|
||||
"Draft",
|
||||
"Pending"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"fields": {
|
||||
"lastStage": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "stage",
|
||||
"value": "Closed Lost"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"fields": {
|
||||
"entryCount": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"optedOutCount": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"fields": {
|
||||
"dateCompleted": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "status",
|
||||
"value": "Completed"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"assignmentNotificatorClassName": "Espo\\Modules\\Crm\\Classes\\AssignmentNotificators\\Meeting",
|
||||
"forceAssignmentNotificator": true
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"emailNotificationHandlerClassNameMap": {
|
||||
"notePost": "Espo\\Modules\\Crm\\Classes\\EmailNotificationHandlers\\CaseObj"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user