Built motion from commit 47436d59.|2.6.7
[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 _0x36e2=['INTEGER','STRING','DATE','endtime','setDataValue','followuptime','diff','seconds','BOOLEAN','sequelize','exports'];(function(_0x2d4125,_0x156ec6){var _0x10a9ba=function(_0x42c8a5){while(--_0x42c8a5){_0x2d4125['push'](_0x2d4125['shift']());}};_0x10a9ba(++_0x156ec6);}(_0x36e2,0xcf));var _0x236e=function(_0x412e76,_0x3880c4){_0x412e76=_0x412e76-0x0;var _0x5116de=_0x36e2[_0x412e76];return _0x5116de;};'use strict';var Sequelize=require(_0x236e('0x0'));var moment=require('moment');module[_0x236e('0x1')]={'state':{'type':Sequelize[_0x236e('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x236e('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x236e('0x3')]},'originatecalleridname':{'type':Sequelize[_0x236e('0x3')]},'calleridnum':{'type':Sequelize[_0x236e('0x3')]},'calleridname':{'type':Sequelize[_0x236e('0x3')]},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize[_0x236e('0x4')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x236e('0x4')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x236e('0x3')]},'campaign':{'type':Sequelize[_0x236e('0x3')]},'campaigntype':{'type':Sequelize[_0x236e('0x3')]},'membername':{'type':Sequelize[_0x236e('0x3')]},'reason':{'type':Sequelize[_0x236e('0x3')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x236e('0x3')]},'thirdDisposition':{'type':Sequelize[_0x236e('0x3')]},'dispositionat':{'type':Sequelize[_0x236e('0x4')],'set':function(_0x15e3d8){var _0x3fda5b=this['getDataValue'](_0x236e('0x5'));if(_0x3fda5b&&_0x15e3d8){this[_0x236e('0x6')](_0x236e('0x7'),moment(_0x15e3d8)[_0x236e('0x8')](moment(_0x3fda5b),_0x236e('0x9')));}}},'amd':{'type':Sequelize[_0x236e('0xa')],'defaultValue':![]},'fax':{'type':Sequelize[_0x236e('0xa')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x236e('0xa')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x236e('0xa')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x236e('0x4')]},'callback':{'type':Sequelize[_0x236e('0xa')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize['STRING'],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0x236e('0xa')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x236e('0x2')],'defaultValue':0x0}};