Built motion from commit e1760111.|2.6.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 _0xad36=['exports','DATE','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment'];(function(_0x4bcf38,_0x3c12be){var _0x4a89be=function(_0x3215a6){while(--_0x3215a6){_0x4bcf38['push'](_0x4bcf38['shift']());}};_0x4a89be(++_0x3c12be);}(_0xad36,0x131));var _0x6ad3=function(_0x1cfa47,_0x336458){_0x1cfa47=_0x1cfa47-0x0;var _0x181d80=_0xad36[_0x1cfa47];return _0x181d80;};'use strict';var moment=require(_0x6ad3('0x0'));var Sequelize=require('sequelize');module[_0x6ad3('0x1')]={'starttime':{'type':Sequelize[_0x6ad3('0x2')],'set':function(_0x4d500e){this[_0x6ad3('0x3')]('starttime',_0x4d500e);this[_0x6ad3('0x3')](_0x6ad3('0x4'),moment()[_0x6ad3('0x5')](_0x6ad3('0x6')));}},'endtime':{'type':Sequelize[_0x6ad3('0x2')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x6ad3('0x7')]},'queue':{'type':Sequelize[_0x6ad3('0x7')]},'uniqueid':{'type':Sequelize[_0x6ad3('0x7')]},'calleridname':{'type':Sequelize[_0x6ad3('0x7')]},'calleridnum':{'type':Sequelize[_0x6ad3('0x7')]},'completed':{'type':Sequelize[_0x6ad3('0x8')],'defaultValue':![]}};