Built motion from commit 06eb8eb0.|2.6.31
[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 _0xb0ab=['DATE','getDataValue','endtime','setDataValue','diff','BOOLEAN','sequelize','moment','STRING','INTEGER'];(function(_0x253e47,_0x217d21){var _0x179d19=function(_0x130541){while(--_0x130541){_0x253e47['push'](_0x253e47['shift']());}};_0x179d19(++_0x217d21);}(_0xb0ab,0x1c8));var _0xbb0a=function(_0x5b8bbc,_0x121ff2){_0x5b8bbc=_0x5b8bbc-0x0;var _0x4cba57=_0xb0ab[_0x5b8bbc];return _0x4cba57;};'use strict';var Sequelize=require(_0xbb0a('0x0'));var moment=require(_0xbb0a('0x1'));module['exports']={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0xbb0a('0x2')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0xbb0a('0x2')]},'originatecalleridnum':{'type':Sequelize[_0xbb0a('0x2')]},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xbb0a('0x2')]},'calleridname':{'type':Sequelize[_0xbb0a('0x2')]},'starttime':{'type':Sequelize[_0xbb0a('0x4')]},'responsetime':{'type':Sequelize[_0xbb0a('0x4')]},'answertime':{'type':Sequelize[_0xbb0a('0x4')]},'droptime':{'type':Sequelize[_0xbb0a('0x4')]},'endtime':{'type':Sequelize[_0xbb0a('0x4')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xbb0a('0x2')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize[_0xbb0a('0x2')]},'membername':{'type':Sequelize[_0xbb0a('0x2')]},'reason':{'type':Sequelize[_0xbb0a('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xbb0a('0x2')]},'thirdDisposition':{'type':Sequelize[_0xbb0a('0x2')]},'dispositionat':{'type':Sequelize[_0xbb0a('0x4')],'set':function(_0x46ac10){var _0x3f2c73=this[_0xbb0a('0x5')](_0xbb0a('0x6'));if(_0x3f2c73&&_0x46ac10){this[_0xbb0a('0x7')]('followuptime',moment(_0x46ac10)[_0xbb0a('0x8')](moment(_0x3f2c73),'seconds'));}}},'amd':{'type':Sequelize[_0xbb0a('0x9')],'defaultValue':![]},'fax':{'type':Sequelize[_0xbb0a('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0xbb0a('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xbb0a('0x4')]},'callback':{'type':Sequelize[_0xbb0a('0x9')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xbb0a('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize[_0xbb0a('0x4')]},'deleted':{'type':Sequelize[_0xbb0a('0x2')],'defaultValue':null},'deletedat':{'type':Sequelize[_0xbb0a('0x4')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xbb0a('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0xbb0a('0x3')],'defaultValue':0x0}};