5da59452276951a844b16783bf3673595f614980
[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 _0x44fc=['starttime','setDataValue','endtime','format','DATE','STRING','sequelize','exports'];(function(_0x47e3f8,_0x517bcd){var _0x4742d5=function(_0x2a4f20){while(--_0x2a4f20){_0x47e3f8['push'](_0x47e3f8['shift']());}};_0x4742d5(++_0x517bcd);}(_0x44fc,0x7e));var _0xc44f=function(_0x1e0ca5,_0x57fd4f){_0x1e0ca5=_0x1e0ca5-0x0;var _0x410923=_0x44fc[_0x1e0ca5];return _0x410923;};'use strict';var moment=require('moment');var Sequelize=require(_0xc44f('0x0'));module[_0xc44f('0x1')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x15830c){this['setDataValue'](_0xc44f('0x2'),_0x15830c);this[_0xc44f('0x3')](_0xc44f('0x4'),moment()[_0xc44f('0x5')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0xc44f('0x6')]},'membername':{'type':Sequelize[_0xc44f('0x7')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xc44f('0x7')]},'calleridname':{'type':Sequelize[_0xc44f('0x7')]},'calleridnum':{'type':Sequelize[_0xc44f('0x7')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};