Built motion from commit (unavailable).|2.5.9
[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 _0x7752=['endtime','YYYY-MM-DD\x20HH:mm:ss','STRING','moment','exports','DATE','setDataValue','starttime'];(function(_0x2ab3d9,_0x50e716){var _0x210a54=function(_0x24c479){while(--_0x24c479){_0x2ab3d9['push'](_0x2ab3d9['shift']());}};_0x210a54(++_0x50e716);}(_0x7752,0x183));var _0x2775=function(_0x548a30,_0x22f0e1){_0x548a30=_0x548a30-0x0;var _0xd68a6=_0x7752[_0x548a30];return _0xd68a6;};'use strict';var moment=require(_0x2775('0x0'));var Sequelize=require('sequelize');module[_0x2775('0x1')]={'starttime':{'type':Sequelize[_0x2775('0x2')],'set':function(_0x56e018){this[_0x2775('0x3')](_0x2775('0x4'),_0x56e018);this[_0x2775('0x3')](_0x2775('0x5'),moment()['format'](_0x2775('0x6')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x2775('0x7')]},'projectname':{'type':Sequelize[_0x2775('0x7')]},'queue':{'type':Sequelize[_0x2775('0x7')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};