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 _0x9e8f=['getFaxAccount','notify','NotifyFaxAccount','getFaxAccounts','Request','GetFaxAccount','name','description','ecm','headerinfo','localstationid','minrate','maxrate','modem','gateway','tech','TrunkId','ListId','Trunk','active'];(function(_0xe1784f,_0x4a4d3e){var _0x25e8e2=function(_0x4d55ba){while(--_0x4d55ba){_0xe1784f['push'](_0xe1784f['shift']());}};_0x25e8e2(++_0x4a4d3e);}(_0x9e8f,0x193));var _0xf9e8=function(_0x41294b,_0x36afdc){_0x41294b=_0x41294b-0x0;var _0x572007=_0x9e8f[_0x41294b];return _0x572007;};'use strict';var client=require('../client');exports[_0xf9e8('0x0')]=function(){return function(){return client[_0xf9e8('0x1')](_0xf9e8('0x2'),{'options':{'raw':![],'attributes':['id',_0xf9e8('0x3'),_0xf9e8('0x4'),_0xf9e8('0x5'),_0xf9e8('0x6'),_0xf9e8('0x7'),_0xf9e8('0x8'),_0xf9e8('0x9'),_0xf9e8('0xa'),_0xf9e8('0xb'),'faxdetect','t38timeout',_0xf9e8('0xc'),_0xf9e8('0xd'),_0xf9e8('0xe'),'key'],'include':[{'model':'Trunk','as':_0xf9e8('0xf'),'attributes':['id',_0xf9e8('0x3'),'callerid',_0xf9e8('0x10')]}]},'log':_0xf9e8('0x11')});};};exports[_0xf9e8('0x12')]=function(_0x1c6a15,_0x1dbfc1){return client[_0xf9e8('0x1')](_0xf9e8('0x13'),{'account':{'id':_0x1c6a15},'body':_0x1dbfc1,'log':'NotifyFaxAccount'});};