Built motion from commit 26d08302.|2.6.31
[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 _0x3e90=['tech','Trunk','ListId','key','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x3e90,0x194));var _0x03e9=function(_0x3d5d16,_0x233860){_0x3d5d16=_0x3d5d16-0x0;var _0x253ddb=_0x3e90[_0x3d5d16];return _0x253ddb;};'use strict';function FaxAccount(_0x5a3232){this['id']=_0x5a3232['id']||0x0;this[_0x03e9('0x0')]=_0x5a3232[_0x03e9('0x0')]||'';this[_0x03e9('0x1')]=_0x5a3232[_0x03e9('0x1')];this[_0x03e9('0x2')]=_0x5a3232[_0x03e9('0x2')];this[_0x03e9('0x3')]=_0x5a3232[_0x03e9('0x3')];this[_0x03e9('0x4')]=_0x5a3232[_0x03e9('0x4')];this[_0x03e9('0x5')]=_0x5a3232[_0x03e9('0x5')]||0x960;this[_0x03e9('0x6')]=_0x5a3232[_0x03e9('0x6')]||0x3840;this['modem']=_0x5a3232[_0x03e9('0x7')]||_0x03e9('0x8');this['gateway']=_0x5a3232[_0x03e9('0x9')]||'no';this['faxdetect']=_0x5a3232[_0x03e9('0xa')]||'no';this[_0x03e9('0xb')]=_0x5a3232[_0x03e9('0xb')]||0x1388;this[_0x03e9('0xc')]=_0x5a3232['tech']||'SIP';this[_0x03e9('0xd')]=_0x5a3232[_0x03e9('0xd')]?_0x5a3232[_0x03e9('0xd')]:undefined;this[_0x03e9('0xe')]=_0x5a3232[_0x03e9('0xe')];this[_0x03e9('0xf')]=_0x5a3232[_0x03e9('0xf')];}module['exports']=FaxAccount;