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