3a351d039b48e5bfc5e5dc2001e0a10d9cb8fe83
[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 _0x733b=['exports','moment','channel','format','%s/%s/%s','tech','fax','localstationid','headerinfo','path','AttachmentId'];(function(_0x3c22e0,_0x1dc6ea){var _0x215811=function(_0x1b453c){while(--_0x1b453c){_0x3c22e0['push'](_0x3c22e0['shift']());}};_0x215811(++_0x1dc6ea);}(_0x733b,0xa6));var _0xb733=function(_0x2b9bed,_0x18e9b1){_0x2b9bed=_0x2b9bed-0x0;var _0x3ffcc7=_0x733b[_0x2b9bed];return _0x3ffcc7;};'use strict';var util=require('util');var _=require('lodash');var moment=require(_0xb733('0x0'));function Action(_0x2a5dbe,_0x372a22,_0x15849b){this['uniqueid']=_0x2a5dbe||undefined;this[_0xb733('0x1')]=util[_0xb733('0x2')](_0xb733('0x3'),_0x372a22[_0xb733('0x4')],_0x372a22['Trunk']['name'],_0x15849b[_0xb733('0x5')]);this[_0xb733('0x6')]=_0x372a22['localstationid'];this[_0xb733('0x7')]=_0x372a22[_0xb733('0x7')];this[_0xb733('0x8')]=_0x15849b['path'];this[_0xb733('0x9')]=_0x15849b['AttachmentId'];}module[_0xb733('0xa')]=Action;