Built motion from commit 10af8726.|2.6.34
[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 _0x6c62=['moment','exports','DATE','setDataValue','starttime','endtime','format','STRING','BOOLEAN'];(function(_0x40453a,_0x1ff061){var _0x2da74d=function(_0x73e877){while(--_0x73e877){_0x40453a['push'](_0x40453a['shift']());}};_0x2da74d(++_0x1ff061);}(_0x6c62,0x195));var _0x26c6=function(_0x143368,_0x5d0b64){_0x143368=_0x143368-0x0;var _0x44c10a=_0x6c62[_0x143368];return _0x44c10a;};'use strict';var moment=require(_0x26c6('0x0'));var Sequelize=require('sequelize');module[_0x26c6('0x1')]={'starttime':{'type':Sequelize[_0x26c6('0x2')],'set':function(_0x37a58d){this[_0x26c6('0x3')](_0x26c6('0x4'),_0x37a58d);this[_0x26c6('0x3')](_0x26c6('0x5'),moment()[_0x26c6('0x6')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x26c6('0x2')]},'membername':{'type':Sequelize[_0x26c6('0x7')]},'projectname':{'type':Sequelize[_0x26c6('0x7')]},'queue':{'type':Sequelize[_0x26c6('0x7')]},'uniqueid':{'type':Sequelize[_0x26c6('0x7')]},'calleridname':{'type':Sequelize[_0x26c6('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x26c6('0x8')],'defaultValue':![]}};