f585fcf6cf999289e1cb4e5a567b674c47a62312
[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 _0x3a29=['format','YYYY-MM-DD\x20HH:mm:ss','STRING','moment','exports','DATE','setDataValue'];(function(_0x29d498,_0x2b3de8){var _0x67cf7d=function(_0x43a232){while(--_0x43a232){_0x29d498['push'](_0x29d498['shift']());}};_0x67cf7d(++_0x2b3de8);}(_0x3a29,0xe3));var _0x93a2=function(_0x48447b,_0x225972){_0x48447b=_0x48447b-0x0;var _0x4f607=_0x3a29[_0x48447b];return _0x4f607;};'use strict';var moment=require(_0x93a2('0x0'));var Sequelize=require('sequelize');module[_0x93a2('0x1')]={'starttime':{'type':Sequelize[_0x93a2('0x2')],'set':function(_0x251a61){this['setDataValue']('starttime',_0x251a61);this[_0x93a2('0x3')]('endtime',moment()[_0x93a2('0x4')](_0x93a2('0x5')));}},'endtime':{'type':Sequelize[_0x93a2('0x2')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0x93a2('0x6')]},'queue':{'type':Sequelize[_0x93a2('0x6')]},'uniqueid':{'type':Sequelize[_0x93a2('0x6')]},'calleridname':{'type':Sequelize[_0x93a2('0x6')]},'calleridnum':{'type':Sequelize[_0x93a2('0x6')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};