2614351ec77dcadc5f340516cc990cb1c759d7e9
[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 _0xdda2=['DATE','STRING','moment','exports','setDataValue','starttime','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x49b649,_0x2fc9b4){var _0x16b8a3=function(_0x307330){while(--_0x307330){_0x49b649['push'](_0x49b649['shift']());}};_0x16b8a3(++_0x2fc9b4);}(_0xdda2,0x122));var _0x2dda=function(_0x2d93d9,_0x377d13){_0x2d93d9=_0x2d93d9-0x0;var _0x419ed8=_0xdda2[_0x2d93d9];return _0x419ed8;};'use strict';var moment=require(_0x2dda('0x0'));var Sequelize=require('sequelize');module[_0x2dda('0x1')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x14df1c){this[_0x2dda('0x2')](_0x2dda('0x3'),_0x14df1c);this['setDataValue']('endtime',moment()[_0x2dda('0x4')](_0x2dda('0x5')));}},'endtime':{'type':Sequelize[_0x2dda('0x6')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x2dda('0x7')]},'uniqueid':{'type':Sequelize[_0x2dda('0x7')]},'calleridname':{'type':Sequelize[_0x2dda('0x7')]},'calleridnum':{'type':Sequelize[_0x2dda('0x7')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};