Built motion from commit (unavailable).|2.5.7
[motion2.git] / server / services / ami / fax / action.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 _0x5ca0=['util','lodash','uniqueid','format','%s/%s/%s','tech','Trunk','name','fax','localstationid','headerinfo','path','AttachmentId','exports'];(function(_0x2b43ff,_0x13c41b){var _0x1fd2f4=function(_0x53c11b){while(--_0x53c11b){_0x2b43ff['push'](_0x2b43ff['shift']());}};_0x1fd2f4(++_0x13c41b);}(_0x5ca0,0x17a));var _0x05ca=function(_0x3469e5,_0x3078e9){_0x3469e5=_0x3469e5-0x0;var _0x4e1fb6=_0x5ca0[_0x3469e5];return _0x4e1fb6;};'use strict';var util=require(_0x05ca('0x0'));var _=require(_0x05ca('0x1'));var moment=require('moment');function Action(_0x40e3ef,_0x42fa1c,_0x3d5948){this[_0x05ca('0x2')]=_0x40e3ef||undefined;this['channel']=util[_0x05ca('0x3')](_0x05ca('0x4'),_0x42fa1c[_0x05ca('0x5')],_0x42fa1c[_0x05ca('0x6')][_0x05ca('0x7')],_0x3d5948[_0x05ca('0x8')]);this[_0x05ca('0x9')]=_0x42fa1c[_0x05ca('0x9')];this[_0x05ca('0xa')]=_0x42fa1c[_0x05ca('0xa')];this[_0x05ca('0xb')]=_0x3d5948[_0x05ca('0xb')];this[_0x05ca('0xc')]=_0x3d5948[_0x05ca('0xc')];}module[_0x05ca('0xd')]=Action;