Built motion from commit (unavailable).|2.4.4
[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 _0xc53d=['diff','seconds','setDataValue','dispositionat','BOOLEAN','INTEGER','STRING','DATE','endtime'];(function(_0x3f1ef3,_0x3198b7){var _0x4ef877=function(_0x2856b5){while(--_0x2856b5){_0x3f1ef3['push'](_0x3f1ef3['shift']());}};_0x4ef877(++_0x3198b7);}(_0xc53d,0x10a));var _0xdc53=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xc53d[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module['exports']={'state':{'type':Sequelize[_0xdc53('0x0')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xdc53('0x0')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xdc53('0x0')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xdc53('0x0')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0xdc53('0x1')]},'originatecalleridnum':{'type':Sequelize[_0xdc53('0x1')]},'originatecalleridname':{'type':Sequelize[_0xdc53('0x1')]},'calleridnum':{'type':Sequelize[_0xdc53('0x1')]},'calleridname':{'type':Sequelize[_0xdc53('0x1')]},'starttime':{'type':Sequelize['DATE']},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0xdc53('0x2')]},'droptime':{'type':Sequelize[_0xdc53('0x2')]},'endtime':{'type':Sequelize[_0xdc53('0x2')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xdc53('0x0')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xdc53('0x0')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xdc53('0x0')],'defaultValue':0x0},'dropreason':{'type':Sequelize['STRING']},'campaign':{'type':Sequelize[_0xdc53('0x1')]},'campaigntype':{'type':Sequelize[_0xdc53('0x1')]},'membername':{'type':Sequelize[_0xdc53('0x1')]},'reason':{'type':Sequelize[_0xdc53('0x1')]},'disposition':{'type':Sequelize[_0xdc53('0x1')]},'dispositionat':{'type':Sequelize[_0xdc53('0x2')],'set':function(_0x1a4419){var _0x2a5475=this['getDataValue'](_0xdc53('0x3'));if(_0x2a5475&&_0x1a4419){this['setDataValue']('followuptime',moment(_0x1a4419)[_0xdc53('0x4')](moment(_0x2a5475),_0xdc53('0x5')));}return this[_0xdc53('0x6')](_0xdc53('0x7'),_0x1a4419);}},'amd':{'type':Sequelize[_0xdc53('0x8')],'defaultValue':![]},'fax':{'type':Sequelize[_0xdc53('0x8')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0xdc53('0x8')],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xdc53('0x2')]},'callback':{'type':Sequelize[_0xdc53('0x8')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xdc53('0x1')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0xdc53('0x1')],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0xdc53('0x8')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0xdc53('0x2')]}};