1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xf0a6=['moment','uniqueid','channel','format','tech','name','fax','localstationid','headerinfo','path','exports','lodash'];(function(_0x3c4e29,_0x33d856){var _0x42c441=function(_0x46e155){while(--_0x46e155){_0x3c4e29['push'](_0x3c4e29['shift']());}};_0x42c441(++_0x33d856);}(_0xf0a6,0x12b));var _0x6f0a=function(_0x391900,_0x59d04e){_0x391900=_0x391900-0x0;var _0x2485dd=_0xf0a6[_0x391900];return _0x2485dd;};'use strict';var util=require('util');var _=require(_0x6f0a('0x0'));var moment=require(_0x6f0a('0x1'));function Action(_0x484246,_0x413548,_0x49ed8e){this[_0x6f0a('0x2')]=_0x484246||undefined;this[_0x6f0a('0x3')]=util[_0x6f0a('0x4')]('%s/%s/%s',_0x413548[_0x6f0a('0x5')],_0x413548['Trunk'][_0x6f0a('0x6')],_0x49ed8e[_0x6f0a('0x7')]);this[_0x6f0a('0x8')]=_0x413548[_0x6f0a('0x8')];this[_0x6f0a('0x9')]=_0x413548[_0x6f0a('0x9')];this[_0x6f0a('0xa')]=_0x49ed8e[_0x6f0a('0xa')];this['AttachmentId']=_0x49ed8e['AttachmentId'];}module[_0x6f0a('0xb')]=Action;