Built motion from commit 9d7072cc.|2.5.39
[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 _0x3e42=['setDataValue','followuptime','diff','dispositionat','BOOLEAN','sequelize','moment','exports','STRING','INTEGER','DATE','getDataValue'];(function(_0x2d25ec,_0x20957d){var _0xc6e09e=function(_0xb0fa81){while(--_0xb0fa81){_0x2d25ec['push'](_0x2d25ec['shift']());}};_0xc6e09e(++_0x20957d);}(_0x3e42,0x1f1));var _0x23e4=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3e42[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x23e4('0x0'));var moment=require(_0x23e4('0x1'));module[_0x23e4('0x2')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0x23e4('0x3')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0},'countglobal':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x23e4('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x23e4('0x3')]},'originatecalleridname':{'type':Sequelize[_0x23e4('0x3')]},'calleridnum':{'type':Sequelize[_0x23e4('0x3')]},'calleridname':{'type':Sequelize[_0x23e4('0x3')]},'starttime':{'type':Sequelize[_0x23e4('0x5')]},'responsetime':{'type':Sequelize[_0x23e4('0x5')]},'answertime':{'type':Sequelize[_0x23e4('0x5')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x23e4('0x3')]},'campaign':{'type':Sequelize[_0x23e4('0x3')]},'campaigntype':{'type':Sequelize[_0x23e4('0x3')]},'membername':{'type':Sequelize[_0x23e4('0x3')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x23e4('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x23e4('0x3')]},'dispositionat':{'type':Sequelize[_0x23e4('0x5')],'set':function(_0x2ad5ee){var _0x51ef7c=this[_0x23e4('0x6')]('endtime');if(_0x51ef7c&&_0x2ad5ee){this[_0x23e4('0x7')](_0x23e4('0x8'),moment(_0x2ad5ee)[_0x23e4('0x9')](moment(_0x51ef7c),'seconds'));}return this[_0x23e4('0x7')](_0x23e4('0xa'),_0x2ad5ee);}},'amd':{'type':Sequelize[_0x23e4('0xb')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x23e4('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x23e4('0xb')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x23e4('0x5')]},'callback':{'type':Sequelize[_0x23e4('0xb')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x23e4('0x5')]},'deleted':{'type':Sequelize[_0x23e4('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x23e4('0x5')]},'recallme':{'type':Sequelize[_0x23e4('0xb')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x23e4('0x5')]},'countnosuchnumberretry':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x23e4('0x4')],'defaultValue':0x0}};