Built motion from commit (unavailable).|2.5.14
[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 _0x3f32=['BOOLEAN','sequelize','moment','exports','STRING','DATE','INTEGER','getDataValue','endtime','setDataValue','diff','seconds','dispositionat'];(function(_0x4d975b,_0x416926){var _0x47f833=function(_0x307834){while(--_0x307834){_0x4d975b['push'](_0x4d975b['shift']());}};_0x47f833(++_0x416926);}(_0x3f32,0x160));var _0x23f3=function(_0x335bb1,_0x5aa97e){_0x335bb1=_0x335bb1-0x0;var _0x4c2fc7=_0x3f32[_0x335bb1];return _0x4c2fc7;};'use strict';var Sequelize=require(_0x23f3('0x0'));var moment=require(_0x23f3('0x1'));module[_0x23f3('0x2')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0x23f3('0x3')]},'scheduledat':{'type':Sequelize[_0x23f3('0x4')]},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x23f3('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x23f3('0x3')]},'originatecalleridname':{'type':Sequelize[_0x23f3('0x3')]},'calleridnum':{'type':Sequelize[_0x23f3('0x3')]},'calleridname':{'type':Sequelize[_0x23f3('0x3')]},'starttime':{'type':Sequelize[_0x23f3('0x4')]},'responsetime':{'type':Sequelize[_0x23f3('0x4')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x23f3('0x4')]},'ringtime':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x23f3('0x3')]},'campaign':{'type':Sequelize[_0x23f3('0x3')]},'campaigntype':{'type':Sequelize[_0x23f3('0x3')]},'membername':{'type':Sequelize[_0x23f3('0x3')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x23f3('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x23f3('0x3')]},'dispositionat':{'type':Sequelize[_0x23f3('0x4')],'set':function(_0x57783e){var _0xe91e09=this[_0x23f3('0x6')](_0x23f3('0x7'));if(_0xe91e09&&_0x57783e){this[_0x23f3('0x8')]('followuptime',moment(_0x57783e)[_0x23f3('0x9')](moment(_0xe91e09),_0x23f3('0xa')));}return this[_0x23f3('0x8')](_0x23f3('0xb'),_0x57783e);}},'amd':{'type':Sequelize[_0x23f3('0xc')],'defaultValue':![]},'fax':{'type':Sequelize[_0x23f3('0xc')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x23f3('0xc')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x23f3('0x4')]},'callback':{'type':Sequelize[_0x23f3('0xc')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x23f3('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0x23f3('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x23f3('0x4')]},'recallme':{'type':Sequelize[_0x23f3('0xc')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x23f3('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x23f3('0x5')],'defaultValue':0x0}};