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 _0xe847=['ListId','key','Trunk','callerid','active','getFaxAccount','Request','NotifyFaxAccount','getFaxAccounts','GetFaxAccount','name','description','ecm','headerinfo','minrate','maxrate','modem','faxdetect','t38timeout','tech','TrunkId'];(function(_0x25db48,_0x26f3ff){var _0x47fa1a=function(_0x3b56c7){while(--_0x3b56c7){_0x25db48['push'](_0x25db48['shift']());}};_0x47fa1a(++_0x26f3ff);}(_0xe847,0x119));var _0x7e84=function(_0x4c1051,_0x5772a9){_0x4c1051=_0x4c1051-0x0;var _0x3548fc=_0xe847[_0x4c1051];return _0x3548fc;};'use strict';var client=require('../client');exports[_0x7e84('0x0')]=function(){return function(){return client['Request'](_0x7e84('0x1'),{'options':{'raw':![],'attributes':['id',_0x7e84('0x2'),_0x7e84('0x3'),_0x7e84('0x4'),_0x7e84('0x5'),'localstationid',_0x7e84('0x6'),_0x7e84('0x7'),_0x7e84('0x8'),'gateway',_0x7e84('0x9'),_0x7e84('0xa'),_0x7e84('0xb'),_0x7e84('0xc'),_0x7e84('0xd'),_0x7e84('0xe')],'include':[{'model':_0x7e84('0xf'),'as':_0x7e84('0xf'),'attributes':['id','name',_0x7e84('0x10'),_0x7e84('0x11')]}]},'log':_0x7e84('0x12')});};};exports['notify']=function(_0x5d5437,_0x1497b4){return client[_0x7e84('0x13')](_0x7e84('0x14'),{'account':{'id':_0x5d5437},'body':_0x1497b4,'log':_0x7e84('0x14')});};