86301f2562d01a13252fd14f0cf6c7656eee7b99
[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 _0x2272=['moment','sequelize','exports','DATE','starttime','setDataValue','endtime','STRING','BOOLEAN'];(function(_0x3ea24d,_0x42821a){var _0x5098ef=function(_0x12564c){while(--_0x12564c){_0x3ea24d['push'](_0x3ea24d['shift']());}};_0x5098ef(++_0x42821a);}(_0x2272,0xd8));var _0x2227=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x2272[_0x14add3];return _0x4a174f;};'use strict';var moment=require(_0x2227('0x0'));var Sequelize=require(_0x2227('0x1'));module[_0x2227('0x2')]={'starttime':{'type':Sequelize[_0x2227('0x3')],'set':function(_0x42152f){this['setDataValue'](_0x2227('0x4'),_0x42152f);this[_0x2227('0x5')](_0x2227('0x6'),moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x2227('0x3')]},'membername':{'type':Sequelize[_0x2227('0x7')]},'projectname':{'type':Sequelize[_0x2227('0x7')]},'queue':{'type':Sequelize[_0x2227('0x7')]},'uniqueid':{'type':Sequelize[_0x2227('0x7')]},'calleridname':{'type':Sequelize[_0x2227('0x7')]},'calleridnum':{'type':Sequelize[_0x2227('0x7')]},'completed':{'type':Sequelize[_0x2227('0x8')],'defaultValue':![]}};