Built motion from commit 00bf23f6.|2.6.16
[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 _0x69d4=['YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','sequelize','DATE','setDataValue','format'];(function(_0x2363b6,_0x59f2b2){var _0xefed0a=function(_0x1196f4){while(--_0x1196f4){_0x2363b6['push'](_0x2363b6['shift']());}};_0xefed0a(++_0x59f2b2);}(_0x69d4,0x83));var _0x469d=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x69d4[_0x122ef9];return _0x42fba0;};'use strict';var moment=require(_0x469d('0x0'));var Sequelize=require(_0x469d('0x1'));module['exports']={'starttime':{'type':Sequelize[_0x469d('0x2')],'set':function(_0x13e72e){this[_0x469d('0x3')]('starttime',_0x13e72e);this[_0x469d('0x3')]('endtime',moment()[_0x469d('0x4')](_0x469d('0x5')));}},'endtime':{'type':Sequelize[_0x469d('0x2')]},'membername':{'type':Sequelize[_0x469d('0x6')]},'projectname':{'type':Sequelize[_0x469d('0x6')]},'queue':{'type':Sequelize[_0x469d('0x6')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x469d('0x6')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x469d('0x7')],'defaultValue':![]}};