1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x390a=['maxrate','modem','gateway','t38timeout','tech','key','Trunk','name','callerid','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','description','ecm','headerinfo','localstationid'];(function(_0x2cfe01,_0x7b24ea){var _0x1faa10=function(_0x2e30e0){while(--_0x2e30e0){_0x2cfe01['push'](_0x2cfe01['shift']());}};_0x1faa10(++_0x7b24ea);}(_0x390a,0xc9));var _0xa390=function(_0x3f86d2,_0x1e0055){_0x3f86d2=_0x3f86d2-0x0;var _0x3decdf=_0x390a[_0x3f86d2];return _0x3decdf;};'use strict';var client=require(_0xa390('0x0'));exports[_0xa390('0x1')]=function(){return function(){return client[_0xa390('0x2')](_0xa390('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xa390('0x4'),_0xa390('0x5'),_0xa390('0x6'),_0xa390('0x7'),'minrate',_0xa390('0x8'),_0xa390('0x9'),_0xa390('0xa'),'faxdetect',_0xa390('0xb'),_0xa390('0xc'),'TrunkId','ListId',_0xa390('0xd')],'include':[{'model':_0xa390('0xe'),'as':_0xa390('0xe'),'attributes':['id',_0xa390('0xf'),_0xa390('0x10'),'active']}]},'log':'getFaxAccount'});};};exports[_0xa390('0x11')]=function(_0x34f0fe,_0x1ecd8b){return client['Request'](_0xa390('0x12'),{'account':{'id':_0x34f0fe},'body':_0x1ecd8b,'log':_0xa390('0x12')});};