22d4d5a5889c07c17a3aa17d6b3cf10548b657d7
[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 _0x8e29=['endtime','setDataValue','diff','seconds','BOOLEAN','sequelize','exports','DATE','INTEGER','STRING','getDataValue'];(function(_0x27b655,_0x35d76f){var _0x367228=function(_0xb75a9f){while(--_0xb75a9f){_0x27b655['push'](_0x27b655['shift']());}};_0x367228(++_0x35d76f);}(_0x8e29,0x10d));var _0x98e2=function(_0x29c2ef,_0x4d4517){_0x29c2ef=_0x29c2ef-0x0;var _0xa85873=_0x8e29[_0x29c2ef];return _0xa85873;};'use strict';var Sequelize=require(_0x98e2('0x0'));var moment=require('moment');module[_0x98e2('0x1')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0x98e2('0x2')]},'countbusyretry':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x98e2('0x4')]},'originatecalleridnum':{'type':Sequelize[_0x98e2('0x4')]},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x98e2('0x4')]},'calleridname':{'type':Sequelize[_0x98e2('0x4')]},'starttime':{'type':Sequelize[_0x98e2('0x2')]},'responsetime':{'type':Sequelize[_0x98e2('0x2')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize[_0x98e2('0x2')]},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'holdtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x98e2('0x4')]},'campaign':{'type':Sequelize[_0x98e2('0x4')]},'campaigntype':{'type':Sequelize[_0x98e2('0x4')]},'membername':{'type':Sequelize[_0x98e2('0x4')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x98e2('0x4')]},'secondDisposition':{'type':Sequelize[_0x98e2('0x4')]},'thirdDisposition':{'type':Sequelize[_0x98e2('0x4')]},'dispositionat':{'type':Sequelize[_0x98e2('0x2')],'set':function(_0x339eb1){var _0x2db7ba=this[_0x98e2('0x5')](_0x98e2('0x6'));if(_0x2db7ba&&_0x339eb1){this[_0x98e2('0x7')]('followuptime',moment(_0x339eb1)[_0x98e2('0x8')](moment(_0x2db7ba),_0x98e2('0x9')));}return this[_0x98e2('0x7')]('dispositionat',_0x339eb1);}},'amd':{'type':Sequelize[_0x98e2('0xa')],'defaultValue':![]},'fax':{'type':Sequelize[_0x98e2('0xa')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x98e2('0xa')],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x98e2('0x2')]},'callback':{'type':Sequelize[_0x98e2('0xa')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize['STRING'],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x98e2('0x2')]},'countnosuchnumberretry':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x98e2('0x3')],'defaultValue':0x0}};