f19b65b27bd59cd04302271dfcb0f957caa7e8b7
[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 _0x2929=['exports','INTEGER','STRING','DATE','endtime','setDataValue','followuptime','diff','seconds','dispositionat','BOOLEAN','sequelize','moment'];(function(_0x31edbd,_0x175bd2){var _0x2280a2=function(_0x5c9766){while(--_0x5c9766){_0x31edbd['push'](_0x31edbd['shift']());}};_0x2280a2(++_0x175bd2);}(_0x2929,0x1ab));var _0x9292=function(_0xe65ff3,_0x22b7f6){_0xe65ff3=_0xe65ff3-0x0;var _0x50d37a=_0x2929[_0xe65ff3];return _0x50d37a;};'use strict';var Sequelize=require(_0x9292('0x0'));var moment=require(_0x9292('0x1'));module[_0x9292('0x2')]={'state':{'type':Sequelize[_0x9292('0x3')](0x2)},'statedesc':{'type':Sequelize[_0x9292('0x4')]},'scheduledat':{'type':Sequelize[_0x9292('0x5')]},'countbusyretry':{'type':Sequelize[_0x9292('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x9292('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x9292('0x3')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x9292('0x3')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x9292('0x4')]},'originatecalleridnum':{'type':Sequelize[_0x9292('0x4')]},'originatecalleridname':{'type':Sequelize[_0x9292('0x4')]},'calleridnum':{'type':Sequelize[_0x9292('0x4')]},'calleridname':{'type':Sequelize[_0x9292('0x4')]},'starttime':{'type':Sequelize[_0x9292('0x5')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0x9292('0x5')]},'droptime':{'type':Sequelize[_0x9292('0x5')]},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x9292('0x3')],'defaultValue':0x0},'talktime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x9292('0x3')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x9292('0x4')]},'campaign':{'type':Sequelize[_0x9292('0x4')]},'campaigntype':{'type':Sequelize[_0x9292('0x4')]},'membername':{'type':Sequelize[_0x9292('0x4')]},'reason':{'type':Sequelize[_0x9292('0x4')]},'disposition':{'type':Sequelize['STRING']},'dispositionat':{'type':Sequelize[_0x9292('0x5')],'set':function(_0x257db9){var _0x24ee3d=this['getDataValue'](_0x9292('0x6'));if(_0x24ee3d&&_0x257db9){this[_0x9292('0x7')](_0x9292('0x8'),moment(_0x257db9)[_0x9292('0x9')](moment(_0x24ee3d),_0x9292('0xa')));}return this['setDataValue'](_0x9292('0xb'),_0x257db9);}},'amd':{'type':Sequelize[_0x9292('0xc')],'defaultValue':![]},'fax':{'type':Sequelize[_0x9292('0xc')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x9292('0xc')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x9292('0xc')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x9292('0x5')]},'callback':{'type':Sequelize[_0x9292('0xc')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x9292('0x4')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x9292('0x5')]},'deleted':{'type':Sequelize['STRING'],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0x9292('0xc')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x9292('0x5')]}};