7019dd06b0cc08225c5c6cc87b8a4f45ed14fec0
[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 _0x98e0=['exports','INTEGER','STRING','DATE','getDataValue','endtime','diff','seconds','BOOLEAN','moment'];(function(_0x598fa0,_0x183280){var _0x29a6ab=function(_0x2f82f9){while(--_0x2f82f9){_0x598fa0['push'](_0x598fa0['shift']());}};_0x29a6ab(++_0x183280);}(_0x98e0,0x17b));var _0x098e=function(_0x45dca2,_0x59b835){_0x45dca2=_0x45dca2-0x0;var _0x3cd64e=_0x98e0[_0x45dca2];return _0x3cd64e;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x098e('0x0'));module[_0x098e('0x1')]={'state':{'type':Sequelize[_0x098e('0x2')](0x2)},'statedesc':{'type':Sequelize[_0x098e('0x3')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize[_0x098e('0x3')]},'originatecalleridname':{'type':Sequelize[_0x098e('0x3')]},'calleridnum':{'type':Sequelize[_0x098e('0x3')]},'calleridname':{'type':Sequelize[_0x098e('0x3')]},'starttime':{'type':Sequelize[_0x098e('0x4')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize[_0x098e('0x4')]},'endtime':{'type':Sequelize[_0x098e('0x4')]},'ringtime':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize['STRING']},'campaign':{'type':Sequelize[_0x098e('0x3')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x098e('0x3')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x098e('0x3')]},'secondDisposition':{'type':Sequelize[_0x098e('0x3')]},'thirdDisposition':{'type':Sequelize[_0x098e('0x3')]},'dispositionat':{'type':Sequelize[_0x098e('0x4')],'set':function(_0x3b1e01){var _0x5a7c80=this[_0x098e('0x5')](_0x098e('0x6'));if(_0x5a7c80&&_0x3b1e01){this['setDataValue']('followuptime',moment(_0x3b1e01)[_0x098e('0x7')](moment(_0x5a7c80),_0x098e('0x8')));}}},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize[_0x098e('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x098e('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x098e('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x098e('0x4')]},'deleted':{'type':Sequelize[_0x098e('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x098e('0x4')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x098e('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x098e('0x2')],'defaultValue':0x0}};