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 _0x4f7a=['key','Trunk','callerid','active','getFaxAccount','notify','Request','GetFaxAccount','name','ecm','localstationid','minrate','maxrate','gateway','faxdetect','TrunkId','ListId'];(function(_0x1f36bb,_0x8af718){var _0xaf97fa=function(_0xeca489){while(--_0xeca489){_0x1f36bb['push'](_0x1f36bb['shift']());}};_0xaf97fa(++_0x8af718);}(_0x4f7a,0x105));var _0xa4f7=function(_0x2a7014,_0x3757d6){_0x2a7014=_0x2a7014-0x0;var _0x1bb50c=_0x4f7a[_0x2a7014];return _0x1bb50c;};'use strict';var client=require('../client');exports['getFaxAccounts']=function(){return function(){return client[_0xa4f7('0x0')](_0xa4f7('0x1'),{'options':{'raw':![],'attributes':['id',_0xa4f7('0x2'),'description',_0xa4f7('0x3'),'headerinfo',_0xa4f7('0x4'),_0xa4f7('0x5'),_0xa4f7('0x6'),'modem',_0xa4f7('0x7'),_0xa4f7('0x8'),'t38timeout','tech',_0xa4f7('0x9'),_0xa4f7('0xa'),_0xa4f7('0xb')],'include':[{'model':_0xa4f7('0xc'),'as':_0xa4f7('0xc'),'attributes':['id','name',_0xa4f7('0xd'),_0xa4f7('0xe')]}]},'log':_0xa4f7('0xf')});};};exports[_0xa4f7('0x10')]=function(_0x1f23b9,_0x43ff9e){return client[_0xa4f7('0x0')]('NotifyFaxAccount',{'account':{'id':_0x1f23b9},'body':_0x43ff9e,'log':'NotifyFaxAccount'});};