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 _0xd222=['util','moment','uniqueid','channel','format','%s/%s/%s','name','fax','localstationid','headerinfo','path','AttachmentId'];(function(_0x5a79e2,_0x319b1a){var _0x266c45=function(_0x172478){while(--_0x172478){_0x5a79e2['push'](_0x5a79e2['shift']());}};_0x266c45(++_0x319b1a);}(_0xd222,0xcc));var _0x2d22=function(_0x1030ce,_0xbe3f74){_0x1030ce=_0x1030ce-0x0;var _0x3367fd=_0xd222[_0x1030ce];return _0x3367fd;};'use strict';var util=require(_0x2d22('0x0'));var _=require('lodash');var moment=require(_0x2d22('0x1'));function Action(_0x28daae,_0x59cd6c,_0x2f2bd9){this[_0x2d22('0x2')]=_0x28daae||undefined;this[_0x2d22('0x3')]=util[_0x2d22('0x4')](_0x2d22('0x5'),_0x59cd6c['tech'],_0x59cd6c['Trunk'][_0x2d22('0x6')],_0x2f2bd9[_0x2d22('0x7')]);this[_0x2d22('0x8')]=_0x59cd6c['localstationid'];this[_0x2d22('0x9')]=_0x59cd6c[_0x2d22('0x9')];this['path']=_0x2f2bd9[_0x2d22('0xa')];this['AttachmentId']=_0x2f2bd9[_0x2d22('0xb')];}module['exports']=Action;