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 _0xf18d=['Trunk','name','active','getFaxAccount','notify','NotifyFaxAccount','getFaxAccounts','Request','ecm','localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','key'];(function(_0x42f6ee,_0x30e4f5){var _0x1664f7=function(_0x881315){while(--_0x881315){_0x42f6ee['push'](_0x42f6ee['shift']());}};_0x1664f7(++_0x30e4f5);}(_0xf18d,0x1a4));var _0xdf18=function(_0x14752b,_0x47cd1c){_0x14752b=_0x14752b-0x0;var _0xbd2416=_0xf18d[_0x14752b];return _0xbd2416;};'use strict';var client=require('../client');exports[_0xdf18('0x0')]=function(){return function(){return client[_0xdf18('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id','name','description',_0xdf18('0x2'),'headerinfo',_0xdf18('0x3'),_0xdf18('0x4'),_0xdf18('0x5'),_0xdf18('0x6'),_0xdf18('0x7'),_0xdf18('0x8'),_0xdf18('0x9'),_0xdf18('0xa'),'TrunkId','ListId',_0xdf18('0xb')],'include':[{'model':_0xdf18('0xc'),'as':_0xdf18('0xc'),'attributes':['id',_0xdf18('0xd'),'callerid',_0xdf18('0xe')]}]},'log':_0xdf18('0xf')});};};exports[_0xdf18('0x10')]=function(_0x2742d2,_0x33f56d){return client[_0xdf18('0x1')](_0xdf18('0x11'),{'account':{'id':_0x2742d2},'body':_0x33f56d,'log':_0xdf18('0x11')});};