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 _0x0c8d=['maxrate','modem','gateway','t38timeout','TrunkId','ListId','key','Trunk','callerid','active','getFaxAccount','notify','NotifyFaxAccount','getFaxAccounts','Request','GetFaxAccount','name','description'];(function(_0x46e363,_0x45d7e2){var _0x3fb059=function(_0x5e6274){while(--_0x5e6274){_0x46e363['push'](_0x46e363['shift']());}};_0x3fb059(++_0x45d7e2);}(_0x0c8d,0x79));var _0xd0c8=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0x0c8d[_0x36884e];return _0x1cc367;};'use strict';var client=require('../client');exports[_0xd0c8('0x0')]=function(){return function(){return client[_0xd0c8('0x1')](_0xd0c8('0x2'),{'options':{'raw':![],'attributes':['id',_0xd0c8('0x3'),_0xd0c8('0x4'),'ecm','headerinfo','localstationid','minrate',_0xd0c8('0x5'),_0xd0c8('0x6'),_0xd0c8('0x7'),'faxdetect',_0xd0c8('0x8'),'tech',_0xd0c8('0x9'),_0xd0c8('0xa'),_0xd0c8('0xb')],'include':[{'model':_0xd0c8('0xc'),'as':_0xd0c8('0xc'),'attributes':['id','name',_0xd0c8('0xd'),_0xd0c8('0xe')]}]},'log':_0xd0c8('0xf')});};};exports[_0xd0c8('0x10')]=function(_0x557607,_0x55674e){return client[_0xd0c8('0x1')](_0xd0c8('0x11'),{'account':{'id':_0x557607},'body':_0x55674e,'log':'NotifyFaxAccount'});};