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