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