602fa12e61eb9471da96556ee6ea4af554ab58ef
[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 _0x18e2=['DATE','setDataValue','starttime','endtime','format','STRING','BOOLEAN','moment','exports'];(function(_0x288f5e,_0x205edd){var _0x476cc9=function(_0x796f53){while(--_0x796f53){_0x288f5e['push'](_0x288f5e['shift']());}};_0x476cc9(++_0x205edd);}(_0x18e2,0x1c0));var _0x218e=function(_0x4aea8e,_0xb1d5c1){_0x4aea8e=_0x4aea8e-0x0;var _0x108075=_0x18e2[_0x4aea8e];return _0x108075;};'use strict';var moment=require(_0x218e('0x0'));var Sequelize=require('sequelize');module[_0x218e('0x1')]={'starttime':{'type':Sequelize[_0x218e('0x2')],'set':function(_0x4cbc6b){this[_0x218e('0x3')](_0x218e('0x4'),_0x4cbc6b);this[_0x218e('0x3')](_0x218e('0x5'),moment()[_0x218e('0x6')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x218e('0x2')]},'membername':{'type':Sequelize[_0x218e('0x7')]},'projectname':{'type':Sequelize[_0x218e('0x7')]},'queue':{'type':Sequelize[_0x218e('0x7')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x218e('0x7')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x218e('0x8')],'defaultValue':![]}};