nymea/plugins/deviceplugins/mailnotification/devicepluginmailnotificatio...

257 lines
11 KiB
JSON

{
"name": "Mail notification",
"idName": "MailNotification",
"id": "1ae35df1-1b51-4c93-94fa-3febc77e0318",
"vendors": [
{
"name": "guh",
"idName": "guh",
"id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6",
"deviceClasses": [
{
"id": "f4844c97-7ca6-4349-904e-ff9749a9fe74",
"idName": "customMail",
"name": "Custom mail",
"deviceIcon": "Mail",
"basicTags": [
"Service",
"Notification"
],
"createMethods": ["user"],
"paramTypes": [
{
"id": "af30ce7b-fb6b-42f0-889d-20b32f8b8fa4",
"idName": "customSender",
"name": "sender mail",
"type": "QString",
"index": 0,
"inputType": "Mail"
},
{
"id": "b91d0ecc-6903-4991-ae8d-f36757ce40a7",
"idName": "customUser",
"name": "user",
"type": "QString",
"index": 1,
"inputType": "TextLine"
},
{
"id": "ac29e643-1d18-4612-8d2f-65fb07a67182",
"idName": "customPassword",
"name": "password",
"type": "QString",
"index": 2,
"inputType": "Password"
},
{
"id": "d657f002-9741-42e1-9fef-32eae96dacdb",
"idName": "customRecipient",
"name": "recipient",
"type": "QString",
"index": 3,
"inputType": "Mail"
},
{
"id": "421f13f2-c311-446a-8ae0-7f0a1a4e1786",
"idName": "smtp",
"name": "SMTP server",
"type": "QString",
"index": 4,
"inputType": "Url"
},
{
"id": "56ec204f-2e02-4a17-b9d1-e855e384b689",
"idName": "port",
"name": "port",
"type": "int",
"index": 5,
"defaultValue": "465"
},
{
"id": "789b963b-4143-4e21-853c-2612707d726f",
"idName": "authentication",
"name": "authentification",
"type": "QString",
"index": 6,
"defaultValue": "LOGIN",
"allowedValues": ["PLAIN", "LOGIN"]
},
{
"id": "2af9a397-f517-49db-9ac1-3e873f7ac78b",
"idName": "encryption",
"name": "encryption",
"type": "QString",
"index": 7,
"allowedValues": ["NONE","SSL","TLS"]
}
],
"actionTypes": [
{
"id": "054613b0-3666-4dad-9252-e0ebca187edc",
"name": "send mail",
"index": 0,
"paramTypes": [
{
"id": "2047e0f4-3d34-4214-bc8f-9ab741ae6006",
"idName": "subject",
"name": "subject",
"type": "QString",
"index": 0,
"inputType": "TextLine"
},
{
"id": "aeb6e79e-9862-43e1-9873-cbdce549344a",
"idName": "body",
"name": "body",
"type": "QString",
"index": 1,
"inputType": "TextArea"
}
]
}
]
}
]
},
{
"name": "Google",
"idName": "google",
"id": "d02399c5-8e79-40be-8cf6-e00b55bbfe7c",
"deviceClasses": [
{
"id": "3869884a-1592-4b8f-84a7-994be18ff555",
"idName": "googleMail",
"name": "Google mail",
"deviceIcon": "Mail",
"basicTags": [
"Service",
"Notification"
],
"createMethods": ["user"],
"paramTypes": [
{
"id": "0a4ea3ff-ea76-4a5f-adbb-b8f79faa2156",
"idName": "user",
"name": "user",
"type": "QString",
"index": 0,
"inputType": "Mail"
},
{
"id": "f63f6486-5340-472a-b37c-be828111725c",
"idName": "password",
"name": "password",
"type": "QString",
"index": 1,
"inputType": "Password"
},
{
"id": "76697fe2-3393-4ed0-a15d-9d041502cfd3",
"idName": "recipient",
"name": "recipient",
"type": "QString",
"index": 2,
"inputType": "Mail"
}
],
"actionTypes": [
{
"id": "054613b0-3666-4dad-9252-e0ebca187edc",
"idName": "sendMail",
"index": 0,
"name": "send mail",
"paramTypes": [
{
"id": "2047e0f4-3d34-4214-bc8f-9ab741ae6006",
"idName": "subject",
"name": "subject",
"type": "QString",
"index": 0,
"inputType": "TextLine"
},
{
"id": "aeb6e79e-9862-43e1-9873-cbdce549344a",
"idName": "body",
"name": "body",
"type": "QString",
"index": 1,
"inputType": "TextArea"
}
]
}
]
}
]
},
{
"name": "Yahoo",
"idName": "yahoo",
"id": "5eb3e1e9-25a7-4740-806e-5cfc836e4bf5",
"deviceClasses": [
{
"id": "59409e8f-0c83-414f-abd5-bbbf2758acba",
"idName": "yahooMail",
"name": "Yahoo mail",
"deviceIcon": "Mail",
"basicTags": [
"Service",
"Notification"
],
"createMethods": ["user"],
"paramTypes": [
{
"id": "0a4ea3ff-ea76-4a5f-adbb-b8f79faa2156",
"idName": "user",
"name": "user",
"type": "QString",
"index": 0,
"inputType": "Mail"
},
{
"id": "f63f6486-5340-472a-b37c-be828111725c",
"idName": "password",
"name": "password",
"type": "QString",
"index": 1,
"inputType": "Password"
},
{
"id": "76697fe2-3393-4ed0-a15d-9d041502cfd3",
"idName": "recipient",
"name": "recipient",
"type": "QString",
"index": 2,
"inputType": "Mail"
}
],
"actionTypes": [
{
"id": "054613b0-3666-4dad-9252-e0ebca187edc",
"name": "send mail",
"index": 0,
"paramTypes": [
{
"id": "2047e0f4-3d34-4214-bc8f-9ab741ae6006",
"idName": "subject",
"name": "subject",
"type": "QString",
"index": 0,
"inputType": "TextLine"
},
{
"id": "aeb6e79e-9862-43e1-9873-cbdce549344a",
"idName": "body",
"name": "body",
"type": "QString",
"index": 1,
"inputType": "TextArea"
}
]
}
]
}
]
}
]
}