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 _0x2884=['headerinfo','maxrate','modem','gateway','tech','ListId','key','Trunk','callerid','notify','NotifyFaxAccount','../client','Request','GetFaxAccount','name','ecm'];(function(_0x24b135,_0x2aa165){var _0x56aafd=function(_0xdd7542){while(--_0xdd7542){_0x24b135['push'](_0x24b135['shift']());}};_0x56aafd(++_0x2aa165);}(_0x2884,0x1eb));var _0x4288=function(_0x11fa4b,_0x2e0ec1){_0x11fa4b=_0x11fa4b-0x0;var _0x122a99=_0x2884[_0x11fa4b];return _0x122a99;};'use strict';var client=require(_0x4288('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0x4288('0x1')](_0x4288('0x2'),{'options':{'raw':![],'attributes':['id',_0x4288('0x3'),'description',_0x4288('0x4'),_0x4288('0x5'),'localstationid','minrate',_0x4288('0x6'),_0x4288('0x7'),_0x4288('0x8'),'faxdetect','t38timeout',_0x4288('0x9'),'TrunkId',_0x4288('0xa'),_0x4288('0xb')],'include':[{'model':'Trunk','as':_0x4288('0xc'),'attributes':['id',_0x4288('0x3'),_0x4288('0xd'),'active']}]},'log':'getFaxAccount'});};};exports[_0x4288('0xe')]=function(_0x42a234,_0x7095f1){return client[_0x4288('0x1')](_0x4288('0xf'),{'account':{'id':_0x42a234},'body':_0x7095f1,'log':_0x4288('0xf')});};