Built motion from commit a61a4a20.|2.5.46
[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 _0x3618=['sequelize','exports','setDataValue','starttime','format','YYYY-MM-DD\x20HH:mm:ss','DATE','STRING','BOOLEAN','moment'];(function(_0x511888,_0x366d22){var _0x146eee=function(_0x4c496b){while(--_0x4c496b){_0x511888['push'](_0x511888['shift']());}};_0x146eee(++_0x366d22);}(_0x3618,0x10d));var _0x8361=function(_0x334841,_0x2bbc4c){_0x334841=_0x334841-0x0;var _0x5beb4b=_0x3618[_0x334841];return _0x5beb4b;};'use strict';var moment=require(_0x8361('0x0'));var Sequelize=require(_0x8361('0x1'));module[_0x8361('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x561938){this[_0x8361('0x3')](_0x8361('0x4'),_0x561938);this['setDataValue']('endtime',moment()[_0x8361('0x5')](_0x8361('0x6')));}},'endtime':{'type':Sequelize[_0x8361('0x7')]},'membername':{'type':Sequelize[_0x8361('0x8')]},'projectname':{'type':Sequelize[_0x8361('0x8')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x8361('0x8')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x8361('0x8')]},'completed':{'type':Sequelize[_0x8361('0x9')],'defaultValue':![]}};