Built motion from commit 9d7072cc.|2.5.39
[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 _0xe3ef=['STRING','BOOLEAN','sequelize','exports','DATE','setDataValue','starttime','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x337238,_0x29b880){var _0x1dbac9=function(_0x3b4497){while(--_0x3b4497){_0x337238['push'](_0x337238['shift']());}};_0x1dbac9(++_0x29b880);}(_0xe3ef,0x1bb));var _0xfe3e=function(_0x1aee7f,_0x2dd254){_0x1aee7f=_0x1aee7f-0x0;var _0x477788=_0xe3ef[_0x1aee7f];return _0x477788;};'use strict';var moment=require('moment');var Sequelize=require(_0xfe3e('0x0'));module[_0xfe3e('0x1')]={'starttime':{'type':Sequelize[_0xfe3e('0x2')],'set':function(_0xdf1821){this[_0xfe3e('0x3')](_0xfe3e('0x4'),_0xdf1821);this['setDataValue']('endtime',moment()[_0xfe3e('0x5')](_0xfe3e('0x6')));}},'endtime':{'type':Sequelize[_0xfe3e('0x2')]},'membername':{'type':Sequelize[_0xfe3e('0x7')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0xfe3e('0x7')]},'uniqueid':{'type':Sequelize[_0xfe3e('0x7')]},'calleridname':{'type':Sequelize[_0xfe3e('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0xfe3e('0x8')],'defaultValue':![]}};