c10776cbbacd59ee0f6f6af4efc4eada5644915a
[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 _0x353c=['Trunk','ListId','key','name','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP'];(function(_0x24259d,_0x64a194){var _0x5a701=function(_0x204516){while(--_0x204516){_0x24259d['push'](_0x24259d['shift']());}};_0x5a701(++_0x64a194);}(_0x353c,0x153));var _0xc353=function(_0x35af23,_0x9190f6){_0x35af23=_0x35af23-0x0;var _0x340506=_0x353c[_0x35af23];return _0x340506;};'use strict';function FaxAccount(_0x549ef4){this['id']=_0x549ef4['id']||0x0;this['name']=_0x549ef4[_0xc353('0x0')]||'';this['description']=_0x549ef4['description'];this[_0xc353('0x1')]=_0x549ef4['ecm'];this[_0xc353('0x2')]=_0x549ef4[_0xc353('0x2')];this[_0xc353('0x3')]=_0x549ef4[_0xc353('0x3')];this[_0xc353('0x4')]=_0x549ef4['minrate']||0x960;this[_0xc353('0x5')]=_0x549ef4['maxrate']||0x3840;this['modem']=_0x549ef4[_0xc353('0x6')]||_0xc353('0x7');this[_0xc353('0x8')]=_0x549ef4[_0xc353('0x8')]||'no';this[_0xc353('0x9')]=_0x549ef4[_0xc353('0x9')]||'no';this['t38timeout']=_0x549ef4[_0xc353('0xa')]||0x1388;this[_0xc353('0xb')]=_0x549ef4['tech']||_0xc353('0xc');this['Trunk']=_0x549ef4[_0xc353('0xd')]?_0x549ef4[_0xc353('0xd')]:undefined;this['ListId']=_0x549ef4[_0xc353('0xe')];this[_0xc353('0xf')]=_0x549ef4[_0xc353('0xf')];}module['exports']=FaxAccount;