2a1fa69ba144504498bc150eaaf48735011624a7
[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 _0x2b7c=['getDataValue','endtime','followuptime','BOOLEAN','sequelize','INTEGER','STRING','DATE'];(function(_0x25e323,_0x20e141){var _0xb39acf=function(_0x5e8bd2){while(--_0x5e8bd2){_0x25e323['push'](_0x25e323['shift']());}};_0xb39acf(++_0x20e141);}(_0x2b7c,0xa4));var _0xc2b7=function(_0x588d95,_0x3b1526){_0x588d95=_0x588d95-0x0;var _0x494606=_0x2b7c[_0x588d95];return _0x494606;};'use strict';var Sequelize=require(_0xc2b7('0x0'));var moment=require('moment');module['exports']={'state':{'type':Sequelize[_0xc2b7('0x1')](0x2)},'statedesc':{'type':Sequelize[_0xc2b7('0x2')]},'scheduledat':{'type':Sequelize[_0xc2b7('0x3')]},'countbusyretry':{'type':Sequelize[_0xc2b7('0x1')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xc2b7('0x1')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xc2b7('0x1')],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize[_0xc2b7('0x2')]},'originatecalleridname':{'type':Sequelize[_0xc2b7('0x2')]},'calleridnum':{'type':Sequelize[_0xc2b7('0x2')]},'calleridname':{'type':Sequelize[_0xc2b7('0x2')]},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize[_0xc2b7('0x3')]},'answertime':{'type':Sequelize[_0xc2b7('0x3')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0xc2b7('0x3')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xc2b7('0x1')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xc2b7('0x1')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xc2b7('0x1')],'defaultValue':0x0},'dropreason':{'type':Sequelize['STRING']},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize[_0xc2b7('0x2')]},'membername':{'type':Sequelize[_0xc2b7('0x2')]},'reason':{'type':Sequelize[_0xc2b7('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xc2b7('0x2')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x23029d){var _0x34965a=this[_0xc2b7('0x4')](_0xc2b7('0x5'));if(_0x34965a&&_0x23029d){this['setDataValue'](_0xc2b7('0x6'),moment(_0x23029d)['diff'](moment(_0x34965a),'seconds'));}}},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize[_0xc2b7('0x7')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0xc2b7('0x7')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0xc2b7('0x7')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize[_0xc2b7('0x7')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xc2b7('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize[_0xc2b7('0x3')]},'deleted':{'type':Sequelize[_0xc2b7('0x2')],'defaultValue':null},'deletedat':{'type':Sequelize[_0xc2b7('0x3')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xc2b7('0x3')]},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xc2b7('0x1')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xc2b7('0x1')],'defaultValue':0x0}};