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 _0x6691=['GetFaxAccount','name','description','ecm','headerinfo','localstationid','minrate','modem','gateway','faxdetect','t38timeout','key','callerid','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request'];(function(_0x4ae056,_0x1d730e){var _0x57b50a=function(_0x3090da){while(--_0x3090da){_0x4ae056['push'](_0x4ae056['shift']());}};_0x57b50a(++_0x1d730e);}(_0x6691,0x12d));var _0x1669=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x6691[_0x1facfa];return _0x9ec701;};'use strict';var client=require(_0x1669('0x0'));exports[_0x1669('0x1')]=function(){return function(){return client[_0x1669('0x2')](_0x1669('0x3'),{'options':{'raw':![],'attributes':['id',_0x1669('0x4'),_0x1669('0x5'),_0x1669('0x6'),_0x1669('0x7'),_0x1669('0x8'),_0x1669('0x9'),'maxrate',_0x1669('0xa'),_0x1669('0xb'),_0x1669('0xc'),_0x1669('0xd'),'tech','TrunkId','ListId',_0x1669('0xe')],'include':[{'model':'Trunk','as':'Trunk','attributes':['id','name',_0x1669('0xf'),'active']}]},'log':_0x1669('0x10')});};};exports[_0x1669('0x11')]=function(_0xdf793d,_0x14907e){return client[_0x1669('0x2')](_0x1669('0x12'),{'account':{'id':_0xdf793d},'body':_0x14907e,'log':_0x1669('0x12')});};