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 _0xc931=['minrate','maxrate','modem','faxdetect','t38timeout','tech','ListId','key','Trunk','callerid','getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','GetFaxAccount','name','description','ecm','headerinfo','localstationid'];(function(_0x5300db,_0x15b0f2){var _0x5aea69=function(_0xf6827e){while(--_0xf6827e){_0x5300db['push'](_0x5300db['shift']());}};_0x5aea69(++_0x15b0f2);}(_0xc931,0x19c));var _0x1c93=function(_0x54312e,_0x2f58b0){_0x54312e=_0x54312e-0x0;var _0x1e154f=_0xc931[_0x54312e];return _0x1e154f;};'use strict';var client=require(_0x1c93('0x0'));exports[_0x1c93('0x1')]=function(){return function(){return client['Request'](_0x1c93('0x2'),{'options':{'raw':![],'attributes':['id',_0x1c93('0x3'),_0x1c93('0x4'),_0x1c93('0x5'),_0x1c93('0x6'),_0x1c93('0x7'),_0x1c93('0x8'),_0x1c93('0x9'),_0x1c93('0xa'),'gateway',_0x1c93('0xb'),_0x1c93('0xc'),_0x1c93('0xd'),'TrunkId',_0x1c93('0xe'),_0x1c93('0xf')],'include':[{'model':_0x1c93('0x10'),'as':_0x1c93('0x10'),'attributes':['id',_0x1c93('0x3'),_0x1c93('0x11'),'active']}]},'log':_0x1c93('0x12')});};};exports['notify']=function(_0x551e59,_0x561277){return client['Request'](_0x1c93('0x13'),{'account':{'id':_0x551e59},'body':_0x561277,'log':_0x1c93('0x13')});};