Built motion from commit (unavailable).|2.5.26
[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 _0xf590=['localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo'];(function(_0x37affd,_0x53e54d){var _0x5c385a=function(_0x246e90){while(--_0x246e90){_0x37affd['push'](_0x37affd['shift']());}};_0x5c385a(++_0x53e54d);}(_0xf590,0x1e2));var _0x0f59=function(_0x1fa274,_0x27a51f){_0x1fa274=_0x1fa274-0x0;var _0x5601e0=_0xf590[_0x1fa274];return _0x5601e0;};'use strict';function FaxAccount(_0x1d2745){this['id']=_0x1d2745['id']||0x0;this['name']=_0x1d2745[_0x0f59('0x0')]||'';this['description']=_0x1d2745[_0x0f59('0x1')];this[_0x0f59('0x2')]=_0x1d2745[_0x0f59('0x2')];this[_0x0f59('0x3')]=_0x1d2745[_0x0f59('0x3')];this[_0x0f59('0x4')]=_0x1d2745[_0x0f59('0x4')];this[_0x0f59('0x5')]=_0x1d2745['minrate']||0x960;this[_0x0f59('0x6')]=_0x1d2745[_0x0f59('0x6')]||0x3840;this[_0x0f59('0x7')]=_0x1d2745['modem']||_0x0f59('0x8');this[_0x0f59('0x9')]=_0x1d2745['gateway']||'no';this[_0x0f59('0xa')]=_0x1d2745[_0x0f59('0xa')]||'no';this[_0x0f59('0xb')]=_0x1d2745[_0x0f59('0xb')]||0x1388;this['tech']=_0x1d2745[_0x0f59('0xc')]||_0x0f59('0xd');this[_0x0f59('0xe')]=_0x1d2745['Trunk']?_0x1d2745['Trunk']:undefined;this[_0x0f59('0xf')]=_0x1d2745[_0x0f59('0xf')];this[_0x0f59('0x10')]=_0x1d2745[_0x0f59('0x10')];}module[_0x0f59('0x11')]=FaxAccount;