Built motion from commit 2b9af5da.|2.6.26
[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 _0xf2f2=['moment','exports','DATE','starttime','setDataValue','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN'];(function(_0xd6d0c5,_0x146ac3){var _0x2f54bd=function(_0x3da2fd){while(--_0x3da2fd){_0xd6d0c5['push'](_0xd6d0c5['shift']());}};_0x2f54bd(++_0x146ac3);}(_0xf2f2,0x168));var _0x2f2f=function(_0x301dab,_0x38050a){_0x301dab=_0x301dab-0x0;var _0x2500a2=_0xf2f2[_0x301dab];return _0x2500a2;};'use strict';var moment=require(_0x2f2f('0x0'));var Sequelize=require('sequelize');module[_0x2f2f('0x1')]={'starttime':{'type':Sequelize[_0x2f2f('0x2')],'set':function(_0x1fda2a){this['setDataValue'](_0x2f2f('0x3'),_0x1fda2a);this[_0x2f2f('0x4')]('endtime',moment()[_0x2f2f('0x5')](_0x2f2f('0x6')));}},'endtime':{'type':Sequelize[_0x2f2f('0x2')]},'membername':{'type':Sequelize[_0x2f2f('0x7')]},'projectname':{'type':Sequelize[_0x2f2f('0x7')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x2f2f('0x7')]},'calleridname':{'type':Sequelize[_0x2f2f('0x7')]},'calleridnum':{'type':Sequelize[_0x2f2f('0x7')]},'completed':{'type':Sequelize[_0x2f2f('0x8')],'defaultValue':![]}};