57036554dc9240b02066efadf372ebda4f791799
[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 _0x8a77=['INTEGER','STRING','DATE','endtime','setDataValue','followuptime','seconds','BOOLEAN','sequelize','moment'];(function(_0x27a290,_0x16efbf){var _0x1c8298=function(_0x431c6a){while(--_0x431c6a){_0x27a290['push'](_0x27a290['shift']());}};_0x1c8298(++_0x16efbf);}(_0x8a77,0xe4));var _0x78a7=function(_0x4833b0,_0x384caf){_0x4833b0=_0x4833b0-0x0;var _0x1a7ad3=_0x8a77[_0x4833b0];return _0x1a7ad3;};'use strict';var Sequelize=require(_0x78a7('0x0'));var moment=require(_0x78a7('0x1'));module['exports']={'state':{'type':Sequelize[_0x78a7('0x2')](0x2)},'statedesc':{'type':Sequelize[_0x78a7('0x3')]},'scheduledat':{'type':Sequelize[_0x78a7('0x4')]},'countbusyretry':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x78a7('0x3')]},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize[_0x78a7('0x3')]},'calleridnum':{'type':Sequelize[_0x78a7('0x3')]},'calleridname':{'type':Sequelize['STRING']},'starttime':{'type':Sequelize[_0x78a7('0x4')]},'responsetime':{'type':Sequelize[_0x78a7('0x4')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize[_0x78a7('0x4')]},'endtime':{'type':Sequelize[_0x78a7('0x4')]},'ringtime':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x78a7('0x3')]},'campaign':{'type':Sequelize[_0x78a7('0x3')]},'campaigntype':{'type':Sequelize[_0x78a7('0x3')]},'membername':{'type':Sequelize[_0x78a7('0x3')]},'reason':{'type':Sequelize[_0x78a7('0x3')]},'disposition':{'type':Sequelize[_0x78a7('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'dispositionat':{'type':Sequelize[_0x78a7('0x4')],'set':function(_0x34a68d){var _0x9d9776=this['getDataValue'](_0x78a7('0x5'));if(_0x9d9776&&_0x34a68d){this[_0x78a7('0x6')](_0x78a7('0x7'),moment(_0x34a68d)['diff'](moment(_0x9d9776),_0x78a7('0x8')));}}},'amd':{'type':Sequelize[_0x78a7('0x9')],'defaultValue':![]},'fax':{'type':Sequelize[_0x78a7('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x78a7('0x4')]},'callback':{'type':Sequelize[_0x78a7('0x9')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x78a7('0x4')]},'deleted':{'type':Sequelize[_0x78a7('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x78a7('0x4')]},'recallme':{'type':Sequelize[_0x78a7('0x9')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x78a7('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x78a7('0x2')],'defaultValue':0x0}};