c26935f95679dfd63a4e4c4f84a2094c4372128a
[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 _0x4910=['DATE','STRING','BOOLEAN','moment','sequelize','exports','setDataValue','starttime','endtime','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x56b8c2,_0x128d5c){var _0x3644f5=function(_0x609c55){while(--_0x609c55){_0x56b8c2['push'](_0x56b8c2['shift']());}};_0x3644f5(++_0x128d5c);}(_0x4910,0x1d9));var _0x0491=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0x4910[_0x502c7d];return _0x30b7ed;};'use strict';var moment=require(_0x0491('0x0'));var Sequelize=require(_0x0491('0x1'));module[_0x0491('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0xd16f69){this[_0x0491('0x3')](_0x0491('0x4'),_0xd16f69);this[_0x0491('0x3')](_0x0491('0x5'),moment()['format'](_0x0491('0x6')));}},'endtime':{'type':Sequelize[_0x0491('0x7')]},'membername':{'type':Sequelize[_0x0491('0x8')]},'projectname':{'type':Sequelize[_0x0491('0x8')]},'queue':{'type':Sequelize[_0x0491('0x8')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x0491('0x8')]},'calleridnum':{'type':Sequelize[_0x0491('0x8')]},'completed':{'type':Sequelize[_0x0491('0x9')],'defaultValue':![]}};