d1b589b879f4dc0f7f4f48074e520458ca48b572
[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 _0xf9fd=['channel','format','%s/%s/%s','tech','name','fax','localstationid','headerinfo','path','AttachmentId','exports','util','lodash','moment','uniqueid'];(function(_0x3929f8,_0x16f421){var _0xe6a97f=function(_0x21c9a8){while(--_0x21c9a8){_0x3929f8['push'](_0x3929f8['shift']());}};_0xe6a97f(++_0x16f421);}(_0xf9fd,0xa1));var _0xdf9f=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xf9fd[_0x2dafbe];return _0x58a45a;};'use strict';var util=require(_0xdf9f('0x0'));var _=require(_0xdf9f('0x1'));var moment=require(_0xdf9f('0x2'));function Action(_0xc3ebc1,_0x1370be,_0x244129){this[_0xdf9f('0x3')]=_0xc3ebc1||undefined;this[_0xdf9f('0x4')]=util[_0xdf9f('0x5')](_0xdf9f('0x6'),_0x1370be[_0xdf9f('0x7')],_0x1370be['Trunk'][_0xdf9f('0x8')],_0x244129[_0xdf9f('0x9')]);this[_0xdf9f('0xa')]=_0x1370be[_0xdf9f('0xa')];this[_0xdf9f('0xb')]=_0x1370be['headerinfo'];this[_0xdf9f('0xc')]=_0x244129['path'];this[_0xdf9f('0xd')]=_0x244129['AttachmentId'];}module[_0xdf9f('0xe')]=Action;