2553f7d675b3258ea270a5d4e5f73f50e6f2c941
[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 _0x10f9=['INTEGER','STRING','DATE','getDataValue','endtime','setDataValue','followuptime','diff','BOOLEAN','sequelize','moment','exports'];(function(_0x13d07a,_0x41efc3){var _0x5ee0ee=function(_0x4ca94a){while(--_0x4ca94a){_0x13d07a['push'](_0x13d07a['shift']());}};_0x5ee0ee(++_0x41efc3);}(_0x10f9,0x69));var _0x910f=function(_0x37ed0e,_0x3a4540){_0x37ed0e=_0x37ed0e-0x0;var _0x43546b=_0x10f9[_0x37ed0e];return _0x43546b;};'use strict';var Sequelize=require(_0x910f('0x0'));var moment=require(_0x910f('0x1'));module[_0x910f('0x2')]={'state':{'type':Sequelize[_0x910f('0x3')](0x2)},'statedesc':{'type':Sequelize[_0x910f('0x4')]},'scheduledat':{'type':Sequelize[_0x910f('0x5')]},'countbusyretry':{'type':Sequelize[_0x910f('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x910f('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x910f('0x3')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x910f('0x4')]},'originatecalleridnum':{'type':Sequelize[_0x910f('0x4')]},'originatecalleridname':{'type':Sequelize[_0x910f('0x4')]},'calleridnum':{'type':Sequelize[_0x910f('0x4')]},'calleridname':{'type':Sequelize[_0x910f('0x4')]},'starttime':{'type':Sequelize[_0x910f('0x5')]},'responsetime':{'type':Sequelize[_0x910f('0x5')]},'answertime':{'type':Sequelize[_0x910f('0x5')]},'droptime':{'type':Sequelize[_0x910f('0x5')]},'endtime':{'type':Sequelize[_0x910f('0x5')]},'ringtime':{'type':Sequelize[_0x910f('0x3')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x910f('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x910f('0x3')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x910f('0x3')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x910f('0x4')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize[_0x910f('0x4')]},'membername':{'type':Sequelize[_0x910f('0x4')]},'reason':{'type':Sequelize[_0x910f('0x4')]},'disposition':{'type':Sequelize[_0x910f('0x4')]},'dispositionat':{'type':Sequelize[_0x910f('0x5')],'set':function(_0x48f829){var _0x1072d1=this[_0x910f('0x6')](_0x910f('0x7'));if(_0x1072d1&&_0x48f829){this[_0x910f('0x8')](_0x910f('0x9'),moment(_0x48f829)[_0x910f('0xa')](moment(_0x1072d1),'seconds'));}return this[_0x910f('0x8')]('dispositionat',_0x48f829);}},'amd':{'type':Sequelize[_0x910f('0xb')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x910f('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x910f('0x5')]},'callback':{'type':Sequelize[_0x910f('0xb')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x910f('0x5')]},'deleted':{'type':Sequelize[_0x910f('0x4')],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0x910f('0xb')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']}};