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