a4171dcdf8f59b486b6190814172c5c7888b18e3
[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 _0xf431=['ListId','key','exports','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk'];(function(_0x54151c,_0x3085de){var _0x5a9fe4=function(_0x4649ff){while(--_0x4649ff){_0x54151c['push'](_0x54151c['shift']());}};_0x5a9fe4(++_0x3085de);}(_0xf431,0x93));var _0x1f43=function(_0x368587,_0x1b6554){_0x368587=_0x368587-0x0;var _0x42d33c=_0xf431[_0x368587];return _0x42d33c;};'use strict';function FaxAccount(_0x36c8e1){this['id']=_0x36c8e1['id']||0x0;this[_0x1f43('0x0')]=_0x36c8e1[_0x1f43('0x0')]||'';this[_0x1f43('0x1')]=_0x36c8e1['description'];this[_0x1f43('0x2')]=_0x36c8e1[_0x1f43('0x2')];this['headerinfo']=_0x36c8e1[_0x1f43('0x3')];this[_0x1f43('0x4')]=_0x36c8e1[_0x1f43('0x4')];this[_0x1f43('0x5')]=_0x36c8e1[_0x1f43('0x5')]||0x960;this[_0x1f43('0x6')]=_0x36c8e1['maxrate']||0x3840;this['modem']=_0x36c8e1[_0x1f43('0x7')]||_0x1f43('0x8');this[_0x1f43('0x9')]=_0x36c8e1[_0x1f43('0x9')]||'no';this[_0x1f43('0xa')]=_0x36c8e1['faxdetect']||'no';this[_0x1f43('0xb')]=_0x36c8e1[_0x1f43('0xb')]||0x1388;this[_0x1f43('0xc')]=_0x36c8e1[_0x1f43('0xc')]||_0x1f43('0xd');this[_0x1f43('0xe')]=_0x36c8e1[_0x1f43('0xe')]?_0x36c8e1['Trunk']:undefined;this[_0x1f43('0xf')]=_0x36c8e1['ListId'];this['key']=_0x36c8e1[_0x1f43('0x10')];}module[_0x1f43('0x11')]=FaxAccount;