Built motion from commit d5e4af8c.|2.6.23
[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 _0x8417=['exports','setDataValue','endtime','YYYY-MM-DD\x20HH:mm:ss','DATE','STRING','BOOLEAN','moment','sequelize'];(function(_0x428659,_0x4e40bf){var _0x3e7c37=function(_0x5648f3){while(--_0x5648f3){_0x428659['push'](_0x428659['shift']());}};_0x3e7c37(++_0x4e40bf);}(_0x8417,0xfa));var _0x7841=function(_0x4620c5,_0x2079db){_0x4620c5=_0x4620c5-0x0;var _0x15310d=_0x8417[_0x4620c5];return _0x15310d;};'use strict';var moment=require(_0x7841('0x0'));var Sequelize=require(_0x7841('0x1'));module[_0x7841('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x4ce4b8){this[_0x7841('0x3')]('starttime',_0x4ce4b8);this[_0x7841('0x3')](_0x7841('0x4'),moment()['format'](_0x7841('0x5')));}},'endtime':{'type':Sequelize[_0x7841('0x6')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x7841('0x7')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x7841('0x7')]},'calleridname':{'type':Sequelize[_0x7841('0x7')]},'calleridnum':{'type':Sequelize[_0x7841('0x7')]},'completed':{'type':Sequelize[_0x7841('0x8')],'defaultValue':![]}};