979e3178b4069be1eacb380c3e20fa88ed573eec
[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 _0x2b87=['seconds','setDataValue','dispositionat','BOOLEAN','sequelize','moment','INTEGER','STRING','DATE','getDataValue','followuptime'];(function(_0x42557b,_0x290c94){var _0x3a3ff2=function(_0x33f6cc){while(--_0x33f6cc){_0x42557b['push'](_0x42557b['shift']());}};_0x3a3ff2(++_0x290c94);}(_0x2b87,0x138));var _0x72b8=function(_0x5abf51,_0x57a167){_0x5abf51=_0x5abf51-0x0;var _0x35aeef=_0x2b87[_0x5abf51];return _0x35aeef;};'use strict';var Sequelize=require(_0x72b8('0x0'));var moment=require(_0x72b8('0x1'));module['exports']={'state':{'type':Sequelize[_0x72b8('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x72b8('0x3')]},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize[_0x72b8('0x3')]},'calleridnum':{'type':Sequelize[_0x72b8('0x3')]},'calleridname':{'type':Sequelize[_0x72b8('0x3')]},'starttime':{'type':Sequelize[_0x72b8('0x4')]},'responsetime':{'type':Sequelize[_0x72b8('0x4')]},'answertime':{'type':Sequelize[_0x72b8('0x4')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x72b8('0x4')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x72b8('0x3')]},'campaign':{'type':Sequelize[_0x72b8('0x3')]},'campaigntype':{'type':Sequelize[_0x72b8('0x3')]},'membername':{'type':Sequelize[_0x72b8('0x3')]},'reason':{'type':Sequelize[_0x72b8('0x3')]},'disposition':{'type':Sequelize[_0x72b8('0x3')]},'secondDisposition':{'type':Sequelize[_0x72b8('0x3')]},'thirdDisposition':{'type':Sequelize[_0x72b8('0x3')]},'dispositionat':{'type':Sequelize[_0x72b8('0x4')],'set':function(_0x5060db){var _0x14e443=this[_0x72b8('0x5')]('endtime');if(_0x14e443&&_0x5060db){this['setDataValue'](_0x72b8('0x6'),moment(_0x5060db)['diff'](moment(_0x14e443),_0x72b8('0x7')));}return this[_0x72b8('0x8')](_0x72b8('0x9'),_0x5060db);}},'amd':{'type':Sequelize[_0x72b8('0xa')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x72b8('0x4')]},'callback':{'type':Sequelize[_0x72b8('0xa')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x72b8('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x72b8('0x4')]},'deleted':{'type':Sequelize[_0x72b8('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x72b8('0x4')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x72b8('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0}};