Built motion from commit ddca4d0d.|2.5.47
[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 _0x0786=['STRING','BOOLEAN','moment','sequelize','exports','DATE','setDataValue','starttime','endtime'];(function(_0x2e8a52,_0x25fe64){var _0x5045a9=function(_0x3807d3){while(--_0x3807d3){_0x2e8a52['push'](_0x2e8a52['shift']());}};_0x5045a9(++_0x25fe64);}(_0x0786,0x134));var _0x6078=function(_0x14c240,_0x1d23fc){_0x14c240=_0x14c240-0x0;var _0x518d01=_0x0786[_0x14c240];return _0x518d01;};'use strict';var moment=require(_0x6078('0x0'));var Sequelize=require(_0x6078('0x1'));module[_0x6078('0x2')]={'starttime':{'type':Sequelize[_0x6078('0x3')],'set':function(_0x1d097a){this[_0x6078('0x4')](_0x6078('0x5'),_0x1d097a);this['setDataValue'](_0x6078('0x6'),moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x6078('0x3')]},'membername':{'type':Sequelize[_0x6078('0x7')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x6078('0x7')]},'calleridnum':{'type':Sequelize[_0x6078('0x7')]},'completed':{'type':Sequelize[_0x6078('0x8')],'defaultValue':![]}};