cluedin-widget
Version:
This is the project for creating and managing widgets in CluedIn.
177 lines (176 loc) • 6.07 kB
JavaScript
var fakeDate = require( './date' );
module.exports = [
{
"data": {
"authors": [ {
name: 'Patrick Duel'
} ],
lastChangedBy: {
name: 'Patrick Duel'
},
"entityType": "/Issue",
"name": "why is the answer to life 42?",
"provider-origins": [ "Zendesk" ],
"uri": "https://cluedin.zendesk.com/agent/tickets/8",
"createdDate": fakeDate.now,
"modifiedDate": fakeDate.now,
"description": "why is the answer to life 42?\n\n------------------\n Submitted from: https://jimmie.singlepageapp.be/#/#app",
"discoveryDate": fakeDate.now
},
"name": "why is the answer to life 42?",
"id": "80c874e8-f72f-53f0-9d68-cbd888e4de9c",
"showDescription": true,
"providers": [ "Zendesk" ],
"NumberOfFollowers": 0,
"FollowersCount": 0,
"properties": [ {
"isHtml": false,
"name": "Status",
"value": "closed",
"displayName": "Status",
"original": "closed",
"key": "status"
}, {
"name": "Original Url",
"value": "https://cluedin.zendesk.com/api/v2/tickets/8.json",
"isUrl": true,
"displayName": "Original Url",
"original": "https://cluedin.zendesk.com/api/v2/tickets/8.json",
"key": "url"
}, {
"isHtml": false,
"name": "From Email",
"displayName": "From Email",
value: "info@something.com",
"key": "frommail"
}, {
"isHtml": false,
"name": "Channel",
"value": "web",
"displayName": "Channel",
"original": "web",
"key": "channel"
}, {
"isHtml": false, "name": "From Name",
"displayName": "From Name",
value: "John Doe",
"key": "fromName"
} ]
},
{
"data": {
"authors": [ {
name: 'Tony Stark'
} ],
lastChangedBy: {
name: 'Patrick Duel'
},
"entityType": "/Issue",
"name": "Cannot login in Customer Section",
"provider-origins": [ "Zendesk" ],
"uri": "https://cluedin.zendesk.com/agent/tickets/8",
"createdDate": fakeDate.now,
"modifiedDate": fakeDate.now,
"description": "why is the answer to life 42?\n\n------------------\n Submitted from: https://jimmie.singlepageapp.be/#/#app",
"discoveryDate": fakeDate.now
},
"name": "Cannot login in Customer Section",
"id": "80c874e8-f72f-53f0-9d68-cbd888e4de8c",
"showDescription": true,
"providers": [ "Zendesk" ],
"NumberOfFollowers": 0,
"FollowersCount": 0,
"properties": [ {
"isHtml": false,
"name": "Status",
"value": "open",
"displayName": "Status",
"original": "closed",
"key": "status"
}, {
"name": "Original Url",
"value": "https://cluedin.zendesk.com/api/v2/tickets/8.json",
"isUrl": true,
"displayName": "Original Url",
"original": "https://cluedin.zendesk.com/api/v2/tickets/8.json",
"key": "url"
}, {
"isHtml": false,
"name": "From Email",
value: "lucky.luke@comics.com",
"displayName": "From Email",
"key": "frommail"
}, {
"isHtml": false,
"name": "Channel",
"value": "web",
"displayName": "Channel",
"original": "web",
"key": "channel"
}, {
"isHtml": false,
"name": "From Name",
value: "Luky Luke",
"displayName": "From Name",
"key": "fromName"
} ]
},
{
"data": {
"authors": [ {
name: 'John Doe'
} ],
lastChangedBy: {
name: 'Tony Stark'
},
"entityType": "/Issue",
"name": "I have forgotten my password, how can I get a new one?",
"provider-origins": [ "Zendesk" ],
"uri": "https://cluedin.zendesk.com/agent/tickets/8",
"createdDate": fakeDate.now,
"modifiedDate": fakeDate.now,
"description": "why is the answer to life 42?\n\n------------------\n Submitted from: https://jimmie.singlepageapp.be/#/#app",
"discoveryDate": fakeDate.now
},
"name": "I have forgotten my password, how can I get a new one?",
"id": "80c874e8-f72f-53f0-9d68-cbd888e4de7c",
"showDescription": true,
"providers": [ "Zendesk" ],
"NumberOfFollowers": 0,
"FollowersCount": 0,
"properties": [ {
"isHtml": false,
"name": "Status",
"value": "open",
"displayName": "Status",
"original": "closed",
"key": "status"
}, {
"name": "Original Url",
"value": "https://cluedin.zendesk.com/api/v2/tickets/8.json",
"isUrl": true,
"displayName": "Original Url",
"original": "https://cluedin.zendesk.com/api/v2/tickets/8.json",
"key": "url"
}, {
"isHtml": false,
"name": "From Email",
value: "marcel.vaillant@auto.com",
"displayName": "From Email",
"key": "frommail"
}, {
"isHtml": false,
"name": "Channel",
"value": "web",
"displayName": "Channel",
"original": "web",
"key": "channel"
}, {
"isHtml": false,
"name": "From Name",
value: "Marcel Vaillant",
"displayName": "From Name",
"key": "fromName"
} ]
}
];