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 _0x2ffe=['Trunk','callerid','active','getFaxAccount','notify','NotifyFaxAccount','getFaxAccounts','Request','GetFaxAccount','name','description','headerinfo','localstationid','modem','gateway','faxdetect','tech','TrunkId','ListId','key'];(function(_0x344a3f,_0x579a22){var _0x264712=function(_0x34c9f0){while(--_0x34c9f0){_0x344a3f['push'](_0x344a3f['shift']());}};_0x264712(++_0x579a22);}(_0x2ffe,0x6a));var _0xe2ff=function(_0x24529d,_0xca4cdd){_0x24529d=_0x24529d-0x0;var _0x1d02fe=_0x2ffe[_0x24529d];return _0x1d02fe;};'use strict';var client=require('../client');exports[_0xe2ff('0x0')]=function(){return function(){return client[_0xe2ff('0x1')](_0xe2ff('0x2'),{'options':{'raw':![],'attributes':['id',_0xe2ff('0x3'),_0xe2ff('0x4'),'ecm',_0xe2ff('0x5'),_0xe2ff('0x6'),'minrate','maxrate',_0xe2ff('0x7'),_0xe2ff('0x8'),_0xe2ff('0x9'),'t38timeout',_0xe2ff('0xa'),_0xe2ff('0xb'),_0xe2ff('0xc'),_0xe2ff('0xd')],'include':[{'model':_0xe2ff('0xe'),'as':_0xe2ff('0xe'),'attributes':['id',_0xe2ff('0x3'),_0xe2ff('0xf'),_0xe2ff('0x10')]}]},'log':_0xe2ff('0x11')});};};exports[_0xe2ff('0x12')]=function(_0x2ac0fb,_0x242ed1){return client[_0xe2ff('0x1')](_0xe2ff('0x13'),{'account':{'id':_0x2ac0fb},'body':_0x242ed1,'log':_0xe2ff('0x13')});};