Built motion from commit 43538d75.|2.5.35
[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 _0x4d75=['setDataValue','starttime','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','DATE'];(function(_0x4c5041,_0x2d9e02){var _0x3e03e1=function(_0x52d886){while(--_0x52d886){_0x4c5041['push'](_0x4c5041['shift']());}};_0x3e03e1(++_0x2d9e02);}(_0x4d75,0x178));var _0x54d7=function(_0x9cb239,_0x57b2bc){_0x9cb239=_0x9cb239-0x0;var _0x2bd41f=_0x4d75[_0x9cb239];return _0x2bd41f;};'use strict';var moment=require(_0x54d7('0x0'));var Sequelize=require('sequelize');module['exports']={'starttime':{'type':Sequelize[_0x54d7('0x1')],'set':function(_0xfd5a81){this[_0x54d7('0x2')](_0x54d7('0x3'),_0xfd5a81);this[_0x54d7('0x2')]('endtime',moment()['format'](_0x54d7('0x4')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x54d7('0x5')]},'queue':{'type':Sequelize[_0x54d7('0x5')]},'uniqueid':{'type':Sequelize[_0x54d7('0x5')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x54d7('0x6')],'defaultValue':![]}};