77613cbd960dd9dca6966b506003d5b0521cf2b7
[motion2.git] / server / api / cmHopperFinal / cmHopperFinal.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 _0x62b3=['BOOLEAN','sequelize','moment','INTEGER','DATE','STRING','getDataValue','followuptime','seconds'];(function(_0x15fa45,_0x132622){var _0x3e7413=function(_0xba8cb9){while(--_0xba8cb9){_0x15fa45['push'](_0x15fa45['shift']());}};_0x3e7413(++_0x132622);}(_0x62b3,0x172));var _0x362b=function(_0x2c5608,_0x49fc66){_0x2c5608=_0x2c5608-0x0;var _0x1d60f8=_0x62b3[_0x2c5608];return _0x1d60f8;};'use strict';var Sequelize=require(_0x362b('0x0'));var moment=require(_0x362b('0x1'));module['exports']={'state':{'type':Sequelize[_0x362b('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0x362b('0x3')]},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x362b('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x362b('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x362b('0x4')]},'originatecalleridnum':{'type':Sequelize[_0x362b('0x4')]},'originatecalleridname':{'type':Sequelize[_0x362b('0x4')]},'calleridnum':{'type':Sequelize[_0x362b('0x4')]},'calleridname':{'type':Sequelize['STRING']},'starttime':{'type':Sequelize[_0x362b('0x3')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0x362b('0x3')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x362b('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x362b('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x362b('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x362b('0x4')]},'campaign':{'type':Sequelize[_0x362b('0x4')]},'campaigntype':{'type':Sequelize[_0x362b('0x4')]},'membername':{'type':Sequelize[_0x362b('0x4')]},'reason':{'type':Sequelize[_0x362b('0x4')]},'disposition':{'type':Sequelize[_0x362b('0x4')]},'secondDisposition':{'type':Sequelize[_0x362b('0x4')]},'thirdDisposition':{'type':Sequelize[_0x362b('0x4')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x4528a3){var _0x2bbe1d=this[_0x362b('0x5')]('endtime');if(_0x2bbe1d&&_0x4528a3){this['setDataValue'](_0x362b('0x6'),moment(_0x4528a3)['diff'](moment(_0x2bbe1d),_0x362b('0x7')));}}},'amd':{'type':Sequelize[_0x362b('0x8')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x362b('0x8')],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x362b('0x3')]},'callback':{'type':Sequelize[_0x362b('0x8')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x362b('0x4')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x362b('0x3')]},'deleted':{'type':Sequelize[_0x362b('0x4')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x362b('0x3')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x362b('0x3')]},'countnosuchnumberretry':{'type':Sequelize[_0x362b('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x362b('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x362b('0x2')],'defaultValue':0x0}};