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