736238028a08e0297dc979f7ee9371f8cc3ab862
[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 _0xe874=['seconds','BOOLEAN','sequelize','moment','exports','INTEGER','DATE','STRING','endtime','setDataValue','followuptime'];(function(_0x480bc8,_0x1fac40){var _0x28c245=function(_0x22a049){while(--_0x22a049){_0x480bc8['push'](_0x480bc8['shift']());}};_0x28c245(++_0x1fac40);}(_0xe874,0x199));var _0x4e87=function(_0x4dca38,_0x5dfae1){_0x4dca38=_0x4dca38-0x0;var _0x44656c=_0xe874[_0x4dca38];return _0x44656c;};'use strict';var Sequelize=require(_0x4e87('0x0'));var moment=require(_0x4e87('0x1'));module[_0x4e87('0x2')]={'state':{'type':Sequelize[_0x4e87('0x3')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0x4e87('0x4')]},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x4e87('0x5')]},'originatecalleridnum':{'type':Sequelize[_0x4e87('0x5')]},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'starttime':{'type':Sequelize[_0x4e87('0x4')]},'responsetime':{'type':Sequelize[_0x4e87('0x4')]},'answertime':{'type':Sequelize[_0x4e87('0x4')]},'droptime':{'type':Sequelize[_0x4e87('0x4')]},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x4e87('0x5')]},'campaign':{'type':Sequelize[_0x4e87('0x5')]},'campaigntype':{'type':Sequelize[_0x4e87('0x5')]},'membername':{'type':Sequelize[_0x4e87('0x5')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x4e87('0x5')]},'secondDisposition':{'type':Sequelize[_0x4e87('0x5')]},'thirdDisposition':{'type':Sequelize['STRING']},'dispositionat':{'type':Sequelize[_0x4e87('0x4')],'set':function(_0x1b1e79){var _0x341a91=this['getDataValue'](_0x4e87('0x6'));if(_0x341a91&&_0x1b1e79){this[_0x4e87('0x7')](_0x4e87('0x8'),moment(_0x1b1e79)['diff'](moment(_0x341a91),_0x4e87('0x9')));}}},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize[_0x4e87('0xa')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x4e87('0xa')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x4e87('0xa')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x4e87('0x4')]},'callback':{'type':Sequelize[_0x4e87('0xa')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x4e87('0x5')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x4e87('0x4')]},'deleted':{'type':Sequelize['STRING'],'defaultValue':null},'deletedat':{'type':Sequelize[_0x4e87('0x4')]},'recallme':{'type':Sequelize[_0x4e87('0xa')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x4e87('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x4e87('0x3')],'defaultValue':0x0}};