UNPKG

@itentialopensource/email-notification

Version:

[Deprecated] Send Email Notifications

273 lines 5.31 kB
{ "_id": "5fda8e5c255fc96a1dd6c4dc", "name": "email-notification", "description": "", "incoming": [ { "$id": "formData", "type": "object", "properties": { "senderEmailAddress": { "type": "string", "examples": [ "we" ] }, "receiverEmailAddress": { "type": "string" }, "subject": { "type": "string", "examples": [ "rewrr" ] }, "message": { "type": "string", "examples": [ "erw" ] }, "emailAdapter": { "type": "string", "examples": [ "erw" ] } }, "required": [] } ], "outgoing": [ { "$id": "to", "type": "string" }, { "$id": "from", "type": "string", "examples": [ "from" ] }, { "$id": "subject", "type": "string", "examples": [ "subject" ] }, { "$id": "messageBody", "type": "string", "examples": [ "message" ] }, { "$id": "adapterId", "type": "string" } ], "steps": [ { "id": 1, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/senderEmailAddress" }, "to": { "location": "outgoing", "name": "from", "ptr": "" } }, { "id": 2, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/subject" }, "to": { "location": "outgoing", "name": "subject", "ptr": "" } }, { "id": 3, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/message" }, "to": { "location": "outgoing", "name": "messageBody", "ptr": "" } }, { "id": 20, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/emailAdapter" }, "to": { "location": "outgoing", "name": "adapterId", "ptr": "" }, "context": "#" }, { "id": 21, "type": "assign", "from": { "location": "incoming", "name": "formData", "ptr": "/receiverEmailAddress" }, "to": { "location": "outgoing", "name": "to", "ptr": "" }, "context": "#" } ], "functions": [ { "incoming": [ { "type": [ "array", "boolean", "number", "integer", "string", "object", "null" ], "$id": "currentValue" }, { "title": "index", "type": "number", "optional": true, "$id": "index" }, { "type": "array", "$id": "array", "optional": true }, { "$id": "thisArg", "type": "object", "properties": {}, "isContext": true, "isThis": true, "isIndexed": true } ], "outgoing": [ { "title": "newValue", "type": [ "array", "boolean", "number", "integer", "string", "object", "null" ], "editable": true, "$id": "newValue" } ], "functions": [], "name": "mapReceiverEmail", "steps": [ { "id": 1, "type": "method", "library": "Object", "method": "getProperty", "args": [ null, "receiverEmailAddress" ], "view": { "row": 1, "col": 1 }, "context": "#" }, { "id": 2, "type": "assign", "from": { "location": "method", "name": 1, "ptr": "/return" }, "to": { "location": "outgoing", "name": "newValue", "ptr": "" }, "context": "#" }, { "id": 3, "type": "assign", "from": { "location": "incoming", "name": "currentValue", "ptr": "" }, "to": { "location": "method", "name": 1, "ptr": "/args/0/value" }, "context": "#" } ], "view": { "col": 1, "row": 4 }, "id": "mapReceiverEmail", "comments": [] } ], "comments": [], "view": { "col": 2, "row": 5 }, "created": "2023-07-14T18:58:01.666Z", "createdBy": { "_id": "646fa4422d25720618a4c098", "provenance": "local_aaa", "username": "admin@pronghorn" }, "lastUpdated": "2023-07-14T18:58:01.666Z", "lastUpdatedBy": { "_id": "646fa4422d25720618a4c098", "provenance": "local_aaa", "username": "admin@pronghorn" }, "version": "4.1.2-2023.1.5", "tags": [] }