5616fa32ec0c9f6ead27f1d6d8a8d92d79525990
[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 _0xcb83=['diff','BOOLEAN','sequelize','exports','INTEGER','STRING','DATE','getDataValue','endtime','setDataValue','followuptime'];(function(_0x470fc1,_0x1abdb3){var _0x47c43a=function(_0x44f932){while(--_0x44f932){_0x470fc1['push'](_0x470fc1['shift']());}};_0x47c43a(++_0x1abdb3);}(_0xcb83,0x1c5));var _0x3cb8=function(_0x58446c,_0x7e92bf){_0x58446c=_0x58446c-0x0;var _0xfeb026=_0xcb83[_0x58446c];return _0xfeb026;};'use strict';var Sequelize=require(_0x3cb8('0x0'));var moment=require('moment');module[_0x3cb8('0x1')]={'state':{'type':Sequelize[_0x3cb8('0x2')](0x2)},'statedesc':{'type':Sequelize[_0x3cb8('0x3')]},'scheduledat':{'type':Sequelize[_0x3cb8('0x4')]},'countbusyretry':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x3cb8('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x3cb8('0x3')]},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x3cb8('0x3')]},'calleridname':{'type':Sequelize[_0x3cb8('0x3')]},'starttime':{'type':Sequelize[_0x3cb8('0x4')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0x3cb8('0x4')]},'droptime':{'type':Sequelize[_0x3cb8('0x4')]},'endtime':{'type':Sequelize[_0x3cb8('0x4')]},'ringtime':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize['STRING']},'campaign':{'type':Sequelize[_0x3cb8('0x3')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x3cb8('0x3')]},'reason':{'type':Sequelize[_0x3cb8('0x3')]},'disposition':{'type':Sequelize[_0x3cb8('0x3')]},'secondDisposition':{'type':Sequelize[_0x3cb8('0x3')]},'thirdDisposition':{'type':Sequelize[_0x3cb8('0x3')]},'dispositionat':{'type':Sequelize[_0x3cb8('0x4')],'set':function(_0x26fbff){var _0x4a389a=this[_0x3cb8('0x5')](_0x3cb8('0x6'));if(_0x4a389a&&_0x26fbff){this[_0x3cb8('0x7')](_0x3cb8('0x8'),moment(_0x26fbff)[_0x3cb8('0x9')](moment(_0x4a389a),'seconds'));}return this['setDataValue']('dispositionat',_0x26fbff);}},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize[_0x3cb8('0xa')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x3cb8('0xa')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x3cb8('0x4')]},'callback':{'type':Sequelize[_0x3cb8('0xa')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x3cb8('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x3cb8('0x4')]},'deleted':{'type':Sequelize['STRING'],'defaultValue':null},'deletedat':{'type':Sequelize[_0x3cb8('0x4')]},'recallme':{'type':Sequelize[_0x3cb8('0xa')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x3cb8('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x3cb8('0x2')],'defaultValue':0x0}};