Built motion from commit 43538d75.|2.5.35
[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 _0x29cd=['STRING','DATE','endtime','setDataValue','followuptime','dispositionat','BOOLEAN','sequelize','moment','INTEGER'];(function(_0x389aff,_0x16144e){var _0x33d2fc=function(_0x292543){while(--_0x292543){_0x389aff['push'](_0x389aff['shift']());}};_0x33d2fc(++_0x16144e);}(_0x29cd,0x1bf));var _0xd29c=function(_0x32c1f7,_0x49fd48){_0x32c1f7=_0x32c1f7-0x0;var _0x182e6a=_0x29cd[_0x32c1f7];return _0x182e6a;};'use strict';var Sequelize=require(_0xd29c('0x0'));var moment=require(_0xd29c('0x1'));module['exports']={'state':{'type':Sequelize[_0xd29c('0x2')](0x2)},'statedesc':{'type':Sequelize[_0xd29c('0x3')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0xd29c('0x3')]},'originatecalleridnum':{'type':Sequelize[_0xd29c('0x3')]},'originatecalleridname':{'type':Sequelize[_0xd29c('0x3')]},'calleridnum':{'type':Sequelize[_0xd29c('0x3')]},'calleridname':{'type':Sequelize[_0xd29c('0x3')]},'starttime':{'type':Sequelize[_0xd29c('0x4')]},'responsetime':{'type':Sequelize[_0xd29c('0x4')]},'answertime':{'type':Sequelize[_0xd29c('0x4')]},'droptime':{'type':Sequelize[_0xd29c('0x4')]},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'talktime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xd29c('0x3')]},'campaign':{'type':Sequelize[_0xd29c('0x3')]},'campaigntype':{'type':Sequelize[_0xd29c('0x3')]},'membername':{'type':Sequelize[_0xd29c('0x3')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0xd29c('0x3')]},'secondDisposition':{'type':Sequelize[_0xd29c('0x3')]},'thirdDisposition':{'type':Sequelize[_0xd29c('0x3')]},'dispositionat':{'type':Sequelize[_0xd29c('0x4')],'set':function(_0x23b9a5){var _0x50fb4f=this['getDataValue'](_0xd29c('0x5'));if(_0x50fb4f&&_0x23b9a5){this[_0xd29c('0x6')](_0xd29c('0x7'),moment(_0x23b9a5)['diff'](moment(_0x50fb4f),'seconds'));}return this[_0xd29c('0x6')](_0xd29c('0x8'),_0x23b9a5);}},'amd':{'type':Sequelize[_0xd29c('0x9')],'defaultValue':![]},'fax':{'type':Sequelize[_0xd29c('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0xd29c('0x9')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0xd29c('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xd29c('0x4')]},'callback':{'type':Sequelize[_0xd29c('0x9')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xd29c('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0xd29c('0x4')]},'deleted':{'type':Sequelize[_0xd29c('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0xd29c('0x9')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xd29c('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xd29c('0x2')],'defaultValue':0x0}};