Built motion from commit f9526609.|2.6.29
[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 _0x3757=['sequelize','exports','DATE','setDataValue','starttime','format','STRING','moment'];(function(_0x4d9bb2,_0x3db50d){var _0x3179fe=function(_0x5272f3){while(--_0x5272f3){_0x4d9bb2['push'](_0x4d9bb2['shift']());}};_0x3179fe(++_0x3db50d);}(_0x3757,0x15f));var _0x7375=function(_0x3b5548,_0x4bfa7e){_0x3b5548=_0x3b5548-0x0;var _0x51a59f=_0x3757[_0x3b5548];return _0x51a59f;};'use strict';var moment=require(_0x7375('0x0'));var Sequelize=require(_0x7375('0x1'));module[_0x7375('0x2')]={'starttime':{'type':Sequelize[_0x7375('0x3')],'set':function(_0x2e9a0b){this[_0x7375('0x4')](_0x7375('0x5'),_0x2e9a0b);this['setDataValue']('endtime',moment()[_0x7375('0x6')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x7375('0x7')]},'projectname':{'type':Sequelize[_0x7375('0x7')]},'queue':{'type':Sequelize[_0x7375('0x7')]},'uniqueid':{'type':Sequelize[_0x7375('0x7')]},'calleridname':{'type':Sequelize[_0x7375('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};