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 _0x7524=['notify','NotifyFaxAccount','getFaxAccounts','Request','name','description','localstationid','maxrate','modem','gateway','faxdetect','t38timeout','TrunkId','ListId','Trunk','callerid','active'];(function(_0x376393,_0x3dedf4){var _0x425113=function(_0x551741){while(--_0x551741){_0x376393['push'](_0x376393['shift']());}};_0x425113(++_0x3dedf4);}(_0x7524,0xce));var _0x4752=function(_0x47c9fe,_0x1b28be){_0x47c9fe=_0x47c9fe-0x0;var _0x2e8d68=_0x7524[_0x47c9fe];return _0x2e8d68;};'use strict';var client=require('../client');exports[_0x4752('0x0')]=function(){return function(){return client[_0x4752('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x4752('0x2'),_0x4752('0x3'),'ecm','headerinfo',_0x4752('0x4'),'minrate',_0x4752('0x5'),_0x4752('0x6'),_0x4752('0x7'),_0x4752('0x8'),_0x4752('0x9'),'tech',_0x4752('0xa'),_0x4752('0xb'),'key'],'include':[{'model':'Trunk','as':_0x4752('0xc'),'attributes':['id',_0x4752('0x2'),_0x4752('0xd'),_0x4752('0xe')]}]},'log':'getFaxAccount'});};};exports[_0x4752('0xf')]=function(_0x2a83fd,_0x8ab6b9){return client[_0x4752('0x1')](_0x4752('0x10'),{'account':{'id':_0x2a83fd},'body':_0x8ab6b9,'log':'NotifyFaxAccount'});};