Built motion from commit d1eab355.|2.6.28
[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 _0xe952=['format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','exports','starttime','setDataValue','endtime'];(function(_0x15f678,_0x25d16f){var _0x559f5e=function(_0x2da0f6){while(--_0x2da0f6){_0x15f678['push'](_0x15f678['shift']());}};_0x559f5e(++_0x25d16f);}(_0xe952,0x1a2));var _0x2e95=function(_0x4fa806,_0x4176e6){_0x4fa806=_0x4fa806-0x0;var _0x138dcf=_0xe952[_0x4fa806];return _0x138dcf;};'use strict';var moment=require(_0x2e95('0x0'));var Sequelize=require('sequelize');module[_0x2e95('0x1')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x3bd1e7){this['setDataValue'](_0x2e95('0x2'),_0x3bd1e7);this[_0x2e95('0x3')](_0x2e95('0x4'),moment()[_0x2e95('0x5')](_0x2e95('0x6')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x2e95('0x7')]},'projectname':{'type':Sequelize[_0x2e95('0x7')]},'queue':{'type':Sequelize[_0x2e95('0x7')]},'uniqueid':{'type':Sequelize[_0x2e95('0x7')]},'calleridname':{'type':Sequelize[_0x2e95('0x7')]},'calleridnum':{'type':Sequelize[_0x2e95('0x7')]},'completed':{'type':Sequelize[_0x2e95('0x8')],'defaultValue':![]}};