8ec815d971cb9ff594ce1d326c3c37352f648a7e
[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 _0x5a2f=['STRING','moment','sequelize','DATE','starttime','endtime','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x400c46,_0x15ce88){var _0x415d73=function(_0x5a2795){while(--_0x5a2795){_0x400c46['push'](_0x400c46['shift']());}};_0x415d73(++_0x15ce88);}(_0x5a2f,0x9b));var _0xf5a2=function(_0x1667d1,_0x36f7b3){_0x1667d1=_0x1667d1-0x0;var _0x56f5b3=_0x5a2f[_0x1667d1];return _0x56f5b3;};'use strict';var moment=require(_0xf5a2('0x0'));var Sequelize=require(_0xf5a2('0x1'));module['exports']={'starttime':{'type':Sequelize[_0xf5a2('0x2')],'set':function(_0x14e987){this['setDataValue'](_0xf5a2('0x3'),_0x14e987);this['setDataValue'](_0xf5a2('0x4'),moment()['format'](_0xf5a2('0x5')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0xf5a2('0x6')]},'projectname':{'type':Sequelize[_0xf5a2('0x6')]},'queue':{'type':Sequelize[_0xf5a2('0x6')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xf5a2('0x6')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};