Built motion from commit e8da49ee.|2.6.33
[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 _0xaf97=['starttime','setDataValue','endtime','format','STRING','BOOLEAN','moment','sequelize','exports','DATE'];(function(_0x5bdf64,_0x4e5c71){var _0x323a2c=function(_0x1e3f51){while(--_0x1e3f51){_0x5bdf64['push'](_0x5bdf64['shift']());}};_0x323a2c(++_0x4e5c71);}(_0xaf97,0x15a));var _0x7af9=function(_0x5ba9d1,_0x4ef651){_0x5ba9d1=_0x5ba9d1-0x0;var _0x1bb891=_0xaf97[_0x5ba9d1];return _0x1bb891;};'use strict';var moment=require(_0x7af9('0x0'));var Sequelize=require(_0x7af9('0x1'));module[_0x7af9('0x2')]={'starttime':{'type':Sequelize[_0x7af9('0x3')],'set':function(_0x14c3e0){this['setDataValue'](_0x7af9('0x4'),_0x14c3e0);this[_0x7af9('0x5')](_0x7af9('0x6'),moment()[_0x7af9('0x7')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x7af9('0x3')]},'membername':{'type':Sequelize[_0x7af9('0x8')]},'projectname':{'type':Sequelize[_0x7af9('0x8')]},'queue':{'type':Sequelize[_0x7af9('0x8')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x7af9('0x8')]},'calleridnum':{'type':Sequelize[_0x7af9('0x8')]},'completed':{'type':Sequelize[_0x7af9('0x9')],'defaultValue':![]}};