Built motion from commit 25580385.|2.6.2
[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 _0x10a2=['STRING','BOOLEAN','moment','DATE','setDataValue','starttime','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x473df0,_0x29db43){var _0x4c20c4=function(_0x29edc2){while(--_0x29edc2){_0x473df0['push'](_0x473df0['shift']());}};_0x4c20c4(++_0x29db43);}(_0x10a2,0x128));var _0x210a=function(_0x547a12,_0x425fb0){_0x547a12=_0x547a12-0x0;var _0x3650a4=_0x10a2[_0x547a12];return _0x3650a4;};'use strict';var moment=require(_0x210a('0x0'));var Sequelize=require('sequelize');module['exports']={'starttime':{'type':Sequelize[_0x210a('0x1')],'set':function(_0x5ea0ea){this[_0x210a('0x2')](_0x210a('0x3'),_0x5ea0ea);this[_0x210a('0x2')]('endtime',moment()['format'](_0x210a('0x4')));}},'endtime':{'type':Sequelize[_0x210a('0x1')]},'membername':{'type':Sequelize[_0x210a('0x5')]},'projectname':{'type':Sequelize[_0x210a('0x5')]},'queue':{'type':Sequelize[_0x210a('0x5')]},'uniqueid':{'type':Sequelize[_0x210a('0x5')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x210a('0x5')]},'completed':{'type':Sequelize[_0x210a('0x6')],'defaultValue':![]}};