242edc82e729867232ba074cca395949f2a21356
[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 _0xc749=['localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports','name','description','ecm','headerinfo'];(function(_0x4e7413,_0x5dffb1){var _0x11b6de=function(_0xd6721b){while(--_0xd6721b){_0x4e7413['push'](_0x4e7413['shift']());}};_0x11b6de(++_0x5dffb1);}(_0xc749,0x188));var _0x9c74=function(_0x456aa3,_0x198c86){_0x456aa3=_0x456aa3-0x0;var _0x328027=_0xc749[_0x456aa3];return _0x328027;};'use strict';function FaxAccount(_0x592dcc){this['id']=_0x592dcc['id']||0x0;this[_0x9c74('0x0')]=_0x592dcc[_0x9c74('0x0')]||'';this[_0x9c74('0x1')]=_0x592dcc[_0x9c74('0x1')];this['ecm']=_0x592dcc[_0x9c74('0x2')];this[_0x9c74('0x3')]=_0x592dcc[_0x9c74('0x3')];this['localstationid']=_0x592dcc[_0x9c74('0x4')];this[_0x9c74('0x5')]=_0x592dcc[_0x9c74('0x5')]||0x960;this['maxrate']=_0x592dcc[_0x9c74('0x6')]||0x3840;this[_0x9c74('0x7')]=_0x592dcc[_0x9c74('0x7')]||_0x9c74('0x8');this[_0x9c74('0x9')]=_0x592dcc[_0x9c74('0x9')]||'no';this[_0x9c74('0xa')]=_0x592dcc[_0x9c74('0xa')]||'no';this[_0x9c74('0xb')]=_0x592dcc[_0x9c74('0xb')]||0x1388;this['tech']=_0x592dcc[_0x9c74('0xc')]||_0x9c74('0xd');this['Trunk']=_0x592dcc['Trunk']?_0x592dcc[_0x9c74('0xe')]:undefined;this[_0x9c74('0xf')]=_0x592dcc[_0x9c74('0xf')];this[_0x9c74('0x10')]=_0x592dcc['key'];}module[_0x9c74('0x11')]=FaxAccount;