b66be64a0e0cd0710cf8264711872f37e0c96cee
[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 _0xed35=['YYYY-MM-DD\x20HH:mm:ss','STRING','moment','sequelize','DATE','setDataValue','endtime'];(function(_0xb8aa3d,_0xad08f6){var _0x180207=function(_0x906b00){while(--_0x906b00){_0xb8aa3d['push'](_0xb8aa3d['shift']());}};_0x180207(++_0xad08f6);}(_0xed35,0xaa));var _0x5ed3=function(_0xf1a4c1,_0x4f0a7d){_0xf1a4c1=_0xf1a4c1-0x0;var _0x2fc187=_0xed35[_0xf1a4c1];return _0x2fc187;};'use strict';var moment=require(_0x5ed3('0x0'));var Sequelize=require(_0x5ed3('0x1'));module['exports']={'starttime':{'type':Sequelize[_0x5ed3('0x2')],'set':function(_0x1a798b){this['setDataValue']('starttime',_0x1a798b);this[_0x5ed3('0x3')](_0x5ed3('0x4'),moment()['format'](_0x5ed3('0x5')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x5ed3('0x6')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x5ed3('0x6')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x5ed3('0x6')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};