Built motion from commit (unavailable).|2.5.11
[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 _0x396c=['BOOLEAN','sequelize','DATE','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING'];(function(_0x2d7f0e,_0x3e6fbd){var _0x110b07=function(_0x557b00){while(--_0x557b00){_0x2d7f0e['push'](_0x2d7f0e['shift']());}};_0x110b07(++_0x3e6fbd);}(_0x396c,0x112));var _0xc396=function(_0x25868b,_0x461a39){_0x25868b=_0x25868b-0x0;var _0x2b579c=_0x396c[_0x25868b];return _0x2b579c;};'use strict';var moment=require('moment');var Sequelize=require(_0xc396('0x0'));module['exports']={'starttime':{'type':Sequelize[_0xc396('0x1')],'set':function(_0x17eed9){this['setDataValue']('starttime',_0x17eed9);this['setDataValue'](_0xc396('0x2'),moment()[_0xc396('0x3')](_0xc396('0x4')));}},'endtime':{'type':Sequelize[_0xc396('0x1')]},'membername':{'type':Sequelize[_0xc396('0x5')]},'projectname':{'type':Sequelize[_0xc396('0x5')]},'queue':{'type':Sequelize[_0xc396('0x5')]},'uniqueid':{'type':Sequelize[_0xc396('0x5')]},'calleridname':{'type':Sequelize[_0xc396('0x5')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0xc396('0x6')],'defaultValue':![]}};