Built motion from commit ddca4d0d.|2.5.47
[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 _0x9c84=['Trunk','key','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP'];(function(_0x1a0816,_0x211505){var _0x5f0cda=function(_0x39c965){while(--_0x39c965){_0x1a0816['push'](_0x1a0816['shift']());}};_0x5f0cda(++_0x211505);}(_0x9c84,0x192));var _0x49c8=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x9c84[_0x321bb2];return _0x9c12ed;};'use strict';function FaxAccount(_0x121bba){this['id']=_0x121bba['id']||0x0;this[_0x49c8('0x0')]=_0x121bba['name']||'';this[_0x49c8('0x1')]=_0x121bba[_0x49c8('0x1')];this[_0x49c8('0x2')]=_0x121bba[_0x49c8('0x2')];this[_0x49c8('0x3')]=_0x121bba[_0x49c8('0x3')];this[_0x49c8('0x4')]=_0x121bba[_0x49c8('0x4')];this[_0x49c8('0x5')]=_0x121bba['minrate']||0x960;this['maxrate']=_0x121bba[_0x49c8('0x6')]||0x3840;this[_0x49c8('0x7')]=_0x121bba[_0x49c8('0x7')]||_0x49c8('0x8');this['gateway']=_0x121bba[_0x49c8('0x9')]||'no';this[_0x49c8('0xa')]=_0x121bba[_0x49c8('0xa')]||'no';this[_0x49c8('0xb')]=_0x121bba['t38timeout']||0x1388;this['tech']=_0x121bba[_0x49c8('0xc')]||_0x49c8('0xd');this[_0x49c8('0xe')]=_0x121bba[_0x49c8('0xe')]?_0x121bba[_0x49c8('0xe')]:undefined;this['ListId']=_0x121bba['ListId'];this[_0x49c8('0xf')]=_0x121bba['key'];}module['exports']=FaxAccount;