9c9aad5b9bb8a7f28db813854903dccc15c1f437
[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 _0xdf49=['headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','Trunk','ListId','key','name','ecm'];(function(_0x4a220b,_0x509237){var _0x59c102=function(_0x30c569){while(--_0x30c569){_0x4a220b['push'](_0x4a220b['shift']());}};_0x59c102(++_0x509237);}(_0xdf49,0x157));var _0x9df4=function(_0x59b533,_0x59fdcc){_0x59b533=_0x59b533-0x0;var _0x2beced=_0xdf49[_0x59b533];return _0x2beced;};'use strict';function FaxAccount(_0x17f781){this['id']=_0x17f781['id']||0x0;this['name']=_0x17f781[_0x9df4('0x0')]||'';this['description']=_0x17f781['description'];this[_0x9df4('0x1')]=_0x17f781[_0x9df4('0x1')];this['headerinfo']=_0x17f781[_0x9df4('0x2')];this[_0x9df4('0x3')]=_0x17f781[_0x9df4('0x3')];this[_0x9df4('0x4')]=_0x17f781[_0x9df4('0x4')]||0x960;this[_0x9df4('0x5')]=_0x17f781[_0x9df4('0x5')]||0x3840;this[_0x9df4('0x6')]=_0x17f781['modem']||_0x9df4('0x7');this[_0x9df4('0x8')]=_0x17f781[_0x9df4('0x8')]||'no';this[_0x9df4('0x9')]=_0x17f781[_0x9df4('0x9')]||'no';this[_0x9df4('0xa')]=_0x17f781[_0x9df4('0xa')]||0x1388;this['tech']=_0x17f781[_0x9df4('0xb')]||'SIP';this['Trunk']=_0x17f781[_0x9df4('0xc')]?_0x17f781[_0x9df4('0xc')]:undefined;this[_0x9df4('0xd')]=_0x17f781[_0x9df4('0xd')];this[_0x9df4('0xe')]=_0x17f781[_0x9df4('0xe')];}module['exports']=FaxAccount;