Built motion from commit (unavailable).|2.4.20
[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 _0x0994=['sequelize','moment','INTEGER','STRING','DATE','getDataValue','setDataValue','followuptime','dispositionat','BOOLEAN'];(function(_0x3c8e9a,_0x384306){var _0x2d4c57=function(_0x43d408){while(--_0x43d408){_0x3c8e9a['push'](_0x3c8e9a['shift']());}};_0x2d4c57(++_0x384306);}(_0x0994,0xe6));var _0x4099=function(_0x1ee62e,_0x159bb2){_0x1ee62e=_0x1ee62e-0x0;var _0x27c6c8=_0x0994[_0x1ee62e];return _0x27c6c8;};'use strict';var Sequelize=require(_0x4099('0x0'));var moment=require(_0x4099('0x1'));module['exports']={'state':{'type':Sequelize[_0x4099('0x2')](0x2)},'statedesc':{'type':Sequelize[_0x4099('0x3')]},'scheduledat':{'type':Sequelize[_0x4099('0x4')]},'countbusyretry':{'type':Sequelize[_0x4099('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x4099('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x4099('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize[_0x4099('0x3')]},'originatecalleridname':{'type':Sequelize[_0x4099('0x3')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x4099('0x3')]},'starttime':{'type':Sequelize[_0x4099('0x4')]},'responsetime':{'type':Sequelize[_0x4099('0x4')]},'answertime':{'type':Sequelize[_0x4099('0x4')]},'droptime':{'type':Sequelize[_0x4099('0x4')]},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0x4099('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x4099('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x4099('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x4099('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x4099('0x3')]},'campaign':{'type':Sequelize[_0x4099('0x3')]},'campaigntype':{'type':Sequelize[_0x4099('0x3')]},'membername':{'type':Sequelize[_0x4099('0x3')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x4099('0x3')]},'dispositionat':{'type':Sequelize[_0x4099('0x4')],'set':function(_0x4d8bf8){var _0x254eb5=this[_0x4099('0x5')]('endtime');if(_0x254eb5&&_0x4d8bf8){this[_0x4099('0x6')](_0x4099('0x7'),moment(_0x4d8bf8)['diff'](moment(_0x254eb5),'seconds'));}return this[_0x4099('0x6')](_0x4099('0x8'),_0x4d8bf8);}},'amd':{'type':Sequelize[_0x4099('0x9')],'defaultValue':![]},'fax':{'type':Sequelize[_0x4099('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x4099('0x9')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x4099('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize['DATE']},'callback':{'type':Sequelize[_0x4099('0x9')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x4099('0x4')]},'deleted':{'type':Sequelize[_0x4099('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x4099('0x4')]},'recallme':{'type':Sequelize[_0x4099('0x9')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x4099('0x4')]}};