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 _0x4991=['headerinfo','localstationid','minrate','maxrate','modem','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','callerid','active','notify','NotifyFaxAccount','../client','Request','name','description','ecm'];(function(_0x26275f,_0x30f8cb){var _0x22cf2c=function(_0x424bc1){while(--_0x424bc1){_0x26275f['push'](_0x26275f['shift']());}};_0x22cf2c(++_0x30f8cb);}(_0x4991,0xf7));var _0x1499=function(_0x45a9f9,_0x48c69c){_0x45a9f9=_0x45a9f9-0x0;var _0x1eeb38=_0x4991[_0x45a9f9];return _0x1eeb38;};'use strict';var client=require(_0x1499('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0x1499('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x1499('0x2'),_0x1499('0x3'),_0x1499('0x4'),_0x1499('0x5'),_0x1499('0x6'),_0x1499('0x7'),_0x1499('0x8'),_0x1499('0x9'),'gateway',_0x1499('0xa'),_0x1499('0xb'),_0x1499('0xc'),_0x1499('0xd'),_0x1499('0xe'),_0x1499('0xf')],'include':[{'model':_0x1499('0x10'),'as':_0x1499('0x10'),'attributes':['id','name',_0x1499('0x11'),_0x1499('0x12')]}]},'log':'getFaxAccount'});};};exports[_0x1499('0x13')]=function(_0x352180,_0x4c2bd2){return client[_0x1499('0x1')](_0x1499('0x14'),{'account':{'id':_0x352180},'body':_0x4c2bd2,'log':'NotifyFaxAccount'});};