Built motion from commit d5e4af8c.|2.6.23
[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 _0xe392=['sequelize','exports','INTEGER','DATE','STRING','endtime','setDataValue','followuptime','seconds','BOOLEAN'];(function(_0x3bc054,_0x44f192){var _0x3871bb=function(_0x2369b1){while(--_0x2369b1){_0x3bc054['push'](_0x3bc054['shift']());}};_0x3871bb(++_0x44f192);}(_0xe392,0xd2));var _0x2e39=function(_0x699c5a,_0xa9b993){_0x699c5a=_0x699c5a-0x0;var _0xda3a36=_0xe392[_0x699c5a];return _0xda3a36;};'use strict';var Sequelize=require(_0x2e39('0x0'));var moment=require('moment');module[_0x2e39('0x1')]={'state':{'type':Sequelize[_0x2e39('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0x2e39('0x3')]},'countbusyretry':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize[_0x2e39('0x4')]},'originatecalleridname':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x2e39('0x4')]},'starttime':{'type':Sequelize[_0x2e39('0x3')]},'responsetime':{'type':Sequelize[_0x2e39('0x3')]},'answertime':{'type':Sequelize[_0x2e39('0x3')]},'droptime':{'type':Sequelize[_0x2e39('0x3')]},'endtime':{'type':Sequelize['DATE']},'ringtime':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'talktime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x2e39('0x4')]},'campaign':{'type':Sequelize[_0x2e39('0x4')]},'campaigntype':{'type':Sequelize[_0x2e39('0x4')]},'membername':{'type':Sequelize[_0x2e39('0x4')]},'reason':{'type':Sequelize[_0x2e39('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x2e39('0x4')]},'thirdDisposition':{'type':Sequelize[_0x2e39('0x4')]},'dispositionat':{'type':Sequelize[_0x2e39('0x3')],'set':function(_0x10b589){var _0xe75ea0=this['getDataValue'](_0x2e39('0x5'));if(_0xe75ea0&&_0x10b589){this[_0x2e39('0x6')](_0x2e39('0x7'),moment(_0x10b589)['diff'](moment(_0xe75ea0),_0x2e39('0x8')));}}},'amd':{'type':Sequelize[_0x2e39('0x9')],'defaultValue':![]},'fax':{'type':Sequelize[_0x2e39('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x2e39('0x9')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x2e39('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x2e39('0x3')]},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0x2e39('0x4')],'defaultValue':null},'deletedat':{'type':Sequelize['DATE']},'recallme':{'type':Sequelize[_0x2e39('0x9')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x2e39('0x3')]},'countnosuchnumberretry':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x2e39('0x2')],'defaultValue':0x0}};