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