340edea37cf916bb1d49e5ea5f193250db1aa500
[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 _0xf981=['dispositionat','BOOLEAN','sequelize','moment','exports','INTEGER','STRING','DATE','getDataValue','diff','seconds','setDataValue'];(function(_0x24237f,_0x4cf32c){var _0x48298e=function(_0x3f7511){while(--_0x3f7511){_0x24237f['push'](_0x24237f['shift']());}};_0x48298e(++_0x4cf32c);}(_0xf981,0xe6));var _0x1f98=function(_0x3533f6,_0x2ec3f9){_0x3533f6=_0x3533f6-0x0;var _0x1ca10c=_0xf981[_0x3533f6];return _0x1ca10c;};'use strict';var Sequelize=require(_0x1f98('0x0'));var moment=require(_0x1f98('0x1'));module[_0x1f98('0x2')]={'state':{'type':Sequelize[_0x1f98('0x3')](0x2)},'statedesc':{'type':Sequelize[_0x1f98('0x4')]},'scheduledat':{'type':Sequelize[_0x1f98('0x5')]},'countbusyretry':{'type':Sequelize[_0x1f98('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x1f98('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x1f98('0x3')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x1f98('0x4')]},'originatecalleridnum':{'type':Sequelize[_0x1f98('0x4')]},'originatecalleridname':{'type':Sequelize[_0x1f98('0x4')]},'calleridnum':{'type':Sequelize[_0x1f98('0x4')]},'calleridname':{'type':Sequelize['STRING']},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize[_0x1f98('0x5')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize[_0x1f98('0x5')]},'endtime':{'type':Sequelize[_0x1f98('0x5')]},'ringtime':{'type':Sequelize[_0x1f98('0x3')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x1f98('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x1f98('0x3')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x1f98('0x4')]},'campaign':{'type':Sequelize[_0x1f98('0x4')]},'campaigntype':{'type':Sequelize[_0x1f98('0x4')]},'membername':{'type':Sequelize[_0x1f98('0x4')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x1f98('0x4')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x4398ea){var _0x4dddb4=this[_0x1f98('0x6')]('endtime');if(_0x4dddb4&&_0x4398ea){this['setDataValue']('followuptime',moment(_0x4398ea)[_0x1f98('0x7')](moment(_0x4dddb4),_0x1f98('0x8')));}return this[_0x1f98('0x9')](_0x1f98('0xa'),_0x4398ea);}},'amd':{'type':Sequelize[_0x1f98('0xb')],'defaultValue':![]},'fax':{'type':Sequelize[_0x1f98('0xb')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x1f98('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x1f98('0x5')]},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x1f98('0x4')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0x1f98('0x4')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x1f98('0x5')]},'recallme':{'type':Sequelize[_0x1f98('0xb')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x1f98('0x5')]}};