Built motion from commit 47436d59.|2.6.7
[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 _0xbc6c=['endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','exports','DATE','setDataValue'];(function(_0x2f2020,_0x3223de){var _0x3c431e=function(_0x369a43){while(--_0x369a43){_0x2f2020['push'](_0x2f2020['shift']());}};_0x3c431e(++_0x3223de);}(_0xbc6c,0x101));var _0xcbc6=function(_0x51a793,_0x49bba0){_0x51a793=_0x51a793-0x0;var _0x46e97d=_0xbc6c[_0x51a793];return _0x46e97d;};'use strict';var moment=require(_0xcbc6('0x0'));var Sequelize=require('sequelize');module[_0xcbc6('0x1')]={'starttime':{'type':Sequelize[_0xcbc6('0x2')],'set':function(_0x16b551){this[_0xcbc6('0x3')]('starttime',_0x16b551);this['setDataValue'](_0xcbc6('0x4'),moment()[_0xcbc6('0x5')](_0xcbc6('0x6')));}},'endtime':{'type':Sequelize[_0xcbc6('0x2')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0xcbc6('0x7')]},'queue':{'type':Sequelize[_0xcbc6('0x7')]},'uniqueid':{'type':Sequelize[_0xcbc6('0x7')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xcbc6('0x7')]},'completed':{'type':Sequelize[_0xcbc6('0x8')],'defaultValue':![]}};