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 _0x9755=['t38timeout','TrunkId','ListId','Trunk','active','NotifyFaxAccount','../client','Request','GetFaxAccount','name','localstationid','minrate','maxrate','modem','gateway','faxdetect'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0x9755,0x1c6));var _0x5975=function(_0x185334,_0x4630ac){_0x185334=_0x185334-0x0;var _0xf2e59a=_0x9755[_0x185334];return _0xf2e59a;};'use strict';var client=require(_0x5975('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0x5975('0x1')](_0x5975('0x2'),{'options':{'raw':![],'attributes':['id',_0x5975('0x3'),'description','ecm','headerinfo',_0x5975('0x4'),_0x5975('0x5'),_0x5975('0x6'),_0x5975('0x7'),_0x5975('0x8'),_0x5975('0x9'),_0x5975('0xa'),'tech',_0x5975('0xb'),_0x5975('0xc'),'key'],'include':[{'model':_0x5975('0xd'),'as':_0x5975('0xd'),'attributes':['id',_0x5975('0x3'),'callerid',_0x5975('0xe')]}]},'log':'getFaxAccount'});};};exports['notify']=function(_0xede3bb,_0x3c7d7b){return client[_0x5975('0x1')]('NotifyFaxAccount',{'account':{'id':_0xede3bb},'body':_0x3c7d7b,'log':_0x5975('0xf')});};