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 _0x4b67=['notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','name','description','ecm','headerinfo','localstationid','minrate','modem','t38timeout','tech','TrunkId','ListId','Trunk','callerid','active','getFaxAccount'];(function(_0x12cbfe,_0x23b6b3){var _0x5f56a9=function(_0xde5303){while(--_0xde5303){_0x12cbfe['push'](_0x12cbfe['shift']());}};_0x5f56a9(++_0x23b6b3);}(_0x4b67,0xe9));var _0x74b6=function(_0x32288a,_0x54cd22){_0x32288a=_0x32288a-0x0;var _0x46469f=_0x4b67[_0x32288a];return _0x46469f;};'use strict';var client=require(_0x74b6('0x0'));exports[_0x74b6('0x1')]=function(){return function(){return client[_0x74b6('0x2')](_0x74b6('0x3'),{'options':{'raw':![],'attributes':['id',_0x74b6('0x4'),_0x74b6('0x5'),_0x74b6('0x6'),_0x74b6('0x7'),_0x74b6('0x8'),_0x74b6('0x9'),'maxrate',_0x74b6('0xa'),'gateway','faxdetect',_0x74b6('0xb'),_0x74b6('0xc'),_0x74b6('0xd'),_0x74b6('0xe'),'key'],'include':[{'model':_0x74b6('0xf'),'as':_0x74b6('0xf'),'attributes':['id','name',_0x74b6('0x10'),_0x74b6('0x11')]}]},'log':_0x74b6('0x12')});};};exports[_0x74b6('0x13')]=function(_0x21ea87,_0x1cd1e2){return client[_0x74b6('0x2')](_0x74b6('0x14'),{'account':{'id':_0x21ea87},'body':_0x1cd1e2,'log':_0x74b6('0x14')});};