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