1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/test/social/pushbullet/data.js

222 lines
7.0 KiB
JavaScript

module.exports = {
base: {
"accounts": [],
"aliases": [],
"channels": [],
"clients": [],
"contacts": [],
"devices": [],
"grants": [],
"pushes": [],
"subscriptions": []
},
modified: {
"active": true,
"iden": "xXxXxXxXxXxsjArqXRsaZM",
"created": 1421834169.9435499,
"modified": 1234,
"type": "note",
"dismissed": false,
"sender_iden": "xXxXxXxXxXx",
"sender_email": "john.doe@noma.il",
"sender_email_normalized": "johndoe@noma.il",
"sender_name": "John Doe",
"receiver_iden": "xXxXxXxXxXx",
"receiver_email": "john.doe@noma.il",
"receiver_email_normalized": "johndoe@noma.il",
"title": "title",
"body": "body"
},
devices: [
{
"active": true,
"iden": "xXxXxXxXxXxsjAnBdJA0yG",
"created": 1418045447.298193,
"modified": 1420698259.7963278,
"type": "chrome",
"kind": "chrome",
"nickname": "Chrome",
"manufacturer": "Google",
"model": "Chrome",
"app_version": 157,
"pushable": true
},
{
"active": true,
"iden": "xXxXxXxXxXxsjAiVsKnSTs",
"created": 1418045076.665757,
"modified": 1418047786.564935,
"type": "ios",
"kind": "ios",
"nickname": "myphone",
"manufacturer": "Apple",
"model": "iPhone 5s (Global)",
"app_version": 3671,
"push_token": "production",
"pushable": true
}
],
me: {
"iden": "xXxXxXxXxXx",
"created": 1418045075.2908669,
"modified": 1418504323.166974,
"email": "john.doe@noma.il",
"email_normalized": "johndoe@noma.il",
"name": "John Doe",
"image_url": "https://photo.jpg",
"google_userinfo": {
"name": "John Doe"
},
"preferences": {
"onboarding": {
"app": false,
"extension": false,
"friends": true
},
"social": false
}
},
note: {
"active": true,
"iden": "xXxXxXxXxXxsjArqXRsaZM",
"created": 1421834169.9435499,
"modified": 1421850263.303394,
"type": "note",
"dismissed": false,
"sender_iden": "xXxXxXxXxXx",
"sender_email": "john.doe@noma.il",
"sender_email_normalized": "johndoe@noma.il",
"sender_name": "John Doe",
"receiver_iden": "xXxXxXxXxXx",
"receiver_email": "john.doe@noma.il",
"receiver_email_normalized": "johndoe@noma.il",
"title": "title",
"body": "body"
},
link: {
"active": true,
"iden": "xXxXxXxXxXxsjxQymYT0qy",
"created": 1421834198.374012,
"modified": 1421850263.181358,
"type": "link",
"dismissed": false,
"sender_iden": "xXxXxXxXxXx",
"sender_email": "john.doe@noma.il",
"sender_email_normalized": "johndoe@noma.il",
"sender_name": "John Doe",
"receiver_iden": "xXxXxXxXxXx",
"receiver_email": "john.doe@noma.il",
"receiver_email_normalized": "johndoe@noma.il",
"title": "title",
"url": "url"
},
file: {
"active": true,
"iden": "xXxXxXxXxXxsjAjKAwqc5k",
"created": 1421842821.5911932,
"modified": 1421850262.446063,
"type": "file",
"dismissed": false,
"sender_iden": "xXxXxXxXxXx",
"sender_email": "john.doe@noma.il",
"sender_email_normalized": "johndoe@noma.il",
"sender_name": "John Doe",
"receiver_iden": "xXxXxXxXxXx",
"receiver_email": "john.doe@noma.il",
"receiver_email_normalized": "johndoe@noma.il",
"body": "title",
"file_name": "filename",
"file_type": "text/plain",
"file_url": "fileurl"
},
address: {
"active": true,
"iden": "xXxXxXxXxXxsjAlHSjtjcO",
"created": 1421834217.764878,
"modified": 1421850261.531033,
"type": "address",
"dismissed": false,
"sender_iden": "xXxXxXxXxXx",
"sender_email": "john.doe@noma.il",
"sender_email_normalized": "johndoe@noma.il",
"sender_name": "John Doe",
"receiver_iden": "xXxXxXxXxXx",
"receiver_email": "john.doe@noma.il",
"receiver_email_normalized": "johndoe@noma.il",
"name": "title",
"address": "address"
},
list: {
"active": true,
"iden": "xXxXxXxXxXxsjAdWmbcF3Y",
"created": 1421834433.677966,
"modified": 1421834444.256159,
"type": "list",
"dismissed": false,
"sender_iden": "xXxXxXxXxXx",
"sender_email": "john.doe@noma.il",
"sender_email_normalized": "johndoe@noma.il",
"sender_name": "John Doe",
"receiver_iden": "xXxXxXxXxXx",
"receiver_email": "john.doe@noma.il",
"receiver_email_normalized": "johndoe@noma.il",
"title": "title",
"items": [
{
"checked": true,
"text": "a"
},
{
"checked": true,
"text": "b"
},
{
"checked": false,
"text": "c"
}
]
},
mirror: {
"type": "mirror",
"iden": "pjgzwwn3YPQ",
"source_device_iden": "ubddjAzSDVLgrI",
"package_name": "com.pushbullet.android",
"application_name": "Pushbullet",
"notification_id": "-8",
"notification_tag": null,
"dismissable": true,
"title": "Mirroring test",
"body": "If you see this on your computer, mirroring is working!\n",
"icon": "iVBORw0KGgoAAAANSUhEBgUzC42AAAADNElEQVRo\ng==\n",
"created": 1399350964.1649699,
"sender_iden": "ubd",
"sender_email": "ryan@pushbullet.com",
"sender_email_normalized": "ryan@pushbullet.com",
"receiver_iden": "ubd",
"receiver_email": "ryan@pushbullet.com",
"receiver_email_normalized": "ryan@pushbullet.com"
},
dismissal: {
"type": "dismissal",
"iden": "pjgzwwocCCy",
"source_device_iden": "ubddjAzSDVLgrI",
"package_name": "com.pushbullet.android",
"notification_id": "-8",
"notification_tag":null,
"created":1399350966.22458,
"sender_iden": "ubd",
"sender_email": "ryan@pushbullet.com",
"sender_email_normalized": "ryan@pushbullet.com",
"receiver_iden": "ubd",
"receiver_email": "ryan@pushbullet.com",
"receiver_email_normalized": "ryan@pushbullet.com"
},
"delete": {
"active": false,
"iden": "pjgzwwocCCy",
"created": 1422525494.4456809,
"modified": 1422526124.538504,
"dismissed": false
}
};