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