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 _0xc648=['TrunkId','ListId','key','Trunk','callerid','active','notify','NotifyFaxAccount','getFaxAccounts','Request','GetFaxAccount','name','description','ecm','headerinfo','modem','gateway','faxdetect','t38timeout'];(function(_0x53ccf2,_0x13cb67){var _0x5a2964=function(_0x3b0514){while(--_0x3b0514){_0x53ccf2['push'](_0x53ccf2['shift']());}};_0x5a2964(++_0x13cb67);}(_0xc648,0x171));var _0x8c64=function(_0x23b6de,_0xd3b83f){_0x23b6de=_0x23b6de-0x0;var _0x304d7f=_0xc648[_0x23b6de];return _0x304d7f;};'use strict';var client=require('../client');exports[_0x8c64('0x0')]=function(){return function(){return client[_0x8c64('0x1')](_0x8c64('0x2'),{'options':{'raw':![],'attributes':['id',_0x8c64('0x3'),_0x8c64('0x4'),_0x8c64('0x5'),_0x8c64('0x6'),'localstationid','minrate','maxrate',_0x8c64('0x7'),_0x8c64('0x8'),_0x8c64('0x9'),_0x8c64('0xa'),'tech',_0x8c64('0xb'),_0x8c64('0xc'),_0x8c64('0xd')],'include':[{'model':_0x8c64('0xe'),'as':_0x8c64('0xe'),'attributes':['id','name',_0x8c64('0xf'),_0x8c64('0x10')]}]},'log':'getFaxAccount'});};};exports[_0x8c64('0x11')]=function(_0x21905a,_0x1935d8){return client[_0x8c64('0x1')](_0x8c64('0x12'),{'account':{'id':_0x21905a},'body':_0x1935d8,'log':_0x8c64('0x12')});};