nymea-plugins/mailnotification/integrationpluginmailnotifi...

91 lines
3.8 KiB
JSON

{
"name": "MailNotification",
"displayName": "Mail notification",
"id": "1ae35df1-1b51-4c93-94fa-3febc77e0318",
"vendors": [
{
"name": "nymea",
"displayName": "nymea",
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
"thingClasses": [
{
"id": "f4844c97-7ca6-4349-904e-ff9749a9fe74",
"name": "customMail",
"displayName": "E-mail notifications",
"createMethods": [ "user" ],
"setupMethod": "userandpassword",
"interfaces": [ "notifications" ],
"paramTypes": [
{
"id": "af30ce7b-fb6b-42f0-889d-20b32f8b8fa4",
"name": "sender",
"displayName": "Sender mail",
"type": "QString",
"inputType": "Mail"
},
{
"id": "d657f002-9741-42e1-9fef-32eae96dacdb",
"name": "recipient",
"displayName": "Recipient",
"type": "QString",
"inputType": "Mail"
},
{
"id": "421f13f2-c311-446a-8ae0-7f0a1a4e1786",
"name": "smtp",
"displayName": "SMTP server",
"type": "QString",
"inputType": "Url"
},
{
"id": "56ec204f-2e02-4a17-b9d1-e855e384b689",
"name": "port",
"displayName": "Port",
"type": "int",
"defaultValue": 25
},
{
"id": "789b963b-4143-4e21-853c-2612707d726f",
"name": "authentication",
"displayName": "authentification",
"type": "QString",
"defaultValue": "LOGIN",
"allowedValues": ["PLAIN", "LOGIN"]
},
{
"id": "2af9a397-f517-49db-9ac1-3e873f7ac78b",
"name": "encryption",
"displayName": "encryption",
"type": "QString",
"allowedValues": ["NONE","SSL","TLS"]
}
],
"actionTypes": [
{
"id": "054613b0-3666-4dad-9252-e0ebca187edc",
"name": "notify",
"displayName": "send mail",
"paramTypes": [
{
"id": "2047e0f4-3d34-4214-bc8f-9ab741ae6006",
"name": "title",
"displayName": "subject",
"type": "QString",
"inputType": "TextLine"
},
{
"id": "aeb6e79e-9862-43e1-9873-cbdce549344a",
"name": "body",
"displayName": "body",
"type": "QString",
"inputType": "TextArea"
}
]
}
]
}
]
}
]
}