359f70846c4f3f8f98af61de16103713476fdae3
[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 _0x8b6b=['headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','tech','SIP','Trunk','ListId','key','exports','name','description','ecm'];(function(_0x101e7b,_0x4ef05b){var _0x4995c0=function(_0x1a6488){while(--_0x1a6488){_0x101e7b['push'](_0x101e7b['shift']());}};_0x4995c0(++_0x4ef05b);}(_0x8b6b,0xb8));var _0xb8b6=function(_0x1a9c7a,_0x3b96da){_0x1a9c7a=_0x1a9c7a-0x0;var _0x5ac305=_0x8b6b[_0x1a9c7a];return _0x5ac305;};'use strict';function FaxAccount(_0x558ab2){this['id']=_0x558ab2['id']||0x0;this[_0xb8b6('0x0')]=_0x558ab2['name']||'';this[_0xb8b6('0x1')]=_0x558ab2[_0xb8b6('0x1')];this[_0xb8b6('0x2')]=_0x558ab2[_0xb8b6('0x2')];this[_0xb8b6('0x3')]=_0x558ab2['headerinfo'];this[_0xb8b6('0x4')]=_0x558ab2['localstationid'];this['minrate']=_0x558ab2[_0xb8b6('0x5')]||0x960;this[_0xb8b6('0x6')]=_0x558ab2['maxrate']||0x3840;this['modem']=_0x558ab2[_0xb8b6('0x7')]||_0xb8b6('0x8');this[_0xb8b6('0x9')]=_0x558ab2['gateway']||'no';this[_0xb8b6('0xa')]=_0x558ab2[_0xb8b6('0xa')]||'no';this['t38timeout']=_0x558ab2['t38timeout']||0x1388;this[_0xb8b6('0xb')]=_0x558ab2[_0xb8b6('0xb')]||_0xb8b6('0xc');this[_0xb8b6('0xd')]=_0x558ab2[_0xb8b6('0xd')]?_0x558ab2['Trunk']:undefined;this[_0xb8b6('0xe')]=_0x558ab2['ListId'];this['key']=_0x558ab2[_0xb8b6('0xf')];}module[_0xb8b6('0x10')]=FaxAccount;