Built motion from commit (unavailable).|2.5.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 _0xc9b9=['INTEGER','STRING','DATE','diff','seconds','dispositionat','BOOLEAN','exports'];(function(_0x364a36,_0x1e2677){var _0x5cd6fa=function(_0x58d692){while(--_0x58d692){_0x364a36['push'](_0x364a36['shift']());}};_0x5cd6fa(++_0x1e2677);}(_0xc9b9,0x18f));var _0x9c9b=function(_0x4ae625,_0xf396d0){_0x4ae625=_0x4ae625-0x0;var _0x31accf=_0xc9b9[_0x4ae625];return _0x31accf;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x9c9b('0x0')]={'state':{'type':Sequelize[_0x9c9b('0x1')](0x2)},'statedesc':{'type':Sequelize[_0x9c9b('0x2')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x9c9b('0x2')]},'calleridname':{'type':Sequelize[_0x9c9b('0x2')]},'starttime':{'type':Sequelize[_0x9c9b('0x3')]},'responsetime':{'type':Sequelize[_0x9c9b('0x3')]},'answertime':{'type':Sequelize[_0x9c9b('0x3')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x9c9b('0x3')]},'ringtime':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x9c9b('0x2')]},'campaign':{'type':Sequelize[_0x9c9b('0x2')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x9c9b('0x2')]},'reason':{'type':Sequelize[_0x9c9b('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x9c9b('0x2')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x24a6e5){var _0x2e6b3f=this['getDataValue']('endtime');if(_0x2e6b3f&&_0x24a6e5){this['setDataValue']('followuptime',moment(_0x24a6e5)[_0x9c9b('0x4')](moment(_0x2e6b3f),_0x9c9b('0x5')));}return this['setDataValue'](_0x9c9b('0x6'),_0x24a6e5);}},'amd':{'type':Sequelize[_0x9c9b('0x7')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x9c9b('0x7')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x9c9b('0x7')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x9c9b('0x3')]},'callback':{'type':Sequelize[_0x9c9b('0x7')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x9c9b('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x9c9b('0x3')]},'deleted':{'type':Sequelize[_0x9c9b('0x2')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x9c9b('0x3')]},'recallme':{'type':Sequelize[_0x9c9b('0x7')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x9c9b('0x1')],'defaultValue':0x0}};