Built motion from commit d5e4af8c.|2.6.23
[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 _0xcb58=['exports','STRING','DATE','INTEGER','endtime','setDataValue','diff','seconds','BOOLEAN','sequelize'];(function(_0xf248da,_0x51dbd2){var _0x3dd20e=function(_0x3506a7){while(--_0x3506a7){_0xf248da['push'](_0xf248da['shift']());}};_0x3dd20e(++_0x51dbd2);}(_0xcb58,0x1a3));var _0x8cb5=function(_0x139016,_0xffbd4e){_0x139016=_0x139016-0x0;var _0x36da7c=_0xcb58[_0x139016];return _0x36da7c;};'use strict';var Sequelize=require(_0x8cb5('0x0'));var moment=require('moment');module[_0x8cb5('0x1')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0x8cb5('0x2')]},'scheduledat':{'type':Sequelize[_0x8cb5('0x3')]},'countbusyretry':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'countglobal':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x8cb5('0x2')]},'originatecalleridnum':{'type':Sequelize[_0x8cb5('0x2')]},'originatecalleridname':{'type':Sequelize[_0x8cb5('0x2')]},'calleridnum':{'type':Sequelize[_0x8cb5('0x2')]},'calleridname':{'type':Sequelize['STRING']},'starttime':{'type':Sequelize[_0x8cb5('0x3')]},'responsetime':{'type':Sequelize[_0x8cb5('0x3')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize[_0x8cb5('0x3')]},'endtime':{'type':Sequelize[_0x8cb5('0x3')]},'ringtime':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x8cb5('0x2')]},'campaign':{'type':Sequelize[_0x8cb5('0x2')]},'campaigntype':{'type':Sequelize[_0x8cb5('0x2')]},'membername':{'type':Sequelize[_0x8cb5('0x2')]},'reason':{'type':Sequelize[_0x8cb5('0x2')]},'disposition':{'type':Sequelize[_0x8cb5('0x2')]},'secondDisposition':{'type':Sequelize[_0x8cb5('0x2')]},'thirdDisposition':{'type':Sequelize[_0x8cb5('0x2')]},'dispositionat':{'type':Sequelize[_0x8cb5('0x3')],'set':function(_0x5d4f29){var _0x4be419=this['getDataValue'](_0x8cb5('0x5'));if(_0x4be419&&_0x5d4f29){this[_0x8cb5('0x6')]('followuptime',moment(_0x5d4f29)[_0x8cb5('0x7')](moment(_0x4be419),_0x8cb5('0x8')));}}},'amd':{'type':Sequelize[_0x8cb5('0x9')],'defaultValue':![]},'fax':{'type':Sequelize[_0x8cb5('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x8cb5('0x9')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x8cb5('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize[_0x8cb5('0x9')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x8cb5('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x8cb5('0x3')]},'deleted':{'type':Sequelize[_0x8cb5('0x2')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x8cb5('0x3')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x8cb5('0x3')]},'countnosuchnumberretry':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x8cb5('0x4')],'defaultValue':0x0}};