Built motion from commit (unavailable).|2.5.11
[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 _0xeceb=['%s/%s/%s','name','fax','localstationid','path','AttachmentId','util','moment','uniqueid','channel','format'];(function(_0x577649,_0x212255){var _0xd465c0=function(_0x42a47f){while(--_0x42a47f){_0x577649['push'](_0x577649['shift']());}};_0xd465c0(++_0x212255);}(_0xeceb,0xa0));var _0xbece=function(_0x541985,_0x5daf2a){_0x541985=_0x541985-0x0;var _0xccd330=_0xeceb[_0x541985];return _0xccd330;};'use strict';var util=require(_0xbece('0x0'));var _=require('lodash');var moment=require(_0xbece('0x1'));function Action(_0x3f80cc,_0x1690c8,_0x124f68){this[_0xbece('0x2')]=_0x3f80cc||undefined;this[_0xbece('0x3')]=util[_0xbece('0x4')](_0xbece('0x5'),_0x1690c8['tech'],_0x1690c8['Trunk'][_0xbece('0x6')],_0x124f68[_0xbece('0x7')]);this['localstationid']=_0x1690c8[_0xbece('0x8')];this['headerinfo']=_0x1690c8['headerinfo'];this[_0xbece('0x9')]=_0x124f68[_0xbece('0x9')];this[_0xbece('0xa')]=_0x124f68[_0xbece('0xa')];}module['exports']=Action;