049ecc04d9783389a083d04f2dd7ec5c5f65809a
[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 _0x19c9=['setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','exports','DATE'];(function(_0x58ec18,_0x5616cf){var _0x2bf6a3=function(_0x4c5efc){while(--_0x4c5efc){_0x58ec18['push'](_0x58ec18['shift']());}};_0x2bf6a3(++_0x5616cf);}(_0x19c9,0x1bf));var _0x919c=function(_0x513aa5,_0x1fba79){_0x513aa5=_0x513aa5-0x0;var _0x1a1a7c=_0x19c9[_0x513aa5];return _0x1a1a7c;};'use strict';var moment=require(_0x919c('0x0'));var Sequelize=require('sequelize');module[_0x919c('0x1')]={'starttime':{'type':Sequelize[_0x919c('0x2')],'set':function(_0x5de4d0){this[_0x919c('0x3')](_0x919c('0x4'),_0x5de4d0);this['setDataValue'](_0x919c('0x5'),moment()[_0x919c('0x6')](_0x919c('0x7')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x919c('0x8')]},'projectname':{'type':Sequelize[_0x919c('0x8')]},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x919c('0x8')]},'calleridname':{'type':Sequelize[_0x919c('0x8')]},'calleridnum':{'type':Sequelize[_0x919c('0x8')]},'completed':{'type':Sequelize[_0x919c('0x9')],'defaultValue':![]}};