95c392463683ebdfecb7be8faed32dfed93660a9
[motion2.git] / server / api / jscriptySessionReport / jscriptySessionReport.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x60b5=['STRING','BOOLEAN','exports','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','DATE'];(function(_0x46e933,_0x3e6cf0){var _0x3a396b=function(_0xd88880){while(--_0xd88880){_0x46e933['push'](_0x46e933['shift']());}};_0x3a396b(++_0x3e6cf0);}(_0x60b5,0x161));var _0x560b=function(_0x1ae54a,_0x290259){_0x1ae54a=_0x1ae54a-0x0;var _0x3896d1=_0x60b5[_0x1ae54a];return _0x3896d1;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module[_0x560b('0x0')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x2ff934){this[_0x560b('0x1')](_0x560b('0x2'),_0x2ff934);this[_0x560b('0x1')](_0x560b('0x3'),moment()[_0x560b('0x4')](_0x560b('0x5')));}},'endtime':{'type':Sequelize[_0x560b('0x6')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x560b('0x7')]},'queue':{'type':Sequelize[_0x560b('0x7')]},'uniqueid':{'type':Sequelize[_0x560b('0x7')]},'calleridname':{'type':Sequelize[_0x560b('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x560b('0x8')],'defaultValue':![]}};