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 _0x13e9=['NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','name','description','localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','Trunk','callerid','active','getFaxAccount','notify'];(function(_0x22e374,_0x19bfdb){var _0x57e0cf=function(_0x3de37e){while(--_0x3de37e){_0x22e374['push'](_0x22e374['shift']());}};_0x57e0cf(++_0x19bfdb);}(_0x13e9,0xf3));var _0x913e=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x13e9[_0x167cc1];return _0x10bc4b;};'use strict';var client=require(_0x913e('0x0'));exports[_0x913e('0x1')]=function(){return function(){return client[_0x913e('0x2')](_0x913e('0x3'),{'options':{'raw':![],'attributes':['id',_0x913e('0x4'),_0x913e('0x5'),'ecm','headerinfo',_0x913e('0x6'),_0x913e('0x7'),_0x913e('0x8'),_0x913e('0x9'),_0x913e('0xa'),_0x913e('0xb'),_0x913e('0xc'),_0x913e('0xd'),_0x913e('0xe'),_0x913e('0xf'),'key'],'include':[{'model':_0x913e('0x10'),'as':_0x913e('0x10'),'attributes':['id',_0x913e('0x4'),_0x913e('0x11'),_0x913e('0x12')]}]},'log':_0x913e('0x13')});};};exports[_0x913e('0x14')]=function(_0x23de2b,_0x503435){return client[_0x913e('0x2')](_0x913e('0x15'),{'account':{'id':_0x23de2b},'body':_0x503435,'log':_0x913e('0x15')});};