1ae8f21fa414ceaf6bae6a0a7e586162f4910e4d
[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 _0xe137=['DATE','setDataValue','format','STRING','moment','sequelize','exports'];(function(_0x2f53c7,_0x121298){var _0x5ee2c3=function(_0x1c88b3){while(--_0x1c88b3){_0x2f53c7['push'](_0x2f53c7['shift']());}};_0x5ee2c3(++_0x121298);}(_0xe137,0xb3));var _0x7e13=function(_0x124f88,_0x3ad501){_0x124f88=_0x124f88-0x0;var _0xed0e3b=_0xe137[_0x124f88];return _0xed0e3b;};'use strict';var moment=require(_0x7e13('0x0'));var Sequelize=require(_0x7e13('0x1'));module[_0x7e13('0x2')]={'starttime':{'type':Sequelize[_0x7e13('0x3')],'set':function(_0x1808ad){this['setDataValue']('starttime',_0x1808ad);this[_0x7e13('0x4')]('endtime',moment()[_0x7e13('0x5')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x7e13('0x6')]},'queue':{'type':Sequelize[_0x7e13('0x6')]},'uniqueid':{'type':Sequelize[_0x7e13('0x6')]},'calleridname':{'type':Sequelize[_0x7e13('0x6')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};