Built motion from commit 092f8824.|2.5.49
[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 _0x6d3f=['moment','sequelize','exports','DATE','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN'];(function(_0x4fadb8,_0x11b539){var _0x3c9e20=function(_0x134c11){while(--_0x134c11){_0x4fadb8['push'](_0x4fadb8['shift']());}};_0x3c9e20(++_0x11b539);}(_0x6d3f,0xe6));var _0xf6d3=function(_0x43c0f1,_0x22dfc7){_0x43c0f1=_0x43c0f1-0x0;var _0x22895d=_0x6d3f[_0x43c0f1];return _0x22895d;};'use strict';var moment=require(_0xf6d3('0x0'));var Sequelize=require(_0xf6d3('0x1'));module[_0xf6d3('0x2')]={'starttime':{'type':Sequelize[_0xf6d3('0x3')],'set':function(_0xbf352e){this[_0xf6d3('0x4')]('starttime',_0xbf352e);this[_0xf6d3('0x4')](_0xf6d3('0x5'),moment()[_0xf6d3('0x6')](_0xf6d3('0x7')));}},'endtime':{'type':Sequelize[_0xf6d3('0x3')]},'membername':{'type':Sequelize[_0xf6d3('0x8')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0xf6d3('0x8')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xf6d3('0x8')]},'calleridnum':{'type':Sequelize[_0xf6d3('0x8')]},'completed':{'type':Sequelize[_0xf6d3('0x9')],'defaultValue':![]}};