Built motion from commit cb845558.|2.6.34
[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 _0xd35a=['seconds','BOOLEAN','moment','exports','DATE','INTEGER','STRING','getDataValue','setDataValue','followuptime','diff'];(function(_0x29b916,_0x520f2b){var _0x3857d2=function(_0x11b496){while(--_0x11b496){_0x29b916['push'](_0x29b916['shift']());}};_0x3857d2(++_0x520f2b);}(_0xd35a,0x157));var _0xad35=function(_0x3220bb,_0x342a03){_0x3220bb=_0x3220bb-0x0;var _0x23415c=_0xd35a[_0x3220bb];return _0x23415c;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xad35('0x0'));module[_0xad35('0x1')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0xad35('0x2')]},'countbusyretry':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'countglobal':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0xad35('0x4')]},'originatecalleridnum':{'type':Sequelize[_0xad35('0x4')]},'originatecalleridname':{'type':Sequelize[_0xad35('0x4')]},'calleridnum':{'type':Sequelize[_0xad35('0x4')]},'calleridname':{'type':Sequelize[_0xad35('0x4')]},'starttime':{'type':Sequelize[_0xad35('0x2')]},'responsetime':{'type':Sequelize[_0xad35('0x2')]},'answertime':{'type':Sequelize[_0xad35('0x2')]},'droptime':{'type':Sequelize[_0xad35('0x2')]},'endtime':{'type':Sequelize[_0xad35('0x2')]},'ringtime':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xad35('0x4')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xad35('0x4')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0xad35('0x4')]},'secondDisposition':{'type':Sequelize[_0xad35('0x4')]},'thirdDisposition':{'type':Sequelize[_0xad35('0x4')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x44b222){var _0x44c9fb=this[_0xad35('0x5')]('endtime');if(_0x44c9fb&&_0x44b222){this[_0xad35('0x6')](_0xad35('0x7'),moment(_0x44b222)[_0xad35('0x8')](moment(_0x44c9fb),_0xad35('0x9')));}}},'amd':{'type':Sequelize[_0xad35('0xa')],'defaultValue':![]},'fax':{'type':Sequelize[_0xad35('0xa')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0xad35('0xa')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xad35('0x2')]},'callback':{'type':Sequelize[_0xad35('0xa')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xad35('0x4')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize['STRING'],'defaultValue':null},'deletedat':{'type':Sequelize[_0xad35('0x2')]},'recallme':{'type':Sequelize[_0xad35('0xa')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xad35('0x2')]},'countnosuchnumberretry':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xad35('0x3')],'defaultValue':0x0}};