03e11caae1d4e0907d760b81052498fa8e7cfadc
[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 _0x152c=['starttime','format','DATE','STRING','moment','sequelize','exports','setDataValue'];(function(_0x53a3e7,_0x18ed8b){var _0x1deba2=function(_0x7fc319){while(--_0x7fc319){_0x53a3e7['push'](_0x53a3e7['shift']());}};_0x1deba2(++_0x18ed8b);}(_0x152c,0x144));var _0xc152=function(_0x246bbe,_0x5c95a2){_0x246bbe=_0x246bbe-0x0;var _0x10185f=_0x152c[_0x246bbe];return _0x10185f;};'use strict';var moment=require(_0xc152('0x0'));var Sequelize=require(_0xc152('0x1'));module[_0xc152('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x33ddc0){this[_0xc152('0x3')](_0xc152('0x4'),_0x33ddc0);this['setDataValue']('endtime',moment()[_0xc152('0x5')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0xc152('0x6')]},'membername':{'type':Sequelize[_0xc152('0x7')]},'projectname':{'type':Sequelize[_0xc152('0x7')]},'queue':{'type':Sequelize[_0xc152('0x7')]},'uniqueid':{'type':Sequelize[_0xc152('0x7')]},'calleridname':{'type':Sequelize[_0xc152('0x7')]},'calleridnum':{'type':Sequelize[_0xc152('0x7')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};