0792b86b5dae92ec823b9dd574affd6b0f9c7092
[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 _0x8671=['name','description','ecm','headerinfo','localstationid','minrate','maxrate','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId','key','exports'];(function(_0x5390a3,_0x4d60f7){var _0x45d220=function(_0x47904f){while(--_0x47904f){_0x5390a3['push'](_0x5390a3['shift']());}};_0x45d220(++_0x4d60f7);}(_0x8671,0x1ed));var _0x1867=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0x8671[_0xbca1b1];return _0x4e1686;};'use strict';function FaxAccount(_0x489d4c){this['id']=_0x489d4c['id']||0x0;this['name']=_0x489d4c[_0x1867('0x0')]||'';this[_0x1867('0x1')]=_0x489d4c[_0x1867('0x1')];this['ecm']=_0x489d4c[_0x1867('0x2')];this[_0x1867('0x3')]=_0x489d4c[_0x1867('0x3')];this[_0x1867('0x4')]=_0x489d4c['localstationid'];this[_0x1867('0x5')]=_0x489d4c['minrate']||0x960;this[_0x1867('0x6')]=_0x489d4c[_0x1867('0x6')]||0x3840;this['modem']=_0x489d4c['modem']||_0x1867('0x7');this[_0x1867('0x8')]=_0x489d4c[_0x1867('0x8')]||'no';this['faxdetect']=_0x489d4c[_0x1867('0x9')]||'no';this[_0x1867('0xa')]=_0x489d4c[_0x1867('0xa')]||0x1388;this[_0x1867('0xb')]=_0x489d4c['tech']||_0x1867('0xc');this[_0x1867('0xd')]=_0x489d4c[_0x1867('0xd')]?_0x489d4c[_0x1867('0xd')]:undefined;this['ListId']=_0x489d4c[_0x1867('0xe')];this[_0x1867('0xf')]=_0x489d4c[_0x1867('0xf')];}module[_0x1867('0x10')]=FaxAccount;