2845d624a2133bcbfb602b9e11f8bc0779e79e2b
[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 _0x9495=['diff','seconds','dispositionat','BOOLEAN','sequelize','moment','STRING','DATE','INTEGER','endtime','setDataValue','followuptime'];(function(_0x260d8a,_0x4db1a9){var _0x717820=function(_0x597937){while(--_0x597937){_0x260d8a['push'](_0x260d8a['shift']());}};_0x717820(++_0x4db1a9);}(_0x9495,0xac));var _0x5949=function(_0x100b96,_0x1bac2c){_0x100b96=_0x100b96-0x0;var _0x44bbcf=_0x9495[_0x100b96];return _0x44bbcf;};'use strict';var Sequelize=require(_0x5949('0x0'));var moment=require(_0x5949('0x1'));module['exports']={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0x5949('0x2')]},'scheduledat':{'type':Sequelize[_0x5949('0x3')]},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x5949('0x4')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x5949('0x4')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x5949('0x2')]},'originatecalleridnum':{'type':Sequelize[_0x5949('0x2')]},'originatecalleridname':{'type':Sequelize[_0x5949('0x2')]},'calleridnum':{'type':Sequelize[_0x5949('0x2')]},'calleridname':{'type':Sequelize[_0x5949('0x2')]},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize[_0x5949('0x3')]},'answertime':{'type':Sequelize[_0x5949('0x3')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x5949('0x3')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x5949('0x4')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x5949('0x4')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x5949('0x2')]},'campaign':{'type':Sequelize[_0x5949('0x2')]},'campaigntype':{'type':Sequelize[_0x5949('0x2')]},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0x5949('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x5949('0x2')]},'dispositionat':{'type':Sequelize[_0x5949('0x3')],'set':function(_0x3c40d4){var _0x27faf6=this['getDataValue'](_0x5949('0x5'));if(_0x27faf6&&_0x3c40d4){this[_0x5949('0x6')](_0x5949('0x7'),moment(_0x3c40d4)[_0x5949('0x8')](moment(_0x27faf6),_0x5949('0x9')));}return this[_0x5949('0x6')](_0x5949('0xa'),_0x3c40d4);}},'amd':{'type':Sequelize[_0x5949('0xb')],'defaultValue':![]},'fax':{'type':Sequelize[_0x5949('0xb')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x5949('0xb')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x5949('0xb')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize[_0x5949('0xb')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0x5949('0x2')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x5949('0x3')]},'recallme':{'type':Sequelize[_0x5949('0xb')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize[_0x5949('0x4')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x5949('0x4')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x5949('0x4')],'defaultValue':0x0}};