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 _0x2835=['AttachmentId','util','lodash','moment','uniqueid','channel','%s/%s/%s','tech','Trunk','name','fax','localstationid','headerinfo','path'];(function(_0x1b842f,_0x27a979){var _0x27a559=function(_0x91cd73){while(--_0x91cd73){_0x1b842f['push'](_0x1b842f['shift']());}};_0x27a559(++_0x27a979);}(_0x2835,0x1dd));var _0x5283=function(_0x107c01,_0x40606f){_0x107c01=_0x107c01-0x0;var _0x4cce69=_0x2835[_0x107c01];return _0x4cce69;};'use strict';var util=require(_0x5283('0x0'));var _=require(_0x5283('0x1'));var moment=require(_0x5283('0x2'));function Action(_0x3df00f,_0x3893b9,_0x294b40){this[_0x5283('0x3')]=_0x3df00f||undefined;this[_0x5283('0x4')]=util['format'](_0x5283('0x5'),_0x3893b9[_0x5283('0x6')],_0x3893b9[_0x5283('0x7')][_0x5283('0x8')],_0x294b40[_0x5283('0x9')]);this['localstationid']=_0x3893b9[_0x5283('0xa')];this[_0x5283('0xb')]=_0x3893b9[_0x5283('0xb')];this[_0x5283('0xc')]=_0x294b40['path'];this[_0x5283('0xd')]=_0x294b40['AttachmentId'];}module['exports']=Action;