9d806f84f266a90358ad361259771fee695a42c3
[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 _0x0f83=['sequelize','moment','exports','INTEGER','STRING','DATE','getDataValue','endtime','setDataValue','followuptime','diff','seconds','BOOLEAN'];(function(_0x3836ae,_0x33dcdb){var _0x4d4a64=function(_0x58810e){while(--_0x58810e){_0x3836ae['push'](_0x3836ae['shift']());}};_0x4d4a64(++_0x33dcdb);}(_0x0f83,0x1c7));var _0x30f8=function(_0x2ce596,_0x10313b){_0x2ce596=_0x2ce596-0x0;var _0x2e65a4=_0x0f83[_0x2ce596];return _0x2e65a4;};'use strict';var Sequelize=require(_0x30f8('0x0'));var moment=require(_0x30f8('0x1'));module[_0x30f8('0x2')]={'state':{'type':Sequelize[_0x30f8('0x3')](0x2)},'statedesc':{'type':Sequelize[_0x30f8('0x4')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'countglobal':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x30f8('0x4')]},'originatecalleridnum':{'type':Sequelize[_0x30f8('0x4')]},'originatecalleridname':{'type':Sequelize[_0x30f8('0x4')]},'calleridnum':{'type':Sequelize[_0x30f8('0x4')]},'calleridname':{'type':Sequelize[_0x30f8('0x4')]},'starttime':{'type':Sequelize[_0x30f8('0x5')]},'responsetime':{'type':Sequelize[_0x30f8('0x5')]},'answertime':{'type':Sequelize[_0x30f8('0x5')]},'droptime':{'type':Sequelize[_0x30f8('0x5')]},'endtime':{'type':Sequelize[_0x30f8('0x5')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'dropreason':{'type':Sequelize['STRING']},'campaign':{'type':Sequelize[_0x30f8('0x4')]},'campaigntype':{'type':Sequelize[_0x30f8('0x4')]},'membername':{'type':Sequelize[_0x30f8('0x4')]},'reason':{'type':Sequelize[_0x30f8('0x4')]},'disposition':{'type':Sequelize[_0x30f8('0x4')]},'secondDisposition':{'type':Sequelize[_0x30f8('0x4')]},'thirdDisposition':{'type':Sequelize[_0x30f8('0x4')]},'dispositionat':{'type':Sequelize[_0x30f8('0x5')],'set':function(_0x36c17f){var _0x27cc57=this[_0x30f8('0x6')](_0x30f8('0x7'));if(_0x27cc57&&_0x36c17f){this[_0x30f8('0x8')](_0x30f8('0x9'),moment(_0x36c17f)[_0x30f8('0xa')](moment(_0x27cc57),_0x30f8('0xb')));}}},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize[_0x30f8('0xc')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x30f8('0xc')],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x30f8('0x5')]},'callback':{'type':Sequelize[_0x30f8('0xc')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x30f8('0x4')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x30f8('0x5')]},'deleted':{'type':Sequelize[_0x30f8('0x4')],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0x30f8('0xc')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x30f8('0x5')]},'countnosuchnumberretry':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x30f8('0x3')],'defaultValue':0x0}};