1e8f763bde61038d6d2c5c19adbb2319a5a2a2c1
[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 _0x4b4c=['lodash','moment','uniqueid','channel','%s/%s/%s','Trunk','name','fax','localstationid','headerinfo','path','AttachmentId','exports','util'];(function(_0x577935,_0x56535d){var _0x455214=function(_0x132468){while(--_0x132468){_0x577935['push'](_0x577935['shift']());}};_0x455214(++_0x56535d);}(_0x4b4c,0xed));var _0xc4b4=function(_0x46bcee,_0x4a33c5){_0x46bcee=_0x46bcee-0x0;var _0x56fe0f=_0x4b4c[_0x46bcee];return _0x56fe0f;};'use strict';var util=require(_0xc4b4('0x0'));var _=require(_0xc4b4('0x1'));var moment=require(_0xc4b4('0x2'));function Action(_0x4a035f,_0x31006d,_0x1e4eb1){this[_0xc4b4('0x3')]=_0x4a035f||undefined;this[_0xc4b4('0x4')]=util['format'](_0xc4b4('0x5'),_0x31006d['tech'],_0x31006d[_0xc4b4('0x6')][_0xc4b4('0x7')],_0x1e4eb1[_0xc4b4('0x8')]);this[_0xc4b4('0x9')]=_0x31006d[_0xc4b4('0x9')];this[_0xc4b4('0xa')]=_0x31006d['headerinfo'];this[_0xc4b4('0xb')]=_0x1e4eb1[_0xc4b4('0xb')];this['AttachmentId']=_0x1e4eb1[_0xc4b4('0xc')];}module[_0xc4b4('0xd')]=Action;