77e0791048a61ecc17d064009aedc514f4a135f2
[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 _0x639e=['sequelize','moment','INTEGER','DATE','STRING','getDataValue','setDataValue','followuptime','seconds','dispositionat','BOOLEAN'];(function(_0x5b740b,_0x381833){var _0x6f8f4e=function(_0x86d068){while(--_0x86d068){_0x5b740b['push'](_0x5b740b['shift']());}};_0x6f8f4e(++_0x381833);}(_0x639e,0x113));var _0xe639=function(_0x1f0398,_0x37a6dd){_0x1f0398=_0x1f0398-0x0;var _0x3f0ad5=_0x639e[_0x1f0398];return _0x3f0ad5;};'use strict';var Sequelize=require(_0xe639('0x0'));var moment=require(_0xe639('0x1'));module['exports']={'state':{'type':Sequelize[_0xe639('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0xe639('0x3')]},'countbusyretry':{'type':Sequelize[_0xe639('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xe639('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xe639('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0xe639('0x4')]},'originatecalleridnum':{'type':Sequelize[_0xe639('0x4')]},'originatecalleridname':{'type':Sequelize[_0xe639('0x4')]},'calleridnum':{'type':Sequelize[_0xe639('0x4')]},'calleridname':{'type':Sequelize[_0xe639('0x4')]},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize[_0xe639('0x3')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0xe639('0x3')]},'ringtime':{'type':Sequelize[_0xe639('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xe639('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xe639('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xe639('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize['STRING']},'campaign':{'type':Sequelize[_0xe639('0x4')]},'campaigntype':{'type':Sequelize[_0xe639('0x4')]},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0xe639('0x4')]},'disposition':{'type':Sequelize[_0xe639('0x4')]},'dispositionat':{'type':Sequelize[_0xe639('0x3')],'set':function(_0x12070d){var _0x1cbc4d=this[_0xe639('0x5')]('endtime');if(_0x1cbc4d&&_0x12070d){this[_0xe639('0x6')](_0xe639('0x7'),moment(_0x12070d)['diff'](moment(_0x1cbc4d),_0xe639('0x8')));}return this['setDataValue'](_0xe639('0x9'),_0x12070d);}},'amd':{'type':Sequelize[_0xe639('0xa')],'defaultValue':![]},'fax':{'type':Sequelize[_0xe639('0xa')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0xe639('0xa')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0xe639('0xa')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xe639('0x3')]},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0xe639('0x3')]},'deleted':{'type':Sequelize[_0xe639('0x4')],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0xe639('0xa')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xe639('0x3')]}};