47fe0a0cccc9c3f9f7b2a376a671ecb7c0570961
[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 _0x4edd=['setDataValue','BOOLEAN','sequelize','INTEGER','DATE','STRING','endtime','followuptime','seconds'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x4edd,0x146));var _0xd4ed=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4edd[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0xd4ed('0x0'));var moment=require('moment');module['exports']={'state':{'type':Sequelize[_0xd4ed('0x1')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0xd4ed('0x2')]},'countbusyretry':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize[_0xd4ed('0x3')]},'originatecalleridname':{'type':Sequelize[_0xd4ed('0x3')]},'calleridnum':{'type':Sequelize[_0xd4ed('0x3')]},'calleridname':{'type':Sequelize[_0xd4ed('0x3')]},'starttime':{'type':Sequelize[_0xd4ed('0x2')]},'responsetime':{'type':Sequelize[_0xd4ed('0x2')]},'answertime':{'type':Sequelize[_0xd4ed('0x2')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0xd4ed('0x2')]},'ringtime':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xd4ed('0x3')]},'campaign':{'type':Sequelize[_0xd4ed('0x3')]},'campaigntype':{'type':Sequelize[_0xd4ed('0x3')]},'membername':{'type':Sequelize[_0xd4ed('0x3')]},'reason':{'type':Sequelize[_0xd4ed('0x3')]},'disposition':{'type':Sequelize[_0xd4ed('0x3')]},'secondDisposition':{'type':Sequelize[_0xd4ed('0x3')]},'thirdDisposition':{'type':Sequelize[_0xd4ed('0x3')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x4c85de){var _0x4c139b=this['getDataValue'](_0xd4ed('0x4'));if(_0x4c139b&&_0x4c85de){this['setDataValue'](_0xd4ed('0x5'),moment(_0x4c85de)['diff'](moment(_0x4c139b),_0xd4ed('0x6')));}return this[_0xd4ed('0x7')]('dispositionat',_0x4c85de);}},'amd':{'type':Sequelize[_0xd4ed('0x8')],'defaultValue':![]},'fax':{'type':Sequelize[_0xd4ed('0x8')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xd4ed('0x2')]},'callback':{'type':Sequelize[_0xd4ed('0x8')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0xd4ed('0x2')]},'deleted':{'type':Sequelize[_0xd4ed('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0xd4ed('0x2')]},'recallme':{'type':Sequelize[_0xd4ed('0x8')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xd4ed('0x2')]},'countnosuchnumberretry':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xd4ed('0x1')],'defaultValue':0x0}};