Built motion from commit b5413ace.|2.6.9
[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 _0x4e81=['starttime','STRING','BOOLEAN','moment','exports','DATE','setDataValue'];(function(_0x204e5c,_0x1bba4f){var _0x514032=function(_0x5707bb){while(--_0x5707bb){_0x204e5c['push'](_0x204e5c['shift']());}};_0x514032(++_0x1bba4f);}(_0x4e81,0x1b5));var _0x14e8=function(_0x3a99f4,_0x2a81c1){_0x3a99f4=_0x3a99f4-0x0;var _0xea0b42=_0x4e81[_0x3a99f4];return _0xea0b42;};'use strict';var moment=require(_0x14e8('0x0'));var Sequelize=require('sequelize');module[_0x14e8('0x1')]={'starttime':{'type':Sequelize[_0x14e8('0x2')],'set':function(_0x1d2920){this[_0x14e8('0x3')](_0x14e8('0x4'),_0x1d2920);this[_0x14e8('0x3')]('endtime',moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x14e8('0x5')]},'projectname':{'type':Sequelize[_0x14e8('0x5')]},'queue':{'type':Sequelize[_0x14e8('0x5')]},'uniqueid':{'type':Sequelize[_0x14e8('0x5')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x14e8('0x5')]},'completed':{'type':Sequelize[_0x14e8('0x6')],'defaultValue':![]}};