Built motion from commit 6a0adb95.|2.6.31
[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 _0xe506=['STRING','BOOLEAN','moment','sequelize','exports','DATE','setDataValue','starttime','endtime','format'];(function(_0x3fba06,_0x3c0243){var _0x4ec6a2=function(_0x166c93){while(--_0x166c93){_0x3fba06['push'](_0x3fba06['shift']());}};_0x4ec6a2(++_0x3c0243);}(_0xe506,0x192));var _0x6e50=function(_0x16e569,_0x33f836){_0x16e569=_0x16e569-0x0;var _0x22470a=_0xe506[_0x16e569];return _0x22470a;};'use strict';var moment=require(_0x6e50('0x0'));var Sequelize=require(_0x6e50('0x1'));module[_0x6e50('0x2')]={'starttime':{'type':Sequelize[_0x6e50('0x3')],'set':function(_0x35bd6f){this[_0x6e50('0x4')](_0x6e50('0x5'),_0x35bd6f);this[_0x6e50('0x4')](_0x6e50('0x6'),moment()[_0x6e50('0x7')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x6e50('0x3')]},'membername':{'type':Sequelize[_0x6e50('0x8')]},'projectname':{'type':Sequelize[_0x6e50('0x8')]},'queue':{'type':Sequelize[_0x6e50('0x8')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x6e50('0x8')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x6e50('0x9')],'defaultValue':![]}};