fd199964a15db0209c27d5730b328e28fbebe56e
[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 _0x29c7=['exports','DATE','setDataValue','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','sequelize'];(function(_0x5b8902,_0x28bf9b){var _0x553ad2=function(_0x465be8){while(--_0x465be8){_0x5b8902['push'](_0x5b8902['shift']());}};_0x553ad2(++_0x28bf9b);}(_0x29c7,0x68));var _0x729c=function(_0x28cebf,_0x539450){_0x28cebf=_0x28cebf-0x0;var _0x42141a=_0x29c7[_0x28cebf];return _0x42141a;};'use strict';var moment=require('moment');var Sequelize=require(_0x729c('0x0'));module[_0x729c('0x1')]={'starttime':{'type':Sequelize[_0x729c('0x2')],'set':function(_0x2b7301){this[_0x729c('0x3')]('starttime',_0x2b7301);this[_0x729c('0x3')]('endtime',moment()['format'](_0x729c('0x4')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x729c('0x5')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x729c('0x5')]},'calleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x729c('0x5')]},'completed':{'type':Sequelize[_0x729c('0x6')],'defaultValue':![]}};