Built motion from commit 85328c08.|2.5.50
[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 _0xeb27=['exports','DATE','setDataValue','starttime','endtime','format','STRING','BOOLEAN','sequelize'];(function(_0x2198b9,_0x21c713){var _0x349089=function(_0x3b8192){while(--_0x3b8192){_0x2198b9['push'](_0x2198b9['shift']());}};_0x349089(++_0x21c713);}(_0xeb27,0x74));var _0x7eb2=function(_0x4a93ae,_0x3c2b04){_0x4a93ae=_0x4a93ae-0x0;var _0x2c12ef=_0xeb27[_0x4a93ae];return _0x2c12ef;};'use strict';var moment=require('moment');var Sequelize=require(_0x7eb2('0x0'));module[_0x7eb2('0x1')]={'starttime':{'type':Sequelize[_0x7eb2('0x2')],'set':function(_0x4a2bb4){this[_0x7eb2('0x3')](_0x7eb2('0x4'),_0x4a2bb4);this['setDataValue'](_0x7eb2('0x5'),moment()[_0x7eb2('0x6')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x7eb2('0x2')]},'membername':{'type':Sequelize[_0x7eb2('0x7')]},'projectname':{'type':Sequelize[_0x7eb2('0x7')]},'queue':{'type':Sequelize[_0x7eb2('0x7')]},'uniqueid':{'type':Sequelize[_0x7eb2('0x7')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x7eb2('0x7')]},'completed':{'type':Sequelize[_0x7eb2('0x8')],'defaultValue':![]}};