4b32880feef0456b48ed9f0c538ead0d07352cab
[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 _0xc23b=['tech','name','fax','localstationid','headerinfo','path','AttachmentId','exports','util','lodash','moment','uniqueid','channel','format','%s/%s/%s'];(function(_0x165a35,_0x5cb99a){var _0x4f3bed=function(_0x52d8cd){while(--_0x52d8cd){_0x165a35['push'](_0x165a35['shift']());}};_0x4f3bed(++_0x5cb99a);}(_0xc23b,0x71));var _0xbc23=function(_0x59d89e,_0x55edf5){_0x59d89e=_0x59d89e-0x0;var _0x554e93=_0xc23b[_0x59d89e];return _0x554e93;};'use strict';var util=require(_0xbc23('0x0'));var _=require(_0xbc23('0x1'));var moment=require(_0xbc23('0x2'));function Action(_0x2d875c,_0x752ced,_0x3cf62a){this[_0xbc23('0x3')]=_0x2d875c||undefined;this[_0xbc23('0x4')]=util[_0xbc23('0x5')](_0xbc23('0x6'),_0x752ced[_0xbc23('0x7')],_0x752ced['Trunk'][_0xbc23('0x8')],_0x3cf62a[_0xbc23('0x9')]);this[_0xbc23('0xa')]=_0x752ced[_0xbc23('0xa')];this[_0xbc23('0xb')]=_0x752ced[_0xbc23('0xb')];this['path']=_0x3cf62a[_0xbc23('0xc')];this[_0xbc23('0xd')]=_0x3cf62a['AttachmentId'];}module[_0xbc23('0xe')]=Action;