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