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 _0x4d01=['getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','name','description','minrate','maxrate','gateway','faxdetect','t38timeout','TrunkId','ListId','key','Trunk','callerid','active'];(function(_0x548e1d,_0x3534d3){var _0x398584=function(_0x388cdd){while(--_0x388cdd){_0x548e1d['push'](_0x548e1d['shift']());}};_0x398584(++_0x3534d3);}(_0x4d01,0x158));var _0x14d0=function(_0x33fcbb,_0x291d0f){_0x33fcbb=_0x33fcbb-0x0;var _0x2efe40=_0x4d01[_0x33fcbb];return _0x2efe40;};'use strict';var client=require(_0x14d0('0x0'));exports[_0x14d0('0x1')]=function(){return function(){return client[_0x14d0('0x2')](_0x14d0('0x3'),{'options':{'raw':![],'attributes':['id',_0x14d0('0x4'),_0x14d0('0x5'),'ecm','headerinfo','localstationid',_0x14d0('0x6'),_0x14d0('0x7'),'modem',_0x14d0('0x8'),_0x14d0('0x9'),_0x14d0('0xa'),'tech',_0x14d0('0xb'),_0x14d0('0xc'),_0x14d0('0xd')],'include':[{'model':_0x14d0('0xe'),'as':_0x14d0('0xe'),'attributes':['id',_0x14d0('0x4'),_0x14d0('0xf'),_0x14d0('0x10')]}]},'log':_0x14d0('0x11')});};};exports['notify']=function(_0x3f55dc,_0x30aabb){return client[_0x14d0('0x2')](_0x14d0('0x12'),{'account':{'id':_0x3f55dc},'body':_0x30aabb,'log':'NotifyFaxAccount'});};