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 _0xce6e=['maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','getFaxAccount','NotifyFaxAccount','../client','Request','name','description','ecm','localstationid','minrate'];(function(_0x4cf128,_0x51ff1a){var _0x222fce=function(_0x1d57c2){while(--_0x1d57c2){_0x4cf128['push'](_0x4cf128['shift']());}};_0x222fce(++_0x51ff1a);}(_0xce6e,0x7e));var _0xece6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xce6e[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0xece6('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xece6('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0xece6('0x2'),_0xece6('0x3'),_0xece6('0x4'),'headerinfo',_0xece6('0x5'),_0xece6('0x6'),_0xece6('0x7'),_0xece6('0x8'),_0xece6('0x9'),_0xece6('0xa'),_0xece6('0xb'),_0xece6('0xc'),_0xece6('0xd'),_0xece6('0xe'),_0xece6('0xf')],'include':[{'model':'Trunk','as':_0xece6('0x10'),'attributes':['id',_0xece6('0x2'),'callerid','active']}]},'log':_0xece6('0x11')});};};exports['notify']=function(_0xffa2c1,_0x73192e){return client[_0xece6('0x1')](_0xece6('0x12'),{'account':{'id':_0xffa2c1},'body':_0x73192e,'log':_0xece6('0x12')});};