Built motion from commit 9d0783e6.|2.6.13
[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 _0x06a6=['BOOLEAN','sequelize','exports','INTEGER','STRING','DATE','getDataValue','endtime','setDataValue','diff','seconds'];(function(_0x5b65b9,_0x499fa0){var _0x2fd6bd=function(_0x18c17f){while(--_0x18c17f){_0x5b65b9['push'](_0x5b65b9['shift']());}};_0x2fd6bd(++_0x499fa0);}(_0x06a6,0x1e5));var _0x606a=function(_0x16d8d9,_0x2be9a4){_0x16d8d9=_0x16d8d9-0x0;var _0x274705=_0x06a6[_0x16d8d9];return _0x274705;};'use strict';var Sequelize=require(_0x606a('0x0'));var moment=require('moment');module[_0x606a('0x1')]={'state':{'type':Sequelize[_0x606a('0x2')](0x2)},'statedesc':{'type':Sequelize[_0x606a('0x3')]},'scheduledat':{'type':Sequelize[_0x606a('0x4')]},'countbusyretry':{'type':Sequelize[_0x606a('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x606a('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x606a('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x606a('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x606a('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x606a('0x3')]},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x606a('0x3')]},'calleridname':{'type':Sequelize[_0x606a('0x3')]},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0x606a('0x4')]},'droptime':{'type':Sequelize[_0x606a('0x4')]},'endtime':{'type':Sequelize[_0x606a('0x4')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x606a('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x606a('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x606a('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x606a('0x3')]},'campaign':{'type':Sequelize[_0x606a('0x3')]},'campaigntype':{'type':Sequelize[_0x606a('0x3')]},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0x606a('0x3')]},'disposition':{'type':Sequelize[_0x606a('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x606a('0x3')]},'dispositionat':{'type':Sequelize[_0x606a('0x4')],'set':function(_0x4f174c){var _0x994a86=this[_0x606a('0x5')](_0x606a('0x6'));if(_0x994a86&&_0x4f174c){this[_0x606a('0x7')]('followuptime',moment(_0x4f174c)[_0x606a('0x8')](moment(_0x994a86),_0x606a('0x9')));}}},'amd':{'type':Sequelize[_0x606a('0xa')],'defaultValue':![]},'fax':{'type':Sequelize[_0x606a('0xa')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x606a('0xa')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x606a('0x4')]},'deleted':{'type':Sequelize[_0x606a('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0x606a('0xa')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x606a('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};