Built motion from commit 9d0783e6.|2.6.13
[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 _0xe2df=['setDataValue','endtime','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','DATE'];(function(_0x3e727c,_0x7cb5d2){var _0x3be9c6=function(_0xb495f0){while(--_0xb495f0){_0x3e727c['push'](_0x3e727c['shift']());}};_0x3be9c6(++_0x7cb5d2);}(_0xe2df,0xec));var _0xfe2d=function(_0x3dece5,_0x21e6aa){_0x3dece5=_0x3dece5-0x0;var _0x42e1c7=_0xe2df[_0x3dece5];return _0x42e1c7;};'use strict';var moment=require(_0xfe2d('0x0'));var Sequelize=require('sequelize');module['exports']={'starttime':{'type':Sequelize[_0xfe2d('0x1')],'set':function(_0x4c904b){this[_0xfe2d('0x2')]('starttime',_0x4c904b);this[_0xfe2d('0x2')](_0xfe2d('0x3'),moment()['format'](_0xfe2d('0x4')));}},'endtime':{'type':Sequelize[_0xfe2d('0x1')]},'membername':{'type':Sequelize[_0xfe2d('0x5')]},'projectname':{'type':Sequelize[_0xfe2d('0x5')]},'queue':{'type':Sequelize[_0xfe2d('0x5')]},'uniqueid':{'type':Sequelize[_0xfe2d('0x5')]},'calleridname':{'type':Sequelize[_0xfe2d('0x5')]},'calleridnum':{'type':Sequelize[_0xfe2d('0x5')]},'completed':{'type':Sequelize[_0xfe2d('0x6')],'defaultValue':![]}};