9c1e80daed35691b019ccafc85235e7920d30709
[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 _0xeb00=['moment','STRING','DATE','INTEGER','getDataValue','setDataValue','followuptime','diff','seconds','dispositionat','BOOLEAN','sequelize'];(function(_0x3e3115,_0x1827ba){var _0x2b56a0=function(_0x106689){while(--_0x106689){_0x3e3115['push'](_0x3e3115['shift']());}};_0x2b56a0(++_0x1827ba);}(_0xeb00,0x1bb));var _0x0eb0=function(_0x4ae7b6,_0x43d206){_0x4ae7b6=_0x4ae7b6-0x0;var _0x151033=_0xeb00[_0x4ae7b6];return _0x151033;};'use strict';var Sequelize=require(_0x0eb0('0x0'));var moment=require(_0x0eb0('0x1'));module['exports']={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0x0eb0('0x2')]},'scheduledat':{'type':Sequelize[_0x0eb0('0x3')]},'countbusyretry':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'countglobal':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x0eb0('0x2')]},'originatecalleridnum':{'type':Sequelize[_0x0eb0('0x2')]},'originatecalleridname':{'type':Sequelize[_0x0eb0('0x2')]},'calleridnum':{'type':Sequelize[_0x0eb0('0x2')]},'calleridname':{'type':Sequelize[_0x0eb0('0x2')]},'starttime':{'type':Sequelize[_0x0eb0('0x3')]},'responsetime':{'type':Sequelize[_0x0eb0('0x3')]},'answertime':{'type':Sequelize[_0x0eb0('0x3')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x0eb0('0x3')]},'ringtime':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'holdtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'dropreason':{'type':Sequelize['STRING']},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize[_0x0eb0('0x2')]},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0x0eb0('0x2')]},'disposition':{'type':Sequelize[_0x0eb0('0x2')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x0eb0('0x2')]},'dispositionat':{'type':Sequelize[_0x0eb0('0x3')],'set':function(_0x4a51f6){var _0x1dc681=this[_0x0eb0('0x5')]('endtime');if(_0x1dc681&&_0x4a51f6){this[_0x0eb0('0x6')](_0x0eb0('0x7'),moment(_0x4a51f6)[_0x0eb0('0x8')](moment(_0x1dc681),_0x0eb0('0x9')));}return this['setDataValue'](_0x0eb0('0xa'),_0x4a51f6);}},'amd':{'type':Sequelize[_0x0eb0('0xb')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x0eb0('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x0eb0('0xb')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x0eb0('0x3')]},'callback':{'type':Sequelize[_0x0eb0('0xb')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x0eb0('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0x0eb0('0x2')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x0eb0('0x3')]},'recallme':{'type':Sequelize[_0x0eb0('0xb')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x0eb0('0x3')]},'countnosuchnumberretry':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x0eb0('0x4')],'defaultValue':0x0}};