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 _0x8768=['headerinfo','localstationid','minrate','maxrate','modem','gateway','t38timeout','tech','TrunkId','ListId','key','callerid','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','name','description','ecm'];(function(_0x336c8f,_0x181804){var _0x5b3abd=function(_0xa24276){while(--_0xa24276){_0x336c8f['push'](_0x336c8f['shift']());}};_0x5b3abd(++_0x181804);}(_0x8768,0xa1));var _0x8876=function(_0x59a1ce,_0x24ff0d){_0x59a1ce=_0x59a1ce-0x0;var _0xdb29dd=_0x8768[_0x59a1ce];return _0xdb29dd;};'use strict';var client=require(_0x8876('0x0'));exports[_0x8876('0x1')]=function(){return function(){return client[_0x8876('0x2')](_0x8876('0x3'),{'options':{'raw':![],'attributes':['id',_0x8876('0x4'),_0x8876('0x5'),_0x8876('0x6'),_0x8876('0x7'),_0x8876('0x8'),_0x8876('0x9'),_0x8876('0xa'),_0x8876('0xb'),_0x8876('0xc'),'faxdetect',_0x8876('0xd'),_0x8876('0xe'),_0x8876('0xf'),_0x8876('0x10'),_0x8876('0x11')],'include':[{'model':'Trunk','as':'Trunk','attributes':['id',_0x8876('0x4'),_0x8876('0x12'),'active']}]},'log':'getFaxAccount'});};};exports[_0x8876('0x13')]=function(_0x20fe1e,_0x477cf9){return client[_0x8876('0x2')](_0x8876('0x14'),{'account':{'id':_0x20fe1e},'body':_0x477cf9,'log':_0x8876('0x14')});};