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