Built motion from commit 19a84241.|2.5.34
[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 _0x8ad6=['STRING','moment','sequelize','exports','DATE','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x567e69,_0x1dc29c){var _0x1bf534=function(_0x917776){while(--_0x917776){_0x567e69['push'](_0x567e69['shift']());}};_0x1bf534(++_0x1dc29c);}(_0x8ad6,0x123));var _0x68ad=function(_0x29b436,_0x42b470){_0x29b436=_0x29b436-0x0;var _0x22af10=_0x8ad6[_0x29b436];return _0x22af10;};'use strict';var moment=require(_0x68ad('0x0'));var Sequelize=require(_0x68ad('0x1'));module[_0x68ad('0x2')]={'starttime':{'type':Sequelize[_0x68ad('0x3')],'set':function(_0x42c0ad){this[_0x68ad('0x4')](_0x68ad('0x5'),_0x42c0ad);this['setDataValue'](_0x68ad('0x6'),moment()[_0x68ad('0x7')](_0x68ad('0x8')));}},'endtime':{'type':Sequelize[_0x68ad('0x3')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x68ad('0x9')]},'uniqueid':{'type':Sequelize[_0x68ad('0x9')]},'calleridname':{'type':Sequelize[_0x68ad('0x9')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};