fe3259a544709eb1a40345b1d7e1a47caa6ff5f7
[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 _0x9ac4=['dispositionat','BOOLEAN','sequelize','moment','INTEGER','STRING','DATE','getDataValue','endtime','setDataValue','followuptime','seconds'];(function(_0x473738,_0x15ea31){var _0x1df4ae=function(_0x417a72){while(--_0x417a72){_0x473738['push'](_0x473738['shift']());}};_0x1df4ae(++_0x15ea31);}(_0x9ac4,0x13a));var _0x49ac=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x9ac4[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x49ac('0x0'));var moment=require(_0x49ac('0x1'));module['exports']={'state':{'type':Sequelize[_0x49ac('0x2')](0x2)},'statedesc':{'type':Sequelize[_0x49ac('0x3')]},'scheduledat':{'type':Sequelize[_0x49ac('0x4')]},'countbusyretry':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x49ac('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x49ac('0x3')]},'originatecalleridname':{'type':Sequelize[_0x49ac('0x3')]},'calleridnum':{'type':Sequelize[_0x49ac('0x3')]},'calleridname':{'type':Sequelize['STRING']},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0x49ac('0x4')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x49ac('0x4')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x49ac('0x3')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x49ac('0x3')]},'reason':{'type':Sequelize[_0x49ac('0x3')]},'disposition':{'type':Sequelize['STRING']},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x1eaf41){var _0x3532dc=this[_0x49ac('0x5')](_0x49ac('0x6'));if(_0x3532dc&&_0x1eaf41){this[_0x49ac('0x7')](_0x49ac('0x8'),moment(_0x1eaf41)['diff'](moment(_0x3532dc),_0x49ac('0x9')));}return this[_0x49ac('0x7')](_0x49ac('0xa'),_0x1eaf41);}},'amd':{'type':Sequelize[_0x49ac('0xb')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x49ac('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x49ac('0xb')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize[_0x49ac('0xb')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x49ac('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x49ac('0x4')]},'deleted':{'type':Sequelize[_0x49ac('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x49ac('0x4')]},'recallme':{'type':Sequelize[_0x49ac('0xb')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x49ac('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};