Initial commit
This commit is contained in:
78
application/Espo/Resources/metadata/logicDefs/Email.json
Normal file
78
application/Espo/Resources/metadata/logicDefs/Email.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"fields": {
|
||||
"replied": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "repliedId",
|
||||
"data": {
|
||||
"field": "replied"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"replies": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "repliesIds",
|
||||
"data": {
|
||||
"field": "replies"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"folderString": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "and",
|
||||
"value": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "isUsers"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "groupFolderId"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
},
|
||||
"sendAt": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "status",
|
||||
"value": ["Draft"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"panels": {
|
||||
"event": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "icsEventDateStart"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"fields": {
|
||||
"smtpUsername": {
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "and",
|
||||
"value": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "useSmtp"
|
||||
},
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "smtpAuth"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"fetchSince": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "useImap"
|
||||
}
|
||||
]
|
||||
},
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "fetchData"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "useImap"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"sentFolder": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "storeSentEmails"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "storeSentEmails"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
132
application/Espo/Resources/metadata/logicDefs/EmailFilter.json
Normal file
132
application/Espo/Resources/metadata/logicDefs/EmailFilter.json
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"fields": {
|
||||
"parent": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "isGlobal",
|
||||
"type": "isFalse"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "isGlobal",
|
||||
"type": "isFalse"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"emailFolder": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "action",
|
||||
"type": "equals",
|
||||
"value": "Move to Folder"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "action",
|
||||
"type": "equals",
|
||||
"value": "Move to Folder"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"groupEmailFolder": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "action",
|
||||
"type": "equals",
|
||||
"value": "Move to Group Folder"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "action",
|
||||
"type": "equals",
|
||||
"value": "Move to Group Folder"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"markAsRead": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "parentType",
|
||||
"type": "equals",
|
||||
"value": "User"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"skipNotification": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "parentType",
|
||||
"type": "equals",
|
||||
"value": "User"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"action": [
|
||||
{
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "isGlobal",
|
||||
"type": "isTrue"
|
||||
}
|
||||
],
|
||||
"optionList": [
|
||||
"Skip"
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "parentType",
|
||||
"type": "equals",
|
||||
"value": "User"
|
||||
}
|
||||
],
|
||||
"optionList": [
|
||||
"Skip",
|
||||
"Move to Folder",
|
||||
"None"
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditionGroup": [
|
||||
{
|
||||
"attribute": "parentType",
|
||||
"type": "equals",
|
||||
"value": "InboundEmail"
|
||||
}
|
||||
],
|
||||
"optionList": [
|
||||
"Skip",
|
||||
"Move to Group Folder"
|
||||
]
|
||||
},
|
||||
{
|
||||
"conditionGroup": [],
|
||||
"optionList": [
|
||||
"Skip"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
115
application/Espo/Resources/metadata/logicDefs/InboundEmail.json
Normal file
115
application/Espo/Resources/metadata/logicDefs/InboundEmail.json
Normal file
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"fields": {
|
||||
"smtpUsername": {
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "and",
|
||||
"value": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "useSmtp"
|
||||
},
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "smtpAuth"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"fetchSince": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "useImap"
|
||||
}
|
||||
]
|
||||
},
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "fetchData"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "useImap"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"isSystem": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"replyEmailTemplate": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "reply"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "reply"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"replyFromAddress": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "reply"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"replyFromName": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "reply"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"sentFolder": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "storeSentEmails"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "storeSentEmails"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
237
application/Espo/Resources/metadata/logicDefs/LeadCapture.json
Normal file
237
application/Espo/Resources/metadata/logicDefs/LeadCapture.json
Normal file
@@ -0,0 +1,237 @@
|
||||
{
|
||||
"fields": {
|
||||
"targetList": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "subscribeToTargetList"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "subscribeToTargetList"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"subscribeContactToTargetList": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "subscribeToTargetList"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"optInConfirmationLifetime": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "optInConfirmation"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "optInConfirmation"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"optInConfirmationSuccessMessage": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "optInConfirmation"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"createLeadBeforeOptInConfirmation": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "optInConfirmation"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"smtpAccount": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "optInConfirmation"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"skipOptInConfirmationIfSubscribed": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "and",
|
||||
"value": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "optInConfirmation"
|
||||
},
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "targetListId",
|
||||
"data": {
|
||||
"field": "targetList"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"optInConfirmationEmailTemplate": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "optInConfirmation"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "optInConfirmation"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"apiKey": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"phoneNumberCountry": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "contains",
|
||||
"attribute": "fieldList",
|
||||
"value": "phoneNumber"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"formSuccessText": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"formTitle": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"formTheme": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"formText": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"formSuccessRedirectUrl": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"formLanguage": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"formFrameAncestors": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"formCaptcha": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"panels": {
|
||||
"form": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
},
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "formEnabled"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"fields": {
|
||||
"authorizationRedirectUri": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"clientId": {
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "isActive"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"clientSecret": {
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "isActive"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"authorizationEndpoint": {
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "isActive"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tokenEndpoint": {
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "isActive"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"fields": {
|
||||
"assignmentEmailNotificationsIgnoreEntityTypeList": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "receiveAssignmentEmailNotifications"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
104
application/Espo/Resources/metadata/logicDefs/Template.json
Normal file
104
application/Espo/Resources/metadata/logicDefs/Template.json
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"fields": {
|
||||
"entityType": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footer": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "printFooter"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"footerPosition": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "printFooter"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"header": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "printHeader"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"headerPosition": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "printHeader"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "entityType"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pageWidth": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "pageFormat",
|
||||
"value": "Custom"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "pageFormat",
|
||||
"value": "Custom"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pageHeight": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "pageFormat",
|
||||
"value": "Custom"
|
||||
}
|
||||
]
|
||||
},
|
||||
"required": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "pageFormat",
|
||||
"value": "Custom"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
44
application/Espo/Resources/metadata/logicDefs/User.json
Normal file
44
application/Espo/Resources/metadata/logicDefs/User.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"fields": {
|
||||
"avatarColor": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "avatarId",
|
||||
"value": null,
|
||||
"data": {
|
||||
"field": "avatar"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "in",
|
||||
"attribute": "type",
|
||||
"value": [
|
||||
"regular",
|
||||
"admin",
|
||||
"api"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"authMethod": [
|
||||
{
|
||||
"optionList": [
|
||||
"ApiKey",
|
||||
"Hmac"
|
||||
],
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "api"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
37
application/Espo/Resources/metadata/logicDefs/Webhook.json
Normal file
37
application/Espo/Resources/metadata/logicDefs/Webhook.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"fields": {
|
||||
"event": {
|
||||
"readOnly": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"secretKey": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"skipOwn": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "userId",
|
||||
"data": {
|
||||
"field": "user"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"fields": {
|
||||
"weekday0TimeRanges": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "weekday0"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"weekday1TimeRanges": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "weekday1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"weekday2TimeRanges": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "weekday2"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"weekday3TimeRanges": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "weekday3"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"weekday4TimeRanges": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "weekday4"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"weekday5TimeRanges": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "weekday5"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"weekday6TimeRanges": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isTrue",
|
||||
"attribute": "weekday6"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"teams": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "teamsIds"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"fields": {
|
||||
"timeRanges": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "equals",
|
||||
"attribute": "type",
|
||||
"value": "Working"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"users": {
|
||||
"visible": {
|
||||
"conditionGroup": [
|
||||
{
|
||||
"type": "or",
|
||||
"value": [
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "id"
|
||||
},
|
||||
{
|
||||
"type": "isNotEmpty",
|
||||
"attribute": "usersIds"
|
||||
},
|
||||
{
|
||||
"type": "isEmpty",
|
||||
"attribute": "calendarsIds"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user