Built motion from commit (unavailable).|2.5.19
[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 _0x4428=['moment','sequelize','exports','setDataValue','starttime','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN'];(function(_0x1e685f,_0x2eda9c){var _0x1457cc=function(_0x3d2745){while(--_0x3d2745){_0x1e685f['push'](_0x1e685f['shift']());}};_0x1457cc(++_0x2eda9c);}(_0x4428,0x150));var _0x8442=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0x4428[_0x2c91e9];return _0x13f0ff;};'use strict';var moment=require(_0x8442('0x0'));var Sequelize=require(_0x8442('0x1'));module[_0x8442('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x3a5ab3){this[_0x8442('0x3')](_0x8442('0x4'),_0x3a5ab3);this[_0x8442('0x3')]('endtime',moment()['format'](_0x8442('0x5')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x8442('0x6')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x8442('0x6')]},'uniqueid':{'type':Sequelize[_0x8442('0x6')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x8442('0x6')]},'completed':{'type':Sequelize[_0x8442('0x7')],'defaultValue':![]}};