Built motion from commit (unavailable).|2.5.31
[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 _0x32cd=['setDataValue','followuptime','diff','seconds','BOOLEAN','sequelize','moment','exports','STRING','DATE','INTEGER','endtime'];(function(_0xe4e603,_0x50f485){var _0x33887c=function(_0x46ae09){while(--_0x46ae09){_0xe4e603['push'](_0xe4e603['shift']());}};_0x33887c(++_0x50f485);}(_0x32cd,0x89));var _0xd32c=function(_0x1849a7,_0x22e20c){_0x1849a7=_0x1849a7-0x0;var _0x1c2061=_0x32cd[_0x1849a7];return _0x1c2061;};'use strict';var Sequelize=require(_0xd32c('0x0'));var moment=require(_0xd32c('0x1'));module[_0xd32c('0x2')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0xd32c('0x3')]},'scheduledat':{'type':Sequelize[_0xd32c('0x4')]},'countbusyretry':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xd32c('0x3')]},'calleridname':{'type':Sequelize[_0xd32c('0x3')]},'starttime':{'type':Sequelize[_0xd32c('0x4')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0xd32c('0x4')]},'droptime':{'type':Sequelize[_0xd32c('0x4')]},'endtime':{'type':Sequelize[_0xd32c('0x4')]},'ringtime':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'holdtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xd32c('0x3')]},'campaign':{'type':Sequelize[_0xd32c('0x3')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0xd32c('0x3')]},'disposition':{'type':Sequelize[_0xd32c('0x3')]},'secondDisposition':{'type':Sequelize[_0xd32c('0x3')]},'thirdDisposition':{'type':Sequelize[_0xd32c('0x3')]},'dispositionat':{'type':Sequelize[_0xd32c('0x4')],'set':function(_0x4bd8b3){var _0x34ae4e=this['getDataValue'](_0xd32c('0x6'));if(_0x34ae4e&&_0x4bd8b3){this[_0xd32c('0x7')](_0xd32c('0x8'),moment(_0x4bd8b3)[_0xd32c('0x9')](moment(_0x34ae4e),_0xd32c('0xa')));}return this[_0xd32c('0x7')]('dispositionat',_0x4bd8b3);}},'amd':{'type':Sequelize[_0xd32c('0xb')],'defaultValue':![]},'fax':{'type':Sequelize[_0xd32c('0xb')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0xd32c('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0xd32c('0xb')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xd32c('0x4')]},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xd32c('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0xd32c('0x4')]},'deleted':{'type':Sequelize[_0xd32c('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0xd32c('0x4')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xd32c('0x4')]},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xd32c('0x5')],'defaultValue':0x0}};