00b621905f4a95f6d2666406d0bbaa30e6ee1aba
[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 _0xa57e=['STRING','BOOLEAN','sequelize','exports','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0xbc6182,_0x439bdf){var _0x5d1229=function(_0x7b1ab4){while(--_0x7b1ab4){_0xbc6182['push'](_0xbc6182['shift']());}};_0x5d1229(++_0x439bdf);}(_0xa57e,0x16a));var _0xea57=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xa57e[_0x3dd15e];return _0x231fd0;};'use strict';var moment=require('moment');var Sequelize=require(_0xea57('0x0'));module[_0xea57('0x1')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x2a7c07){this[_0xea57('0x2')](_0xea57('0x3'),_0x2a7c07);this[_0xea57('0x2')](_0xea57('0x4'),moment()[_0xea57('0x5')](_0xea57('0x6')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0xea57('0x7')]},'projectname':{'type':Sequelize[_0xea57('0x7')]},'queue':{'type':Sequelize[_0xea57('0x7')]},'uniqueid':{'type':Sequelize[_0xea57('0x7')]},'calleridname':{'type':Sequelize[_0xea57('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0xea57('0x8')],'defaultValue':![]}};