Built motion from commit da24aabd.|2.6.20
[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 _0xa8ad=['STRING','BOOLEAN','moment','sequelize','exports','DATE','setDataValue','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x4e1c2a,_0xa9aeff){var _0x5bb742=function(_0x5911b3){while(--_0x5911b3){_0x4e1c2a['push'](_0x4e1c2a['shift']());}};_0x5bb742(++_0xa9aeff);}(_0xa8ad,0x197));var _0xda8a=function(_0x4f8c66,_0x130dbe){_0x4f8c66=_0x4f8c66-0x0;var _0x16f8ea=_0xa8ad[_0x4f8c66];return _0x16f8ea;};'use strict';var moment=require(_0xda8a('0x0'));var Sequelize=require(_0xda8a('0x1'));module[_0xda8a('0x2')]={'starttime':{'type':Sequelize[_0xda8a('0x3')],'set':function(_0x1e92cc){this['setDataValue']('starttime',_0x1e92cc);this[_0xda8a('0x4')]('endtime',moment()[_0xda8a('0x5')](_0xda8a('0x6')));}},'endtime':{'type':Sequelize[_0xda8a('0x3')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0xda8a('0x7')]},'queue':{'type':Sequelize[_0xda8a('0x7')]},'uniqueid':{'type':Sequelize[_0xda8a('0x7')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xda8a('0x7')]},'completed':{'type':Sequelize[_0xda8a('0x8')],'defaultValue':![]}};