00c960f3e16882df2203423ac5bde900c978b995
[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 _0x97ac=['STRING','moment','sequelize','exports','setDataValue','endtime','format','DATE'];(function(_0x292716,_0x96d32){var _0x34cb57=function(_0x1d0cde){while(--_0x1d0cde){_0x292716['push'](_0x292716['shift']());}};_0x34cb57(++_0x96d32);}(_0x97ac,0xa1));var _0xc97a=function(_0x544b3a,_0x103b8b){_0x544b3a=_0x544b3a-0x0;var _0x5fa2ca=_0x97ac[_0x544b3a];return _0x5fa2ca;};'use strict';var moment=require(_0xc97a('0x0'));var Sequelize=require(_0xc97a('0x1'));module[_0xc97a('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x3d1e3e){this[_0xc97a('0x3')]('starttime',_0x3d1e3e);this[_0xc97a('0x3')](_0xc97a('0x4'),moment()[_0xc97a('0x5')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0xc97a('0x6')]},'membername':{'type':Sequelize[_0xc97a('0x7')]},'projectname':{'type':Sequelize[_0xc97a('0x7')]},'queue':{'type':Sequelize[_0xc97a('0x7')]},'uniqueid':{'type':Sequelize[_0xc97a('0x7')]},'calleridname':{'type':Sequelize[_0xc97a('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};