Built motion from commit (unavailable).|2.3.4
[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 _0x364b=['seconds','dispositionat','BOOLEAN','sequelize','moment','exports','STRING','DATE','INTEGER','getDataValue','setDataValue','followuptime','diff'];(function(_0xa1e3e3,_0x29fe0e){var _0xc980e9=function(_0x1f5adc){while(--_0x1f5adc){_0xa1e3e3['push'](_0xa1e3e3['shift']());}};_0xc980e9(++_0x29fe0e);}(_0x364b,0x162));var _0xb364=function(_0x4658e8,_0xccb2f3){_0x4658e8=_0x4658e8-0x0;var _0x5a06fe=_0x364b[_0x4658e8];return _0x5a06fe;};'use strict';var Sequelize=require(_0xb364('0x0'));var moment=require(_0xb364('0x1'));module[_0xb364('0x2')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0xb364('0x3')]},'scheduledat':{'type':Sequelize[_0xb364('0x4')]},'countbusyretry':{'type':Sequelize[_0xb364('0x5')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xb364('0x5')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xb364('0x5')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0xb364('0x3')]},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize[_0xb364('0x3')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xb364('0x3')]},'starttime':{'type':Sequelize[_0xb364('0x4')]},'responsetime':{'type':Sequelize[_0xb364('0x4')]},'answertime':{'type':Sequelize[_0xb364('0x4')]},'droptime':{'type':Sequelize[_0xb364('0x4')]},'endtime':{'type':Sequelize[_0xb364('0x4')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xb364('0x5')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xb364('0x5')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xb364('0x5')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xb364('0x3')]},'campaign':{'type':Sequelize[_0xb364('0x3')]},'campaigntype':{'type':Sequelize[_0xb364('0x3')]},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0xb364('0x3')]},'disposition':{'type':Sequelize[_0xb364('0x3')]},'dispositionat':{'type':Sequelize[_0xb364('0x4')],'set':function(_0x5ed3f6){var _0x7fed69=this[_0xb364('0x6')]('endtime');if(_0x7fed69&&_0x5ed3f6){this[_0xb364('0x7')](_0xb364('0x8'),moment(_0x5ed3f6)[_0xb364('0x9')](moment(_0x7fed69),_0xb364('0xa')));}return this[_0xb364('0x7')](_0xb364('0xb'),_0x5ed3f6);}},'amd':{'type':Sequelize[_0xb364('0xc')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize[_0xb364('0xc')],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xb364('0x4')]},'callback':{'type':Sequelize[_0xb364('0xc')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0xb364('0x4')]},'deleted':{'type':Sequelize[_0xb364('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0xb364('0x4')]},'recallme':{'type':Sequelize[_0xb364('0xc')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']}};