Built motion from commit 25580385.|2.6.2
[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 _0x4d23=['key','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','Trunk','ListId'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x4d23,0x91));var _0x34d2=function(_0x3d03f8,_0x51134e){_0x3d03f8=_0x3d03f8-0x0;var _0x9c9a8c=_0x4d23[_0x3d03f8];return _0x9c9a8c;};'use strict';function FaxAccount(_0x4d8090){this['id']=_0x4d8090['id']||0x0;this[_0x34d2('0x0')]=_0x4d8090[_0x34d2('0x0')]||'';this[_0x34d2('0x1')]=_0x4d8090[_0x34d2('0x1')];this[_0x34d2('0x2')]=_0x4d8090[_0x34d2('0x2')];this[_0x34d2('0x3')]=_0x4d8090['headerinfo'];this[_0x34d2('0x4')]=_0x4d8090[_0x34d2('0x4')];this['minrate']=_0x4d8090[_0x34d2('0x5')]||0x960;this[_0x34d2('0x6')]=_0x4d8090[_0x34d2('0x6')]||0x3840;this['modem']=_0x4d8090[_0x34d2('0x7')]||_0x34d2('0x8');this[_0x34d2('0x9')]=_0x4d8090[_0x34d2('0x9')]||'no';this[_0x34d2('0xa')]=_0x4d8090[_0x34d2('0xa')]||'no';this[_0x34d2('0xb')]=_0x4d8090[_0x34d2('0xb')]||0x1388;this['tech']=_0x4d8090[_0x34d2('0xc')]||'SIP';this['Trunk']=_0x4d8090[_0x34d2('0xd')]?_0x4d8090[_0x34d2('0xd')]:undefined;this[_0x34d2('0xe')]=_0x4d8090['ListId'];this['key']=_0x4d8090[_0x34d2('0xf')];}module['exports']=FaxAccount;