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