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 _0x6dfb=['tech','TrunkId','ListId','Trunk','callerid','active','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','name','ecm','headerinfo','localstationid','minrate','maxrate','gateway','faxdetect','t38timeout'];(function(_0x449c84,_0x3eb684){var _0x48c15c=function(_0x4ac320){while(--_0x4ac320){_0x449c84['push'](_0x449c84['shift']());}};_0x48c15c(++_0x3eb684);}(_0x6dfb,0x182));var _0xb6df=function(_0x50d08a,_0x2606a6){_0x50d08a=_0x50d08a-0x0;var _0x127ffa=_0x6dfb[_0x50d08a];return _0x127ffa;};'use strict';var client=require(_0xb6df('0x0'));exports[_0xb6df('0x1')]=function(){return function(){return client[_0xb6df('0x2')](_0xb6df('0x3'),{'options':{'raw':![],'attributes':['id',_0xb6df('0x4'),'description',_0xb6df('0x5'),_0xb6df('0x6'),_0xb6df('0x7'),_0xb6df('0x8'),_0xb6df('0x9'),'modem',_0xb6df('0xa'),_0xb6df('0xb'),_0xb6df('0xc'),_0xb6df('0xd'),_0xb6df('0xe'),_0xb6df('0xf'),'key'],'include':[{'model':_0xb6df('0x10'),'as':_0xb6df('0x10'),'attributes':['id','name',_0xb6df('0x11'),_0xb6df('0x12')]}]},'log':'getFaxAccount'});};};exports[_0xb6df('0x13')]=function(_0x5764be,_0x5c7332){return client[_0xb6df('0x2')](_0xb6df('0x14'),{'account':{'id':_0x5764be},'body':_0x5c7332,'log':'NotifyFaxAccount'});};