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