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 _0x3d62=['name','description','ecm','headerinfo','maxrate','modem','gateway','faxdetect','tech','TrunkId','ListId','key','Trunk','callerid','active','notify','Request','../client','getFaxAccounts'];(function(_0x2c8bf6,_0x56eab8){var _0x11efa8=function(_0x3f43f0){while(--_0x3f43f0){_0x2c8bf6['push'](_0x2c8bf6['shift']());}};_0x11efa8(++_0x56eab8);}(_0x3d62,0x70));var _0x23d6=function(_0x429140,_0x2dc6b1){_0x429140=_0x429140-0x0;var _0x722817=_0x3d62[_0x429140];return _0x722817;};'use strict';var client=require(_0x23d6('0x0'));exports[_0x23d6('0x1')]=function(){return function(){return client['Request']('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x23d6('0x2'),_0x23d6('0x3'),_0x23d6('0x4'),_0x23d6('0x5'),'localstationid','minrate',_0x23d6('0x6'),_0x23d6('0x7'),_0x23d6('0x8'),_0x23d6('0x9'),'t38timeout',_0x23d6('0xa'),_0x23d6('0xb'),_0x23d6('0xc'),_0x23d6('0xd')],'include':[{'model':_0x23d6('0xe'),'as':_0x23d6('0xe'),'attributes':['id',_0x23d6('0x2'),_0x23d6('0xf'),_0x23d6('0x10')]}]},'log':'getFaxAccount'});};};exports[_0x23d6('0x11')]=function(_0x3fd4b2,_0x137b9b){return client[_0x23d6('0x12')]('NotifyFaxAccount',{'account':{'id':_0x3fd4b2},'body':_0x137b9b,'log':'NotifyFaxAccount'});};