806926893846172985aa7e1b8b9c9e52af8c5ab9
[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 _0x5664=['followuptime','diff','dispositionat','BOOLEAN','sequelize','moment','exports','INTEGER','STRING','DATE','getDataValue','endtime','setDataValue'];(function(_0x5c6828,_0x2604a9){var _0x274aab=function(_0x1b598b){while(--_0x1b598b){_0x5c6828['push'](_0x5c6828['shift']());}};_0x274aab(++_0x2604a9);}(_0x5664,0xfb));var _0x4566=function(_0x54b283,_0x5eb8a6){_0x54b283=_0x54b283-0x0;var _0x2462b3=_0x5664[_0x54b283];return _0x2462b3;};'use strict';var Sequelize=require(_0x4566('0x0'));var moment=require(_0x4566('0x1'));module[_0x4566('0x2')]={'state':{'type':Sequelize[_0x4566('0x3')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize[_0x4566('0x4')]},'originatecalleridname':{'type':Sequelize[_0x4566('0x4')]},'calleridnum':{'type':Sequelize[_0x4566('0x4')]},'calleridname':{'type':Sequelize[_0x4566('0x4')]},'starttime':{'type':Sequelize[_0x4566('0x5')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0x4566('0x5')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x4566('0x4')]},'campaign':{'type':Sequelize[_0x4566('0x4')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x4566('0x4')]},'reason':{'type':Sequelize[_0x4566('0x4')]},'disposition':{'type':Sequelize[_0x4566('0x4')]},'secondDisposition':{'type':Sequelize[_0x4566('0x4')]},'thirdDisposition':{'type':Sequelize[_0x4566('0x4')]},'dispositionat':{'type':Sequelize[_0x4566('0x5')],'set':function(_0x4ff51d){var _0x4f30de=this[_0x4566('0x6')](_0x4566('0x7'));if(_0x4f30de&&_0x4ff51d){this[_0x4566('0x8')](_0x4566('0x9'),moment(_0x4ff51d)[_0x4566('0xa')](moment(_0x4f30de),'seconds'));}return this[_0x4566('0x8')](_0x4566('0xb'),_0x4ff51d);}},'amd':{'type':Sequelize[_0x4566('0xc')],'defaultValue':![]},'fax':{'type':Sequelize[_0x4566('0xc')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x4566('0xc')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x4566('0xc')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x4566('0x5')]},'callback':{'type':Sequelize[_0x4566('0xc')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x4566('0x5')]},'deleted':{'type':Sequelize['STRING'],'defaultValue':null},'deletedat':{'type':Sequelize[_0x4566('0x5')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x4566('0x3')],'defaultValue':0x0}};