570711804347046125591c36afc8e5c7294e9562
[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 _0x37a3=['DATE','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','exports'];(function(_0x1fb4ff,_0x172d25){var _0x3f2d20=function(_0x358d44){while(--_0x358d44){_0x1fb4ff['push'](_0x1fb4ff['shift']());}};_0x3f2d20(++_0x172d25);}(_0x37a3,0x17f));var _0x337a=function(_0x2a38e4,_0x5cad63){_0x2a38e4=_0x2a38e4-0x0;var _0x614bf3=_0x37a3[_0x2a38e4];return _0x614bf3;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module[_0x337a('0x0')]={'starttime':{'type':Sequelize[_0x337a('0x1')],'set':function(_0x5db402){this[_0x337a('0x2')]('starttime',_0x5db402);this[_0x337a('0x2')](_0x337a('0x3'),moment()[_0x337a('0x4')](_0x337a('0x5')));}},'endtime':{'type':Sequelize[_0x337a('0x1')]},'membername':{'type':Sequelize[_0x337a('0x6')]},'projectname':{'type':Sequelize[_0x337a('0x6')]},'queue':{'type':Sequelize[_0x337a('0x6')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x337a('0x7')],'defaultValue':![]}};