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