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 _0x794b=['tech','TrunkId','key','Trunk','callerid','active','getFaxAccount','notify','Request','NotifyFaxAccount','../client','getFaxAccounts','GetFaxAccount','name','headerinfo','localstationid','modem','gateway','faxdetect','t38timeout'];(function(_0x27dba4,_0x419253){var _0x35ec9d=function(_0x2d13b2){while(--_0x2d13b2){_0x27dba4['push'](_0x27dba4['shift']());}};_0x35ec9d(++_0x419253);}(_0x794b,0x1c2));var _0xb794=function(_0x234f33,_0x3614c2){_0x234f33=_0x234f33-0x0;var _0x3920fe=_0x794b[_0x234f33];return _0x3920fe;};'use strict';var client=require(_0xb794('0x0'));exports[_0xb794('0x1')]=function(){return function(){return client['Request'](_0xb794('0x2'),{'options':{'raw':![],'attributes':['id',_0xb794('0x3'),'description','ecm',_0xb794('0x4'),_0xb794('0x5'),'minrate','maxrate',_0xb794('0x6'),_0xb794('0x7'),_0xb794('0x8'),_0xb794('0x9'),_0xb794('0xa'),_0xb794('0xb'),'ListId',_0xb794('0xc')],'include':[{'model':_0xb794('0xd'),'as':_0xb794('0xd'),'attributes':['id',_0xb794('0x3'),_0xb794('0xe'),_0xb794('0xf')]}]},'log':_0xb794('0x10')});};};exports[_0xb794('0x11')]=function(_0x19cfa0,_0x41eaaa){return client[_0xb794('0x12')](_0xb794('0x13'),{'account':{'id':_0x19cfa0},'body':_0x41eaaa,'log':_0xb794('0x13')});};