Built motion from commit (unavailable).|2.4.18
[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 _0xb768=['endtime','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','sequelize','exports','DATE','setDataValue','starttime'];(function(_0x28c7a7,_0x55a356){var _0x50610f=function(_0x3a4038){while(--_0x3a4038){_0x28c7a7['push'](_0x28c7a7['shift']());}};_0x50610f(++_0x55a356);}(_0xb768,0x130));var _0x8b76=function(_0x33186c,_0x156f90){_0x33186c=_0x33186c-0x0;var _0x325e19=_0xb768[_0x33186c];return _0x325e19;};'use strict';var moment=require(_0x8b76('0x0'));var Sequelize=require(_0x8b76('0x1'));module[_0x8b76('0x2')]={'starttime':{'type':Sequelize[_0x8b76('0x3')],'set':function(_0x58760f){this[_0x8b76('0x4')](_0x8b76('0x5'),_0x58760f);this['setDataValue'](_0x8b76('0x6'),moment()['format'](_0x8b76('0x7')));}},'endtime':{'type':Sequelize[_0x8b76('0x3')]},'membername':{'type':Sequelize[_0x8b76('0x8')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x8b76('0x8')]},'calleridname':{'type':Sequelize[_0x8b76('0x8')]},'calleridnum':{'type':Sequelize[_0x8b76('0x8')]},'completed':{'type':Sequelize[_0x8b76('0x9')],'defaultValue':![]}};