a7c0e1412a311914fbea53e9f54eaa5fa956b78c
[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 _0xbf46=['sequelize','DATE','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','moment'];(function(_0x309f3f,_0x3a133d){var _0x2b3ec4=function(_0x20a42f){while(--_0x20a42f){_0x309f3f['push'](_0x309f3f['shift']());}};_0x2b3ec4(++_0x3a133d);}(_0xbf46,0xc5));var _0x6bf4=function(_0x2098eb,_0x2a54b5){_0x2098eb=_0x2098eb-0x0;var _0x4bb319=_0xbf46[_0x2098eb];return _0x4bb319;};'use strict';var moment=require(_0x6bf4('0x0'));var Sequelize=require(_0x6bf4('0x1'));module['exports']={'starttime':{'type':Sequelize[_0x6bf4('0x2')],'set':function(_0x3a1a89){this[_0x6bf4('0x3')](_0x6bf4('0x4'),_0x3a1a89);this[_0x6bf4('0x3')](_0x6bf4('0x5'),moment()[_0x6bf4('0x6')](_0x6bf4('0x7')));}},'endtime':{'type':Sequelize[_0x6bf4('0x2')]},'membername':{'type':Sequelize[_0x6bf4('0x8')]},'projectname':{'type':Sequelize[_0x6bf4('0x8')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x6bf4('0x8')]},'calleridnum':{'type':Sequelize[_0x6bf4('0x8')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};