Built motion from commit (unavailable).|2.5.6
[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 _0x5c73=['diff','seconds','dispositionat','BOOLEAN','moment','exports','INTEGER','DATE','STRING','getDataValue','endtime','setDataValue','followuptime'];(function(_0x344ef4,_0x1939ee){var _0x443d64=function(_0x43306f){while(--_0x43306f){_0x344ef4['push'](_0x344ef4['shift']());}};_0x443d64(++_0x1939ee);}(_0x5c73,0x12f));var _0x35c7=function(_0x1a4c6d,_0x2717ab){_0x1a4c6d=_0x1a4c6d-0x0;var _0x50af98=_0x5c73[_0x1a4c6d];return _0x50af98;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x35c7('0x0'));module[_0x35c7('0x1')]={'state':{'type':Sequelize[_0x35c7('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0x35c7('0x3')]},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x35c7('0x4')]},'originatecalleridnum':{'type':Sequelize[_0x35c7('0x4')]},'originatecalleridname':{'type':Sequelize[_0x35c7('0x4')]},'calleridnum':{'type':Sequelize[_0x35c7('0x4')]},'calleridname':{'type':Sequelize[_0x35c7('0x4')]},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize[_0x35c7('0x3')]},'answertime':{'type':Sequelize['DATE']},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x35c7('0x3')]},'ringtime':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x35c7('0x4')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize[_0x35c7('0x4')]},'membername':{'type':Sequelize[_0x35c7('0x4')]},'reason':{'type':Sequelize[_0x35c7('0x4')]},'disposition':{'type':Sequelize[_0x35c7('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x35c7('0x4')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x54eb16){var _0x3ef076=this[_0x35c7('0x5')](_0x35c7('0x6'));if(_0x3ef076&&_0x54eb16){this[_0x35c7('0x7')](_0x35c7('0x8'),moment(_0x54eb16)[_0x35c7('0x9')](moment(_0x3ef076),_0x35c7('0xa')));}return this['setDataValue'](_0x35c7('0xb'),_0x54eb16);}},'amd':{'type':Sequelize[_0x35c7('0xc')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x35c7('0xc')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x35c7('0xc')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x35c7('0x3')]},'callback':{'type':Sequelize[_0x35c7('0xc')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x35c7('0x4')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x35c7('0x3')]},'deleted':{'type':Sequelize[_0x35c7('0x4')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x35c7('0x3')]},'recallme':{'type':Sequelize[_0x35c7('0xc')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x35c7('0x3')]},'countnosuchnumberretry':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x35c7('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};