b75ec0aaafecb793d36d21a9ce98a82d664b9044
[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 _0xe089=['uniqueid','scheduledat','type','campaigntype','outbound','countbusyretry','countcongestionretry','countnoanswerretry','countglobal','countnosuchnumberretry','countdropretry','countabandonedretry','countmachineretry','countagentrejectretry','queue','calleridname','calleridnum','starttime','responsetime','endtime','holdtime','talktime','callback','callbackuniqueid','callbackat','recallme','ContactId','UserId','VoiceQueueId','CampaignId','originatecalleridnum','originatecalleridname','state','statedesc','exports'];(function(_0xb66e09,_0x4c5ca7){var _0x1cf84e=function(_0x4abfc4){while(--_0x4abfc4){_0xb66e09['push'](_0xb66e09['shift']());}};_0x1cf84e(++_0x4c5ca7);}(_0xe089,0x118));var _0x9e08=function(_0x522aef,_0x48e7ea){_0x522aef=_0x522aef-0x0;var _0x224108=_0xe089[_0x522aef];return _0x224108;};'use strict';function Final(_0x11b021){this['uniqueid']=_0x11b021[_0x9e08('0x0')];this['scheduledat']=_0x11b021[_0x9e08('0x1')];this[_0x9e08('0x2')]=_0x11b021['type'];this[_0x9e08('0x3')]=_0x11b021[_0x9e08('0x2')]===_0x9e08('0x4')?'queue':_0x11b021[_0x9e08('0x2')];this[_0x9e08('0x5')]=_0x11b021[_0x9e08('0x5')];this[_0x9e08('0x6')]=_0x11b021['countcongestionretry'];this[_0x9e08('0x7')]=_0x11b021[_0x9e08('0x7')];this[_0x9e08('0x8')]=_0x11b021[_0x9e08('0x5')]+_0x11b021[_0x9e08('0x6')]+_0x11b021['countnoanswerretry']+_0x11b021[_0x9e08('0x9')]+_0x11b021[_0x9e08('0xa')]+_0x11b021[_0x9e08('0xb')]+_0x11b021[_0x9e08('0xc')]+_0x11b021[_0x9e08('0xd')];this[_0x9e08('0x9')]=_0x11b021[_0x9e08('0x9')];this[_0x9e08('0xa')]=_0x11b021[_0x9e08('0xa')];this[_0x9e08('0xb')]=_0x11b021['countabandonedretry'];this[_0x9e08('0xc')]=_0x11b021[_0x9e08('0xc')];this[_0x9e08('0xd')]=_0x11b021[_0x9e08('0xd')];this[_0x9e08('0xe')]=_0x11b021[_0x9e08('0xe')];this[_0x9e08('0xf')]=_0x11b021['calleridname'];this[_0x9e08('0x10')]=_0x11b021[_0x9e08('0x10')];this['starttime']=_0x11b021[_0x9e08('0x11')];this[_0x9e08('0x12')]=_0x11b021[_0x9e08('0x12')];this[_0x9e08('0x13')]=_0x11b021[_0x9e08('0x12')];this['ringtime']=_0x11b021['ringtime']||0x0;this[_0x9e08('0x14')]=_0x11b021[_0x9e08('0x14')]||0x0;this[_0x9e08('0x15')]=_0x11b021[_0x9e08('0x15')]||0x0;this['callback']=_0x11b021[_0x9e08('0x16')];this[_0x9e08('0x17')]=_0x11b021[_0x9e08('0x17')];this[_0x9e08('0x18')]=_0x11b021[_0x9e08('0x18')];this[_0x9e08('0x19')]=_0x11b021['recallme'];this[_0x9e08('0x1a')]=_0x11b021[_0x9e08('0x1a')];this['ListId']=_0x11b021['ListId'];this[_0x9e08('0x1b')]=_0x11b021[_0x9e08('0x1b')];this[_0x9e08('0x1c')]=_0x11b021['VoiceQueueId'];this['CampaignId']=_0x11b021[_0x9e08('0x1d')];this[_0x9e08('0x1e')]=_0x11b021['originatecalleridnum']||'';this['originatecalleridname']=_0x11b021[_0x9e08('0x1f')]||'';this[_0x9e08('0x20')]=_0x11b021[_0x9e08('0x20')];this[_0x9e08('0x21')]=_0x11b021['statedesc'];}module[_0x9e08('0x22')]=Final;