Built motion from commit (unavailable).|2.5.23
[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 _0xebe6=['moment','exports','setDataValue','starttime','endtime','format','DATE','STRING','BOOLEAN'];(function(_0x13d1c4,_0x5c0d64){var _0x4cb77b=function(_0x281a0a){while(--_0x281a0a){_0x13d1c4['push'](_0x13d1c4['shift']());}};_0x4cb77b(++_0x5c0d64);}(_0xebe6,0xe1));var _0x6ebe=function(_0x5d990e,_0x4ba9f5){_0x5d990e=_0x5d990e-0x0;var _0x36c763=_0xebe6[_0x5d990e];return _0x36c763;};'use strict';var moment=require(_0x6ebe('0x0'));var Sequelize=require('sequelize');module[_0x6ebe('0x1')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0xae1eb0){this[_0x6ebe('0x2')](_0x6ebe('0x3'),_0xae1eb0);this[_0x6ebe('0x2')](_0x6ebe('0x4'),moment()[_0x6ebe('0x5')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x6ebe('0x6')]},'membername':{'type':Sequelize[_0x6ebe('0x7')]},'projectname':{'type':Sequelize[_0x6ebe('0x7')]},'queue':{'type':Sequelize[_0x6ebe('0x7')]},'uniqueid':{'type':Sequelize[_0x6ebe('0x7')]},'calleridname':{'type':Sequelize[_0x6ebe('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x6ebe('0x8')],'defaultValue':![]}};