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