8b41a95f9ed1651116c958b5cfd1af230beb2d97
[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 _0x884f=['setDataValue','format','YYYY-MM-DD\x20HH:mm:ss','DATE','STRING','BOOLEAN','sequelize','starttime'];(function(_0x3bc4c9,_0x4d7cfe){var _0x29cdea=function(_0x229e07){while(--_0x229e07){_0x3bc4c9['push'](_0x3bc4c9['shift']());}};_0x29cdea(++_0x4d7cfe);}(_0x884f,0x116));var _0xf884=function(_0x50e1bc,_0x4128d7){_0x50e1bc=_0x50e1bc-0x0;var _0x3b92f2=_0x884f[_0x50e1bc];return _0x3b92f2;};'use strict';var moment=require('moment');var Sequelize=require(_0xf884('0x0'));module['exports']={'starttime':{'type':Sequelize['DATE'],'set':function(_0x40908d){this['setDataValue'](_0xf884('0x1'),_0x40908d);this[_0xf884('0x2')]('endtime',moment()[_0xf884('0x3')](_0xf884('0x4')));}},'endtime':{'type':Sequelize[_0xf884('0x5')]},'membername':{'type':Sequelize[_0xf884('0x6')]},'projectname':{'type':Sequelize[_0xf884('0x6')]},'queue':{'type':Sequelize[_0xf884('0x6')]},'uniqueid':{'type':Sequelize[_0xf884('0x6')]},'calleridname':{'type':Sequelize[_0xf884('0x6')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0xf884('0x7')],'defaultValue':![]}};