eab2770bd3455e478c70023c8fffd98ee1dc5694
[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 _0x4eb9=['DATE','setDataValue','starttime','YYYY-MM-DD\x20HH:mm:ss','STRING','moment','exports'];(function(_0x3d7d6c,_0x48b9b9){var _0x366408=function(_0x46a0f8){while(--_0x46a0f8){_0x3d7d6c['push'](_0x3d7d6c['shift']());}};_0x366408(++_0x48b9b9);}(_0x4eb9,0x98));var _0x94eb=function(_0x13ea00,_0x12f610){_0x13ea00=_0x13ea00-0x0;var _0x1f7347=_0x4eb9[_0x13ea00];return _0x1f7347;};'use strict';var moment=require(_0x94eb('0x0'));var Sequelize=require('sequelize');module[_0x94eb('0x1')]={'starttime':{'type':Sequelize[_0x94eb('0x2')],'set':function(_0x23c923){this[_0x94eb('0x3')](_0x94eb('0x4'),_0x23c923);this[_0x94eb('0x3')]('endtime',moment()['format'](_0x94eb('0x5')));}},'endtime':{'type':Sequelize[_0x94eb('0x2')]},'membername':{'type':Sequelize[_0x94eb('0x6')]},'projectname':{'type':Sequelize[_0x94eb('0x6')]},'queue':{'type':Sequelize[_0x94eb('0x6')]},'uniqueid':{'type':Sequelize[_0x94eb('0x6')]},'calleridname':{'type':Sequelize[_0x94eb('0x6')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};