7a6ad5eb2e62b78ab6d1842b8e7c389801ee5c45
[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 _0xf9ae=['headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','name','description','ecm'];(function(_0x34e276,_0x3d999d){var _0x3a4293=function(_0x4f312a){while(--_0x4f312a){_0x34e276['push'](_0x34e276['shift']());}};_0x3a4293(++_0x3d999d);}(_0xf9ae,0x85));var _0xef9a=function(_0x579e90,_0x440eb1){_0x579e90=_0x579e90-0x0;var _0x1e7820=_0xf9ae[_0x579e90];return _0x1e7820;};'use strict';function FaxAccount(_0x275d04){this['id']=_0x275d04['id']||0x0;this[_0xef9a('0x0')]=_0x275d04['name']||'';this[_0xef9a('0x1')]=_0x275d04[_0xef9a('0x1')];this[_0xef9a('0x2')]=_0x275d04[_0xef9a('0x2')];this['headerinfo']=_0x275d04[_0xef9a('0x3')];this[_0xef9a('0x4')]=_0x275d04['localstationid'];this[_0xef9a('0x5')]=_0x275d04[_0xef9a('0x5')]||0x960;this[_0xef9a('0x6')]=_0x275d04['maxrate']||0x3840;this[_0xef9a('0x7')]=_0x275d04[_0xef9a('0x7')]||_0xef9a('0x8');this['gateway']=_0x275d04[_0xef9a('0x9')]||'no';this[_0xef9a('0xa')]=_0x275d04['faxdetect']||'no';this[_0xef9a('0xb')]=_0x275d04[_0xef9a('0xb')]||0x1388;this[_0xef9a('0xc')]=_0x275d04['tech']||_0xef9a('0xd');this['Trunk']=_0x275d04[_0xef9a('0xe')]?_0x275d04[_0xef9a('0xe')]:undefined;this[_0xef9a('0xf')]=_0x275d04[_0xef9a('0xf')];this['key']=_0x275d04[_0xef9a('0x10')];}module['exports']=FaxAccount;