Built motion from commit 449495f6.|2.6.27
[motion2.git] / server / services / ami / model / faxAccount.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 _0x838d=['key','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId'];(function(_0xb3099,_0x5cb813){var _0x18481c=function(_0x109be7){while(--_0x109be7){_0xb3099['push'](_0xb3099['shift']());}};_0x18481c(++_0x5cb813);}(_0x838d,0xbc));var _0xd838=function(_0x1d9aa0,_0x272488){_0x1d9aa0=_0x1d9aa0-0x0;var _0x226868=_0x838d[_0x1d9aa0];return _0x226868;};'use strict';function FaxAccount(_0x2eff28){this['id']=_0x2eff28['id']||0x0;this[_0xd838('0x0')]=_0x2eff28[_0xd838('0x0')]||'';this['description']=_0x2eff28[_0xd838('0x1')];this[_0xd838('0x2')]=_0x2eff28[_0xd838('0x2')];this['headerinfo']=_0x2eff28[_0xd838('0x3')];this[_0xd838('0x4')]=_0x2eff28[_0xd838('0x4')];this[_0xd838('0x5')]=_0x2eff28[_0xd838('0x5')]||0x960;this[_0xd838('0x6')]=_0x2eff28['maxrate']||0x3840;this[_0xd838('0x7')]=_0x2eff28[_0xd838('0x7')]||_0xd838('0x8');this[_0xd838('0x9')]=_0x2eff28[_0xd838('0x9')]||'no';this['faxdetect']=_0x2eff28[_0xd838('0xa')]||'no';this['t38timeout']=_0x2eff28[_0xd838('0xb')]||0x1388;this[_0xd838('0xc')]=_0x2eff28[_0xd838('0xc')]||_0xd838('0xd');this[_0xd838('0xe')]=_0x2eff28[_0xd838('0xe')]?_0x2eff28[_0xd838('0xe')]:undefined;this['ListId']=_0x2eff28[_0xd838('0xf')];this[_0xd838('0x10')]=_0x2eff28['key'];}module['exports']=FaxAccount;