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 _0x6bbd=['gateway','faxdetect','t38timeout','tech','TrunkId','key','Trunk','name','callerid','active','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','description','ecm','localstationid','minrate','maxrate'];(function(_0x2f71f6,_0x3a1f4d){var _0x2b23ea=function(_0x285980){while(--_0x285980){_0x2f71f6['push'](_0x2f71f6['shift']());}};_0x2b23ea(++_0x3a1f4d);}(_0x6bbd,0x65));var _0xd6bb=function(_0x201b94,_0x5cada6){_0x201b94=_0x201b94-0x0;var _0x49da82=_0x6bbd[_0x201b94];return _0x49da82;};'use strict';var client=require(_0xd6bb('0x0'));exports[_0xd6bb('0x1')]=function(){return function(){return client[_0xd6bb('0x2')](_0xd6bb('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xd6bb('0x4'),_0xd6bb('0x5'),'headerinfo',_0xd6bb('0x6'),_0xd6bb('0x7'),_0xd6bb('0x8'),'modem',_0xd6bb('0x9'),_0xd6bb('0xa'),_0xd6bb('0xb'),_0xd6bb('0xc'),_0xd6bb('0xd'),'ListId',_0xd6bb('0xe')],'include':[{'model':'Trunk','as':_0xd6bb('0xf'),'attributes':['id',_0xd6bb('0x10'),_0xd6bb('0x11'),_0xd6bb('0x12')]}]},'log':_0xd6bb('0x13')});};};exports[_0xd6bb('0x14')]=function(_0x9e8721,_0x33613b){return client['Request'](_0xd6bb('0x15'),{'account':{'id':_0x9e8721},'body':_0x33613b,'log':_0xd6bb('0x15')});};