2c63d9a93fa734cfa0691dcd34fc224e8a4521ed
[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 _0x818b=['STRING','BOOLEAN','moment','sequelize','exports','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','DATE'];(function(_0x4e98a3,_0x20f587){var _0x9892d6=function(_0x10d776){while(--_0x10d776){_0x4e98a3['push'](_0x4e98a3['shift']());}};_0x9892d6(++_0x20f587);}(_0x818b,0xbd));var _0xb818=function(_0x486fe6,_0x24f460){_0x486fe6=_0x486fe6-0x0;var _0x20a614=_0x818b[_0x486fe6];return _0x20a614;};'use strict';var moment=require(_0xb818('0x0'));var Sequelize=require(_0xb818('0x1'));module[_0xb818('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x515a75){this[_0xb818('0x3')](_0xb818('0x4'),_0x515a75);this['setDataValue'](_0xb818('0x5'),moment()[_0xb818('0x6')](_0xb818('0x7')));}},'endtime':{'type':Sequelize[_0xb818('0x8')]},'membername':{'type':Sequelize[_0xb818('0x9')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xb818('0x9')]},'calleridnum':{'type':Sequelize[_0xb818('0x9')]},'completed':{'type':Sequelize[_0xb818('0xa')],'defaultValue':![]}};