67a18934a5f394e71b6626654a012a0baa04e64a
[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 _0xdfc5=['seconds','setDataValue','dispositionat','BOOLEAN','exports','STRING','INTEGER','DATE','followuptime'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xdfc5,0x136));var _0x5dfc=function(_0xbdff5a,_0x18ec2b){_0xbdff5a=_0xbdff5a-0x0;var _0x4049dc=_0xdfc5[_0xbdff5a];return _0x4049dc;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x5dfc('0x0')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0x5dfc('0x1')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x5dfc('0x1')]},'originatecalleridnum':{'type':Sequelize[_0x5dfc('0x1')]},'originatecalleridname':{'type':Sequelize[_0x5dfc('0x1')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x5dfc('0x1')]},'starttime':{'type':Sequelize[_0x5dfc('0x3')]},'responsetime':{'type':Sequelize[_0x5dfc('0x3')]},'answertime':{'type':Sequelize[_0x5dfc('0x3')]},'droptime':{'type':Sequelize[_0x5dfc('0x3')]},'endtime':{'type':Sequelize[_0x5dfc('0x3')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x5dfc('0x1')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x5dfc('0x1')]},'reason':{'type':Sequelize[_0x5dfc('0x1')]},'disposition':{'type':Sequelize[_0x5dfc('0x1')]},'secondDisposition':{'type':Sequelize[_0x5dfc('0x1')]},'thirdDisposition':{'type':Sequelize[_0x5dfc('0x1')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x28233d){var _0x5a3c7f=this['getDataValue']('endtime');if(_0x5a3c7f&&_0x28233d){this['setDataValue'](_0x5dfc('0x4'),moment(_0x28233d)['diff'](moment(_0x5a3c7f),_0x5dfc('0x5')));}return this[_0x5dfc('0x6')](_0x5dfc('0x7'),_0x28233d);}},'amd':{'type':Sequelize[_0x5dfc('0x8')],'defaultValue':![]},'fax':{'type':Sequelize[_0x5dfc('0x8')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x5dfc('0x8')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x5dfc('0x8')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x5dfc('0x3')]},'callback':{'type':Sequelize[_0x5dfc('0x8')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x5dfc('0x1')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x5dfc('0x3')]},'deleted':{'type':Sequelize[_0x5dfc('0x1')],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x5dfc('0x3')]},'countnosuchnumberretry':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x5dfc('0x2')],'defaultValue':0x0}};