0bb60cdb52ec92a9ba10e3ec7d4aeaed64bc57bd
[motion2.git] / server / services / ami / dialer / models / final.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 _0xfe71=['recallme','ListId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports','uniqueid','scheduledat','type','outbound','countbusyretry','countnoanswerretry','countglobal','countcongestionretry','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','queue','calleridname','calleridnum','starttime','responsetime','endtime','ringtime','holdtime','talktime','callback','callbackuniqueid','callbackat'];(function(_0x542e8a,_0x47ccf7){var _0xc40770=function(_0x1ddfe8){while(--_0x1ddfe8){_0x542e8a['push'](_0x542e8a['shift']());}};_0xc40770(++_0x47ccf7);}(_0xfe71,0x96));var _0x1fe7=function(_0x576042,_0x2affa3){_0x576042=_0x576042-0x0;var _0x4ef282=_0xfe71[_0x576042];return _0x4ef282;};'use strict';function Final(_0x7feb64){this[_0x1fe7('0x0')]=_0x7feb64['uniqueid'];this[_0x1fe7('0x1')]=_0x7feb64['scheduledat'];this['type']=_0x7feb64[_0x1fe7('0x2')];this['campaigntype']=_0x7feb64['type']===_0x1fe7('0x3')?'queue':_0x7feb64[_0x1fe7('0x2')];this[_0x1fe7('0x4')]=_0x7feb64[_0x1fe7('0x4')];this['countcongestionretry']=_0x7feb64['countcongestionretry'];this[_0x1fe7('0x5')]=_0x7feb64[_0x1fe7('0x5')];this[_0x1fe7('0x6')]=_0x7feb64['countbusyretry']+_0x7feb64[_0x1fe7('0x7')]+_0x7feb64['countnoanswerretry']+_0x7feb64[_0x1fe7('0x8')]+_0x7feb64[_0x1fe7('0x9')]+_0x7feb64[_0x1fe7('0xa')]+_0x7feb64[_0x1fe7('0xb')]+_0x7feb64['countagentrejectretry'];this[_0x1fe7('0x8')]=_0x7feb64[_0x1fe7('0x8')];this[_0x1fe7('0x9')]=_0x7feb64[_0x1fe7('0x9')];this[_0x1fe7('0xa')]=_0x7feb64[_0x1fe7('0xa')];this[_0x1fe7('0xb')]=_0x7feb64['countmachineretry'];this[_0x1fe7('0xc')]=_0x7feb64[_0x1fe7('0xc')];this[_0x1fe7('0xd')]=_0x7feb64['queue'];this[_0x1fe7('0xe')]=_0x7feb64[_0x1fe7('0xe')];this[_0x1fe7('0xf')]=_0x7feb64[_0x1fe7('0xf')];this[_0x1fe7('0x10')]=_0x7feb64[_0x1fe7('0x10')];this[_0x1fe7('0x11')]=_0x7feb64[_0x1fe7('0x11')];this[_0x1fe7('0x12')]=_0x7feb64[_0x1fe7('0x11')];this[_0x1fe7('0x13')]=_0x7feb64['ringtime']||0x0;this[_0x1fe7('0x14')]=_0x7feb64[_0x1fe7('0x14')]||0x0;this[_0x1fe7('0x15')]=_0x7feb64[_0x1fe7('0x15')]||0x0;this['callback']=_0x7feb64[_0x1fe7('0x16')];this[_0x1fe7('0x17')]=_0x7feb64['callbackuniqueid'];this[_0x1fe7('0x18')]=_0x7feb64[_0x1fe7('0x18')];this[_0x1fe7('0x19')]=_0x7feb64[_0x1fe7('0x19')];this['ContactId']=_0x7feb64['ContactId'];this[_0x1fe7('0x1a')]=_0x7feb64[_0x1fe7('0x1a')];this[_0x1fe7('0x1b')]=_0x7feb64[_0x1fe7('0x1b')];this[_0x1fe7('0x1c')]=_0x7feb64[_0x1fe7('0x1c')];this[_0x1fe7('0x1d')]=_0x7feb64[_0x1fe7('0x1d')];this['originatecalleridnum']=_0x7feb64[_0x1fe7('0x1e')]||'';this[_0x1fe7('0x1f')]=_0x7feb64[_0x1fe7('0x1f')]||'';this[_0x1fe7('0x20')]=_0x7feb64[_0x1fe7('0x20')];this[_0x1fe7('0x21')]=_0x7feb64[_0x1fe7('0x21')];}module[_0x1fe7('0x22')]=Final;