60faaa8518b69951cf1fc0b4aa5fd77377f103e5
[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 _0xff54=['BOOLEAN','moment','sequelize','exports','DATE','starttime','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING'];(function(_0x20ef64,_0x4a8fe9){var _0x3707d8=function(_0x5b9a88){while(--_0x5b9a88){_0x20ef64['push'](_0x20ef64['shift']());}};_0x3707d8(++_0x4a8fe9);}(_0xff54,0x1b9));var _0x4ff5=function(_0x29fb8a,_0x3c767f){_0x29fb8a=_0x29fb8a-0x0;var _0x484799=_0xff54[_0x29fb8a];return _0x484799;};'use strict';var moment=require(_0x4ff5('0x0'));var Sequelize=require(_0x4ff5('0x1'));module[_0x4ff5('0x2')]={'starttime':{'type':Sequelize[_0x4ff5('0x3')],'set':function(_0x4260fa){this['setDataValue'](_0x4ff5('0x4'),_0x4260fa);this[_0x4ff5('0x5')](_0x4ff5('0x6'),moment()[_0x4ff5('0x7')](_0x4ff5('0x8')));}},'endtime':{'type':Sequelize[_0x4ff5('0x3')]},'membername':{'type':Sequelize[_0x4ff5('0x9')]},'projectname':{'type':Sequelize[_0x4ff5('0x9')]},'queue':{'type':Sequelize[_0x4ff5('0x9')]},'uniqueid':{'type':Sequelize[_0x4ff5('0x9')]},'calleridname':{'type':Sequelize[_0x4ff5('0x9')]},'calleridnum':{'type':Sequelize[_0x4ff5('0x9')]},'completed':{'type':Sequelize[_0x4ff5('0xa')],'defaultValue':![]}};