Built motion from commit 4a17b4ed.|2.6.17
[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 _0xa6d7=['followuptime','seconds','BOOLEAN','INTEGER','STRING','DATE','getDataValue'];(function(_0x1f2486,_0xb391f2){var _0x4eccc6=function(_0x48e915){while(--_0x48e915){_0x1f2486['push'](_0x1f2486['shift']());}};_0x4eccc6(++_0xb391f2);}(_0xa6d7,0xa4));var _0x7a6d=function(_0x580576,_0x2f107d){_0x580576=_0x580576-0x0;var _0x3f55a0=_0xa6d7[_0x580576];return _0x3f55a0;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module['exports']={'state':{'type':Sequelize[_0x7a6d('0x0')](0x2)},'statedesc':{'type':Sequelize[_0x7a6d('0x1')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x7a6d('0x1')]},'originatecalleridnum':{'type':Sequelize[_0x7a6d('0x1')]},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x7a6d('0x1')]},'calleridname':{'type':Sequelize[_0x7a6d('0x1')]},'starttime':{'type':Sequelize[_0x7a6d('0x2')]},'responsetime':{'type':Sequelize[_0x7a6d('0x2')]},'answertime':{'type':Sequelize[_0x7a6d('0x2')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x7a6d('0x2')]},'ringtime':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'talktime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x7a6d('0x1')]},'campaign':{'type':Sequelize[_0x7a6d('0x1')]},'campaigntype':{'type':Sequelize[_0x7a6d('0x1')]},'membername':{'type':Sequelize[_0x7a6d('0x1')]},'reason':{'type':Sequelize[_0x7a6d('0x1')]},'disposition':{'type':Sequelize[_0x7a6d('0x1')]},'secondDisposition':{'type':Sequelize[_0x7a6d('0x1')]},'thirdDisposition':{'type':Sequelize[_0x7a6d('0x1')]},'dispositionat':{'type':Sequelize[_0x7a6d('0x2')],'set':function(_0x9fb599){var _0x587940=this[_0x7a6d('0x3')]('endtime');if(_0x587940&&_0x9fb599){this['setDataValue'](_0x7a6d('0x4'),moment(_0x9fb599)['diff'](moment(_0x587940),_0x7a6d('0x5')));}}},'amd':{'type':Sequelize[_0x7a6d('0x6')],'defaultValue':![]},'fax':{'type':Sequelize[_0x7a6d('0x6')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x7a6d('0x6')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x7a6d('0x6')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x7a6d('0x2')]},'callback':{'type':Sequelize[_0x7a6d('0x6')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x7a6d('0x1')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x7a6d('0x2')]},'deleted':{'type':Sequelize[_0x7a6d('0x1')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x7a6d('0x2')]},'recallme':{'type':Sequelize[_0x7a6d('0x6')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x7a6d('0x2')]},'countnosuchnumberretry':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x7a6d('0x0')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};