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 _0xc33f=['ecm','headerinfo','localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','ListId','Trunk','active','notify','NotifyFaxAccount','../client','Request','name'];(function(_0x15b92e,_0x5a241f){var _0x4ba250=function(_0xa352a6){while(--_0xa352a6){_0x15b92e['push'](_0x15b92e['shift']());}};_0x4ba250(++_0x5a241f);}(_0xc33f,0x10b));var _0xfc33=function(_0x5d3ad7,_0x150d60){_0x5d3ad7=_0x5d3ad7-0x0;var _0x1ed853=_0xc33f[_0x5d3ad7];return _0x1ed853;};'use strict';var client=require(_0xfc33('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xfc33('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0xfc33('0x2'),'description',_0xfc33('0x3'),_0xfc33('0x4'),_0xfc33('0x5'),_0xfc33('0x6'),_0xfc33('0x7'),_0xfc33('0x8'),_0xfc33('0x9'),_0xfc33('0xa'),_0xfc33('0xb'),_0xfc33('0xc'),'TrunkId',_0xfc33('0xd'),'key'],'include':[{'model':_0xfc33('0xe'),'as':'Trunk','attributes':['id',_0xfc33('0x2'),'callerid',_0xfc33('0xf')]}]},'log':'getFaxAccount'});};};exports[_0xfc33('0x10')]=function(_0x52fee0,_0x5725f8){return client[_0xfc33('0x1')]('NotifyFaxAccount',{'account':{'id':_0x52fee0},'body':_0x5725f8,'log':_0xfc33('0x11')});};