e5d4ae4e33dca1cfbb698f0cb31629447b76bac9
[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 _0x7b56=['DATE','starttime','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','sequelize'];(function(_0x4bf73b,_0x13f15f){var _0x560f05=function(_0x39831f){while(--_0x39831f){_0x4bf73b['push'](_0x4bf73b['shift']());}};_0x560f05(++_0x13f15f);}(_0x7b56,0x13a));var _0x67b5=function(_0x3aabe6,_0xa2989d){_0x3aabe6=_0x3aabe6-0x0;var _0x3d8391=_0x7b56[_0x3aabe6];return _0x3d8391;};'use strict';var moment=require('moment');var Sequelize=require(_0x67b5('0x0'));module['exports']={'starttime':{'type':Sequelize[_0x67b5('0x1')],'set':function(_0x4c50aa){this['setDataValue'](_0x67b5('0x2'),_0x4c50aa);this[_0x67b5('0x3')](_0x67b5('0x4'),moment()[_0x67b5('0x5')](_0x67b5('0x6')));}},'endtime':{'type':Sequelize[_0x67b5('0x1')]},'membername':{'type':Sequelize[_0x67b5('0x7')]},'projectname':{'type':Sequelize[_0x67b5('0x7')]},'queue':{'type':Sequelize[_0x67b5('0x7')]},'uniqueid':{'type':Sequelize[_0x67b5('0x7')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x67b5('0x7')]},'completed':{'type':Sequelize[_0x67b5('0x8')],'defaultValue':![]}};