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 _0xbbdd=['getFaxAccounts','GetFaxAccount','name','localstationid','modem','gateway','faxdetect','t38timeout','TrunkId','ListId','key','Trunk','callerid','active','getFaxAccount','notify','Request'];(function(_0x12be55,_0x24a80f){var _0x5bbc7d=function(_0x12a2d8){while(--_0x12a2d8){_0x12be55['push'](_0x12be55['shift']());}};_0x5bbc7d(++_0x24a80f);}(_0xbbdd,0x1ba));var _0xdbbd=function(_0x101e7b,_0x4ef05b){_0x101e7b=_0x101e7b-0x0;var _0x4995c0=_0xbbdd[_0x101e7b];return _0x4995c0;};'use strict';var client=require('../client');exports[_0xdbbd('0x0')]=function(){return function(){return client['Request'](_0xdbbd('0x1'),{'options':{'raw':![],'attributes':['id',_0xdbbd('0x2'),'description','ecm','headerinfo',_0xdbbd('0x3'),'minrate','maxrate',_0xdbbd('0x4'),_0xdbbd('0x5'),_0xdbbd('0x6'),_0xdbbd('0x7'),'tech',_0xdbbd('0x8'),_0xdbbd('0x9'),_0xdbbd('0xa')],'include':[{'model':_0xdbbd('0xb'),'as':_0xdbbd('0xb'),'attributes':['id',_0xdbbd('0x2'),_0xdbbd('0xc'),_0xdbbd('0xd')]}]},'log':_0xdbbd('0xe')});};};exports[_0xdbbd('0xf')]=function(_0x59c6af,_0x285fc2){return client[_0xdbbd('0x10')]('NotifyFaxAccount',{'account':{'id':_0x59c6af},'body':_0x285fc2,'log':'NotifyFaxAccount'});};