775df67c9ffba2bbec8e522486ef11f2afb0e5c0
[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 _0x39f8=['exports','DATE','setDataValue','starttime','endtime','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment'];(function(_0x201baf,_0x5258dd){var _0x4b7bba=function(_0x30792f){while(--_0x30792f){_0x201baf['push'](_0x201baf['shift']());}};_0x4b7bba(++_0x5258dd);}(_0x39f8,0xb3));var _0x839f=function(_0x2abdc2,_0x507492){_0x2abdc2=_0x2abdc2-0x0;var _0x3802a2=_0x39f8[_0x2abdc2];return _0x3802a2;};'use strict';var moment=require(_0x839f('0x0'));var Sequelize=require('sequelize');module[_0x839f('0x1')]={'starttime':{'type':Sequelize[_0x839f('0x2')],'set':function(_0x36cebb){this[_0x839f('0x3')](_0x839f('0x4'),_0x36cebb);this[_0x839f('0x3')](_0x839f('0x5'),moment()['format'](_0x839f('0x6')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x839f('0x7')]},'projectname':{'type':Sequelize[_0x839f('0x7')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x839f('0x7')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x839f('0x7')]},'completed':{'type':Sequelize[_0x839f('0x8')],'defaultValue':![]}};