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 _0xf2e3=['headerinfo','localstationid','minrate','maxrate','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','callerid','active','getFaxAccount','notify','NotifyFaxAccount','../client','Request','GetFaxAccount','name','description','ecm'];(function(_0x3ad1ab,_0x3c8799){var _0x26d4c9=function(_0x2b0adf){while(--_0x2b0adf){_0x3ad1ab['push'](_0x3ad1ab['shift']());}};_0x26d4c9(++_0x3c8799);}(_0xf2e3,0x9b));var _0x3f2e=function(_0x40a825,_0x3bac79){_0x40a825=_0x40a825-0x0;var _0x273a54=_0xf2e3[_0x40a825];return _0x273a54;};'use strict';var client=require(_0x3f2e('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0x3f2e('0x1')](_0x3f2e('0x2'),{'options':{'raw':![],'attributes':['id',_0x3f2e('0x3'),_0x3f2e('0x4'),_0x3f2e('0x5'),_0x3f2e('0x6'),_0x3f2e('0x7'),_0x3f2e('0x8'),_0x3f2e('0x9'),'modem',_0x3f2e('0xa'),_0x3f2e('0xb'),_0x3f2e('0xc'),_0x3f2e('0xd'),_0x3f2e('0xe'),_0x3f2e('0xf'),_0x3f2e('0x10')],'include':[{'model':_0x3f2e('0x11'),'as':_0x3f2e('0x11'),'attributes':['id',_0x3f2e('0x3'),_0x3f2e('0x12'),_0x3f2e('0x13')]}]},'log':_0x3f2e('0x14')});};};exports[_0x3f2e('0x15')]=function(_0x1bb1dd,_0x305861){return client[_0x3f2e('0x1')](_0x3f2e('0x16'),{'account':{'id':_0x1bb1dd},'body':_0x305861,'log':_0x3f2e('0x16')});};