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 _0x419f=['name','description','headerinfo','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','Trunk','callerid','active','getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount'];(function(_0x48c615,_0x4cc757){var _0x3d9e22=function(_0x1ee9f2){while(--_0x1ee9f2){_0x48c615['push'](_0x48c615['shift']());}};_0x3d9e22(++_0x4cc757);}(_0x419f,0x176));var _0xf419=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x419f[_0x4b369d];return _0x571a98;};'use strict';var client=require(_0xf419('0x0'));exports[_0xf419('0x1')]=function(){return function(){return client[_0xf419('0x2')](_0xf419('0x3'),{'options':{'raw':![],'attributes':['id',_0xf419('0x4'),_0xf419('0x5'),'ecm',_0xf419('0x6'),'localstationid',_0xf419('0x7'),_0xf419('0x8'),_0xf419('0x9'),_0xf419('0xa'),_0xf419('0xb'),_0xf419('0xc'),_0xf419('0xd'),_0xf419('0xe'),_0xf419('0xf'),'key'],'include':[{'model':_0xf419('0x10'),'as':_0xf419('0x10'),'attributes':['id','name',_0xf419('0x11'),_0xf419('0x12')]}]},'log':_0xf419('0x13')});};};exports['notify']=function(_0xf8810d,_0xb17b5e){return client[_0xf419('0x2')](_0xf419('0x14'),{'account':{'id':_0xf8810d},'body':_0xb17b5e,'log':_0xf419('0x14')});};