Built motion from commit (unavailable).|2.5.4
[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 _0xcf71=['STRING','moment','sequelize','exports','starttime','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','DATE'];(function(_0x494fc8,_0x20acdd){var _0x1c4333=function(_0x98728c){while(--_0x98728c){_0x494fc8['push'](_0x494fc8['shift']());}};_0x1c4333(++_0x20acdd);}(_0xcf71,0xbf));var _0x1cf7=function(_0x21f588,_0x3f63ae){_0x21f588=_0x21f588-0x0;var _0x3b28cb=_0xcf71[_0x21f588];return _0x3b28cb;};'use strict';var moment=require(_0x1cf7('0x0'));var Sequelize=require(_0x1cf7('0x1'));module[_0x1cf7('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x4cbaea){this['setDataValue'](_0x1cf7('0x3'),_0x4cbaea);this[_0x1cf7('0x4')](_0x1cf7('0x5'),moment()[_0x1cf7('0x6')](_0x1cf7('0x7')));}},'endtime':{'type':Sequelize[_0x1cf7('0x8')]},'membername':{'type':Sequelize[_0x1cf7('0x9')]},'projectname':{'type':Sequelize[_0x1cf7('0x9')]},'queue':{'type':Sequelize[_0x1cf7('0x9')]},'uniqueid':{'type':Sequelize[_0x1cf7('0x9')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x1cf7('0x9')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};