3973e9f4d71f0e77de7be13a57d0703e176e0f9a
[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 _0xf6c0=['moment','uniqueid','channel','format','%s/%s/%s','Trunk','fax','localstationid','headerinfo','path','AttachmentId','util','lodash'];(function(_0x146e1a,_0x59db92){var _0x1cda43=function(_0x33bd1f){while(--_0x33bd1f){_0x146e1a['push'](_0x146e1a['shift']());}};_0x1cda43(++_0x59db92);}(_0xf6c0,0xdb));var _0x0f6c=function(_0xa7242e,_0x22572b){_0xa7242e=_0xa7242e-0x0;var _0x55dbc4=_0xf6c0[_0xa7242e];return _0x55dbc4;};'use strict';var util=require(_0x0f6c('0x0'));var _=require(_0x0f6c('0x1'));var moment=require(_0x0f6c('0x2'));function Action(_0x2371f0,_0x354d0b,_0x5eab44){this[_0x0f6c('0x3')]=_0x2371f0||undefined;this[_0x0f6c('0x4')]=util[_0x0f6c('0x5')](_0x0f6c('0x6'),_0x354d0b['tech'],_0x354d0b[_0x0f6c('0x7')]['name'],_0x5eab44[_0x0f6c('0x8')]);this['localstationid']=_0x354d0b[_0x0f6c('0x9')];this[_0x0f6c('0xa')]=_0x354d0b[_0x0f6c('0xa')];this[_0x0f6c('0xb')]=_0x5eab44[_0x0f6c('0xb')];this[_0x0f6c('0xc')]=_0x5eab44[_0x0f6c('0xc')];}module['exports']=Action;