Built motion from commit 456a2f57.|2.6.10
[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 _0xd449=['key','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','v17,v27,v29','gateway','faxdetect','t38timeout','tech','SIP','Trunk','ListId'];(function(_0x48ff30,_0x2a14d1){var _0x4e2d8b=function(_0x484c53){while(--_0x484c53){_0x48ff30['push'](_0x48ff30['shift']());}};_0x4e2d8b(++_0x2a14d1);}(_0xd449,0x155));var _0x9d44=function(_0x4af01e,_0x543f5c){_0x4af01e=_0x4af01e-0x0;var _0x178c11=_0xd449[_0x4af01e];return _0x178c11;};'use strict';function FaxAccount(_0x3b6389){this['id']=_0x3b6389['id']||0x0;this['name']=_0x3b6389[_0x9d44('0x0')]||'';this[_0x9d44('0x1')]=_0x3b6389['description'];this[_0x9d44('0x2')]=_0x3b6389[_0x9d44('0x2')];this[_0x9d44('0x3')]=_0x3b6389[_0x9d44('0x3')];this[_0x9d44('0x4')]=_0x3b6389[_0x9d44('0x4')];this[_0x9d44('0x5')]=_0x3b6389[_0x9d44('0x5')]||0x960;this[_0x9d44('0x6')]=_0x3b6389['maxrate']||0x3840;this[_0x9d44('0x7')]=_0x3b6389['modem']||_0x9d44('0x8');this[_0x9d44('0x9')]=_0x3b6389[_0x9d44('0x9')]||'no';this[_0x9d44('0xa')]=_0x3b6389[_0x9d44('0xa')]||'no';this['t38timeout']=_0x3b6389[_0x9d44('0xb')]||0x1388;this['tech']=_0x3b6389[_0x9d44('0xc')]||_0x9d44('0xd');this[_0x9d44('0xe')]=_0x3b6389['Trunk']?_0x3b6389[_0x9d44('0xe')]:undefined;this[_0x9d44('0xf')]=_0x3b6389[_0x9d44('0xf')];this[_0x9d44('0x10')]=_0x3b6389[_0x9d44('0x10')];}module['exports']=FaxAccount;