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 _0xee6e=['notify','NotifyFaxAccount','../client','Request','GetFaxAccount','name','description','headerinfo','localstationid','minrate','maxrate','modem','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','active','getFaxAccount'];(function(_0x38e823,_0x21d90e){var _0x225036=function(_0x4fbe29){while(--_0x4fbe29){_0x38e823['push'](_0x38e823['shift']());}};_0x225036(++_0x21d90e);}(_0xee6e,0x128));var _0xeee6=function(_0x210c7e,_0x296303){_0x210c7e=_0x210c7e-0x0;var _0xf730aa=_0xee6e[_0x210c7e];return _0xf730aa;};'use strict';var client=require(_0xeee6('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xeee6('0x1')](_0xeee6('0x2'),{'options':{'raw':![],'attributes':['id',_0xeee6('0x3'),_0xeee6('0x4'),'ecm',_0xeee6('0x5'),_0xeee6('0x6'),_0xeee6('0x7'),_0xeee6('0x8'),_0xeee6('0x9'),'gateway',_0xeee6('0xa'),_0xeee6('0xb'),_0xeee6('0xc'),_0xeee6('0xd'),_0xeee6('0xe'),_0xeee6('0xf')],'include':[{'model':'Trunk','as':_0xeee6('0x10'),'attributes':['id',_0xeee6('0x3'),'callerid',_0xeee6('0x11')]}]},'log':_0xeee6('0x12')});};};exports[_0xeee6('0x13')]=function(_0x62d53e,_0x284984){return client['Request']('NotifyFaxAccount',{'account':{'id':_0x62d53e},'body':_0x284984,'log':_0xeee6('0x14')});};