b6d0214156a966a8328a02bf8c518b7105b6f244
[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 _0xb91e=['BOOLEAN','sequelize','moment','STRING','INTEGER','DATE','getDataValue','endtime','setDataValue','followuptime','diff','seconds'];(function(_0x5b329d,_0x32716a){var _0x3369fc=function(_0x1ccbea){while(--_0x1ccbea){_0x5b329d['push'](_0x5b329d['shift']());}};_0x3369fc(++_0x32716a);}(_0xb91e,0xb5));var _0xeb91=function(_0x103dbf,_0x1eb9f1){_0x103dbf=_0x103dbf-0x0;var _0x41906c=_0xb91e[_0x103dbf];return _0x41906c;};'use strict';var Sequelize=require(_0xeb91('0x0'));var moment=require(_0xeb91('0x1'));module['exports']={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0xeb91('0x2')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0xeb91('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xeb91('0x3')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0xeb91('0x2')]},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xeb91('0x2')]},'starttime':{'type':Sequelize[_0xeb91('0x4')]},'responsetime':{'type':Sequelize[_0xeb91('0x4')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize[_0xeb91('0x4')]},'endtime':{'type':Sequelize[_0xeb91('0x4')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xeb91('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xeb91('0x3')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xeb91('0x2')]},'campaign':{'type':Sequelize[_0xeb91('0x2')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0xeb91('0x2')]},'disposition':{'type':Sequelize[_0xeb91('0x2')]},'secondDisposition':{'type':Sequelize[_0xeb91('0x2')]},'thirdDisposition':{'type':Sequelize[_0xeb91('0x2')]},'dispositionat':{'type':Sequelize[_0xeb91('0x4')],'set':function(_0x23ef05){var _0x4af950=this[_0xeb91('0x5')](_0xeb91('0x6'));if(_0x4af950&&_0x23ef05){this[_0xeb91('0x7')](_0xeb91('0x8'),moment(_0x23ef05)[_0xeb91('0x9')](moment(_0x4af950),_0xeb91('0xa')));}}},'amd':{'type':Sequelize[_0xeb91('0xb')],'defaultValue':![]},'fax':{'type':Sequelize[_0xeb91('0xb')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0xeb91('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0xeb91('0xb')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize[_0xeb91('0xb')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xeb91('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0xeb91('0x2')],'defaultValue':null},'deletedat':{'type':Sequelize[_0xeb91('0x4')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xeb91('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0xeb91('0x3')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xeb91('0x3')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0xeb91('0x3')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xeb91('0x3')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};